aboutsummaryrefslogtreecommitdiff
path: root/src/platform/vulkan/vulkan_index_buffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform/vulkan/vulkan_index_buffer.cpp')
-rw-r--r--src/platform/vulkan/vulkan_index_buffer.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/platform/vulkan/vulkan_index_buffer.cpp b/src/platform/vulkan/vulkan_index_buffer.cpp
new file mode 100644
index 0000000..a6e5912
--- /dev/null
+++ b/src/platform/vulkan/vulkan_index_buffer.cpp
@@ -0,0 +1,25 @@
+#include "vulkan_index_buffer.h"
+
+namespace Donut
+{
+ VulkanIndexBuffer::VulkanIndexBuffer(uint32_t* indices, uint32_t count)
+ : m_count(count)
+ {
+ // TODO(Hachem): Implement Vulkan index buffer creation
+ }
+
+ VulkanIndexBuffer::~VulkanIndexBuffer()
+ {
+ // TODO(Hachem): Implement Vulkan index buffer cleanup
+ }
+
+ auto VulkanIndexBuffer::bind() const -> void
+ {
+ // TODO(Hachem): Implement Vulkan index buffer binding
+ }
+
+ auto VulkanIndexBuffer::unbind() const -> void
+ {
+ // TODO(Hachem): Implement Vulkan index buffer unbinding
+ }
+};