3#include "../Interface/GeometryBinding.hpp"
5#include <vulkan/vulkan.h>
A buffer containing GPU accessible data.
Definition: Buffer.hpp:8
Binds together a vertex description with buffers.
Definition: GeometryBinding.hpp:8
IndexType
The type of values in the index buffer.
Definition: GeometryBinding.hpp:11
Vulkan implementation of Buffer.
Definition: VulkanBuffer.hpp:13
Vulkan implementation of GeometryBinding.
Definition: VulkanGeometryBinding.hpp:13
VulkanBuffer * GetVertexBuffer()
Get the vertex buffer.
Definition: VulkanGeometryBinding.cpp:26
VulkanGeometryBinding(Buffer *vertexBuffer, IndexType indexType=IndexType::NONE, const Buffer *indexBuffer=nullptr)
Create new Vulkan geometry binding.
Definition: VulkanGeometryBinding.cpp:9
~VulkanGeometryBinding() final
Destructor.
Definition: VulkanGeometryBinding.cpp:22
IndexType GetIndexType() const
Get the type of values in the index buffer.
Definition: VulkanGeometryBinding.cpp:30
const VulkanBuffer * GetIndexBuffer() const
Get the index buffer.
Definition: VulkanGeometryBinding.cpp:34
Definition: Editor.hpp:18