summaryrefslogtreecommitdiffstats
path: root/src/Rml.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Rml.hpp')
-rw-r--r--src/Rml.hpp11
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;