Karma Engine
Loading...
Searching...
No Matches
Karma::VulkanIndexBuffer Class Reference
Inheritance diagram for Karma::VulkanIndexBuffer:
Collaboration diagram for Karma::VulkanIndexBuffer:

Public Member Functions

 VulkanIndexBuffer (uint32_t *indices, uint32_t count)
 
virtual void Bind () const override
 
virtual void UnBind () const override
 
void CreateBuffer (VkDeviceSize size, VkBufferUsageFlags usage, VkMemoryPropertyFlags properties, VkBuffer &buffer, VkDeviceMemory &bufferMemory)
 
void CopyBuffer (VkBuffer srcBuffer, VkBuffer dstBuffer, VkDeviceSize size)
 
uint32_t FindMemoryType (uint32_t typeFilter, VkMemoryPropertyFlags properties)
 
virtual uint32_t GetCount () const override
 
VkBuffer GetIndexBuffer () const
 
VkDeviceMemory GetIndexBufferMemory () const
 
size_t GetBufferSize ()
 
- Public Member Functions inherited from Karma::IndexBuffer

Additional Inherited Members

- Static Public Member Functions inherited from Karma::IndexBuffer
static IndexBufferCreate (uint32_t *vertices, uint32_t size)
 

Member Function Documentation

◆ Bind()

void Karma::VulkanIndexBuffer::Bind ( ) const
overridevirtual

Implements Karma::IndexBuffer.

◆ GetCount()

virtual uint32_t Karma::VulkanIndexBuffer::GetCount ( ) const
inlineoverridevirtual

Implements Karma::IndexBuffer.

◆ UnBind()

void Karma::VulkanIndexBuffer::UnBind ( ) const
overridevirtual

Implements Karma::IndexBuffer.


The documentation for this class was generated from the following files: