From 13f2e940700b4451f6bff52eb1666475fd2de72c Mon Sep 17 00:00:00 2001 From: hachem Date: Thu, 14 Aug 2025 00:13:38 +0200 Subject: [setup]: Prepare for Vulkan --- src/Platform/Vulkan/VulkanIndexBuffer.cpp | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/Platform/Vulkan/VulkanIndexBuffer.cpp (limited to 'src/Platform/Vulkan/VulkanIndexBuffer.cpp') 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 + } +}; -- cgit v1.3