aboutsummaryrefslogtreecommitdiff
path: root/src/Platform/Vulkan/VulkanIndexBuffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Platform/Vulkan/VulkanIndexBuffer.cpp')
-rw-r--r--src/Platform/Vulkan/VulkanIndexBuffer.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/Platform/Vulkan/VulkanIndexBuffer.cpp b/src/Platform/Vulkan/VulkanIndexBuffer.cpp
new file mode 100644
index 0000000..930401e
--- /dev/null
+++ b/src/Platform/Vulkan/VulkanIndexBuffer.cpp
@@ -0,0 +1,25 @@
+#include "VulkanIndexBuffer.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
+ }
+
+ void VulkanIndexBuffer::Bind() const
+ {
+ // TODO(Hachem): Implement Vulkan index buffer binding
+ }
+
+ void VulkanIndexBuffer::Unbind() const
+ {
+ // TODO(Hachem): Implement Vulkan index buffer unbinding
+ }
+};