diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2021-12-25 07:42:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-25 07:42:52 +0100 |
commit | 40421159568518bb7573903d14a2c69c64dead95 (patch) | |
tree | 15c830dce151bf0b427123efd214173742887e8e /src/Rml.hpp | |
parent | Merge pull request #70 from LaG1924/ftr/build-3 (diff) | |
parent | Fixed missing APIENTRY linux build (diff) | |
download | AltCraft-40421159568518bb7573903d14a2c69c64dead95.tar AltCraft-40421159568518bb7573903d14a2c69c64dead95.tar.gz AltCraft-40421159568518bb7573903d14a2c69c64dead95.tar.bz2 AltCraft-40421159568518bb7573903d14a2c69c64dead95.tar.lz AltCraft-40421159568518bb7573903d14a2c69c64dead95.tar.xz AltCraft-40421159568518bb7573903d14a2c69c64dead95.tar.zst AltCraft-40421159568518bb7573903d14a2c69c64dead95.zip |
Diffstat (limited to 'src/Rml.hpp')
-rw-r--r-- | src/Rml.hpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/Rml.hpp b/src/Rml.hpp index edcdc8b..2e3a672 100644 --- a/src/Rml.hpp +++ b/src/Rml.hpp @@ -6,7 +6,7 @@ #include <RmlUi/Core/RenderInterface.h> #include <RmlUi/Core/FileInterface.h> -#include "Renderer.hpp" +#include "Gal.hpp" class AssetTreeNode; @@ -30,14 +30,15 @@ public: }; class RmlRenderInterface : public Rml::RenderInterface { - RenderState* State; - - GLuint Vao, Vbo, Ebo; + std::shared_ptr<Gal::Pipeline> pipeline, texPipeline; + std::shared_ptr<Gal::PipelineInstance> pipelineInstance, texPipelineInstance; + std::shared_ptr<Gal::Buffer> vertexBuffer, indexBuffer; + std::map<size_t, std::shared_ptr<Gal::Texture>> textures; unsigned int vpWidth, vpHeight; public: - RmlRenderInterface(RenderState &renderState); + RmlRenderInterface(); RmlRenderInterface(const RmlRenderInterface&) = delete; |