aboutsummaryrefslogtreecommitdiff
path: root/src/Platform/Vulkan/VulkanVertexArray.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Platform/Vulkan/VulkanVertexArray.cpp')
-rw-r--r--src/Platform/Vulkan/VulkanVertexArray.cpp36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/Platform/Vulkan/VulkanVertexArray.cpp b/src/Platform/Vulkan/VulkanVertexArray.cpp
new file mode 100644
index 0000000..9fda0a3
--- /dev/null
+++ b/src/Platform/Vulkan/VulkanVertexArray.cpp
@@ -0,0 +1,36 @@
+#include "VulkanVertexArray.h"
+
+namespace Donut
+{
+ VulkanVertexArray::VulkanVertexArray()
+ {
+ // TODO(Hachem): Implement Vulkan vertex array creation
+ }
+
+ VulkanVertexArray::~VulkanVertexArray()
+ {
+ // TODO(Hachem): Implement Vulkan vertex array cleanup
+ }
+
+ void VulkanVertexArray::Bind() const
+ {
+ // TODO(Hachem): Implement Vulkan vertex array binding
+ }
+
+ void VulkanVertexArray::Unbind() const
+ {
+ // TODO(Hachem): Implement Vulkan vertex array unbinding
+ }
+
+ void VulkanVertexArray::AddVertexBuffer(const std::shared_ptr<VertexBuffer>& vertexBuffer)
+ {
+ // TODO(Hachem): Implement Vulkan vertex buffer addition
+ m_VertexBuffers.push_back(vertexBuffer);
+ }
+
+ void VulkanVertexArray::SetIndexBuffer(const std::shared_ptr<IndexBuffer>& indexBuffer)
+ {
+ // TODO(Hachem): Implement Vulkan index buffer setting
+ m_IndexBuffer = indexBuffer;
+ }
+};