diff options
| author | hachem <im@hachem.wtf> | 2026-08-23 16:19:19 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-08-23 16:19:19 +0200 |
| commit | 0ee2712029f53175552d459f908b163ad61de197 (patch) | |
| tree | a58bc213d91acb8b42aec0b19cd678e63bb3ecd4 /src/rendering/index_buffer.h | |
| parent | 380b4d5d5a3e66d89ca7b3b1601bb23e5a01bf7b (diff) | |
feat: RHI interface with shared scene and black hole renderers
Diffstat (limited to 'src/rendering/index_buffer.h')
| -rw-r--r-- | src/rendering/index_buffer.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/rendering/index_buffer.h b/src/rendering/index_buffer.h deleted file mode 100644 index 0b1b2b6..0000000 --- a/src/rendering/index_buffer.h +++ /dev/null @@ -1,23 +0,0 @@ -#pragma once - -#include <cstdint> - -namespace Donut -{ - class IndexBuffer - { - public: - IndexBuffer(const uint32_t* indices, uint32_t count); - ~IndexBuffer(); - - auto bind() const -> void; - auto unbind() const -> void; - auto get_count() const -> uint32_t { return m_count; } - - static auto create(const uint32_t* indices, uint32_t count) -> IndexBuffer*; - - private: - uint32_t m_renderer_id = 0; - uint32_t m_count = 0; - }; -}; |
