hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/platform/vulkan/vulkan_index_buffer.cpp
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2025-08-14 00:13:38 +0200
committerhachem <im@hachem.wtf>2025-08-14 00:13:38 +0200
commit0262eeea8762cdeb14c98d22473ebf0fd6b37bf9 (patch)
treed8675a753433a5a0fce16e7380fac3dc3bd2ee35 /src/platform/vulkan/vulkan_index_buffer.cpp
parent1b251bd174527951eec220ecbcb7eca89328e5b8 (diff)
chore: prepare for Vulkan
Diffstat (limited to 'src/platform/vulkan/vulkan_index_buffer.cpp')
-rw-r--r--src/platform/vulkan/vulkan_index_buffer.cpp21
1 files changed, 21 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..2757668
--- /dev/null
+++ b/src/platform/vulkan/vulkan_index_buffer.cpp
@@ -0,0 +1,21 @@
+#include "vulkan_index_buffer.h"
+
+namespace Donut
+{
+ VulkanIndexBuffer::VulkanIndexBuffer(uint32_t* indices, uint32_t count)
+ : m_count(count)
+ {
+ }
+
+ VulkanIndexBuffer::~VulkanIndexBuffer()
+ {
+ }
+
+ void VulkanIndexBuffer::bind() const
+ {
+ }
+
+ void VulkanIndexBuffer::unbind() const
+ {
+ }
+};