From ce116b8ba834363921cc31ce2ef0781d6f6b2627 Mon Sep 17 00:00:00 2001 From: LaG1924 Date: Sun, 14 Nov 2021 07:27:39 +0500 Subject: Added basic Graphics Abstraction Layer --- src/Rml.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/Rml.hpp') 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 #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 pipeline, texPipeline; + std::shared_ptr pipelineInstance, texPipelineInstance; + std::shared_ptr vertexBuffer, indexBuffer; unsigned int vpWidth, vpHeight; public: -- cgit v1.2.3