diff options
| author | hachem <im@hachem.wtf> | 2025-08-12 18:12:37 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2025-08-12 18:12:37 +0200 |
| commit | 50cdd344a3ed87c75a67739e2ffd34762e9b0895 (patch) | |
| tree | 2a4a107e92687236c6676296281b89e14f8eac01 /src/core/application.h | |
| parent | dbe642e5e26cf2bd99218f727157b58c7fed286e (diff) | |
feat: start of a basic rendering backend
Diffstat (limited to 'src/core/application.h')
| -rw-r--r-- | src/core/application.h | 13 |
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; }; } |
