summaryrefslogtreecommitdiffstats
path: root/src/Rml.hpp
diff options
context:
space:
mode:
authorLaG1924 <lag1924@gmail.com>2021-11-14 03:27:39 +0100
committerLaG1924 <lag1924@gmail.com>2021-11-14 05:55:48 +0100
commitce116b8ba834363921cc31ce2ef0781d6f6b2627 (patch)
tree578b128b8dd77bc5b44b180b7c9391066823a132 /src/Rml.hpp
parentMerge pull request #70 from LaG1924/ftr/build-3 (diff)
downloadAltCraft-ce116b8ba834363921cc31ce2ef0781d6f6b2627.tar
AltCraft-ce116b8ba834363921cc31ce2ef0781d6f6b2627.tar.gz
AltCraft-ce116b8ba834363921cc31ce2ef0781d6f6b2627.tar.bz2
AltCraft-ce116b8ba834363921cc31ce2ef0781d6f6b2627.tar.lz
AltCraft-ce116b8ba834363921cc31ce2ef0781d6f6b2627.tar.xz
AltCraft-ce116b8ba834363921cc31ce2ef0781d6f6b2627.tar.zst
AltCraft-ce116b8ba834363921cc31ce2ef0781d6f6b2627.zip
Diffstat (limited to 'src/Rml.hpp')
-rw-r--r--src/Rml.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Rml.hpp b/src/Rml.hpp
index edcdc8b..42203d4 100644
--- a/src/Rml.hpp
+++ b/src/Rml.hpp
@@ -7,6 +7,7 @@
#include <RmlUi/Core/FileInterface.h>
#include "Renderer.hpp"
+#include "Gal.hpp"
class AssetTreeNode;
@@ -32,7 +33,9 @@ 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;
unsigned int vpWidth, vpHeight;
public: