3#include "spark/render/IndexBuffer.h"
4#include "spark/render/vk/Export.h"
5#include "spark/render/vk/VulkanBuffer.h"
6#include "spark/render/vk/VulkanIndexBufferLayout.h"
8namespace spark::render::vk
20 SPARK_DISABLE_MSVC_WARNING(4250)
40 const VmaAllocator& allocator,
41 const VmaAllocation& allocation,
42 const std::string& name =
"");
62 const VmaAllocator& allocator,
63 const VkBufferCreateInfo& create_info,
64 const VmaAllocationCreateInfo& allocation_info,
65 VmaAllocationInfo* allocation_result =
nullptr);
78 static std::unique_ptr<IVulkanIndexBuffer> Allocate(
const std::string& name,
81 const VmaAllocator& allocator,
82 const VkBufferCreateInfo& create_info,
83 const VmaAllocationCreateInfo& allocation_info,
84 VmaAllocationInfo* allocation_result =
nullptr);
91 std::unique_ptr<Impl> m_impl;
Describes an index buffer.
Definition IndexBuffer.h:39
Vulkan interface for a IBuffer.
Definition VulkanBuffer.h:22
Vulkan interface for an IIndexBuffer.
Definition VulkanIndexBuffer.h:14
Vulkan implementation of IBuffer.
Definition VulkanBuffer.h:31
Implements IIndexBufferLayout for Vulkan.
Definition VulkanIndexBufferLayout.h:12
Vulkan implementation of an IIndexBuffer.
Definition VulkanIndexBuffer.h:26
Definition VulkanIndexBuffer.cpp:11