aboutsummaryrefslogtreecommitdiff
path: root/src/Core/Application.h
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2025-08-12 18:12:37 +0200
committerhachem <im@hachem.wtf>2025-08-12 18:12:37 +0200
commita2ec7dabd48a70ea69623406ddd0f8f97af403c8 (patch)
tree52d71b51753b88473607f5e97f8bc15bdb5ad7d3 /src/Core/Application.h
parent16dff443789c7f1461b46ce52966972ae14c042b (diff)
[add]: Start of a basic rendering backend
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 fca4c42..b8c9d49 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_VertexArray;
+ std::shared_ptr<VertexBuffer> m_VertexBuffer;
+ std::shared_ptr<IndexBuffer> m_IndexBuffer;
+ std::shared_ptr<Shader> m_Shader;
+
static Application* s_Instance;
};
} \ No newline at end of file