From 50cdd344a3ed87c75a67739e2ffd34762e9b0895 Mon Sep 17 00:00:00 2001 From: hachem Date: Tue, 12 Aug 2025 18:12:37 +0200 Subject: feat: start of a basic rendering backend --- src/core/application.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/core/application.h') 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 @@ -5,6 +5,14 @@ #include #include +namespace Donut +{ + class VertexArray; + class VertexBuffer; + class IndexBuffer; + class Shader; +}; + namespace Donut { class Application @@ -30,6 +38,11 @@ namespace Donut bool m_running; bool m_minimized; + std::shared_ptr m_vertex_array; + std::shared_ptr m_vertex_buffer; + std::shared_ptr m_index_buffer; + std::shared_ptr m_shader; + static Application* s_instance; }; } -- cgit v1.3