hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/core/application.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/application.h')
-rw-r--r--src/core/application.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/core/application.h b/src/core/application.h
index d88eab2..a860e1c 100644
--- a/src/core/application.h
+++ b/src/core/application.h
@@ -7,6 +7,14 @@
namespace Donut
{
+ class VertexArray;
+ class VertexBuffer;
+ class IndexBuffer;
+ class Shader;
+};
+
+namespace Donut
+{
class Application
{
public:
@@ -30,6 +38,11 @@ namespace Donut
bool m_running;
bool m_minimized;
+ std::shared_ptr<VertexArray> m_vertex_array;
+ std::shared_ptr<VertexBuffer> m_vertex_buffer;
+ std::shared_ptr<IndexBuffer> m_index_buffer;
+ std::shared_ptr<Shader> m_shader;
+
static Application* s_instance;
};
}