SPARK  0.1.0
A general purpose game engine written in C++.
Loading...
Searching...
No Matches
spark::render::vk::IVulkanIndexBuffer Class Reference

Vulkan interface for an IIndexBuffer. More...

#include <VulkanIndexBuffer.h>

Inheritance diagram for spark::render::vk::IVulkanIndexBuffer:
spark::render::vk::IVulkanBuffer spark::render::IIndexBuffer spark::render::IBuffer spark::render::IResource< VkBuffer > spark::render::IBuffer spark::render::IDeviceMemory spark::render::IMappable spark::render::IStateResource spark::render::IDeviceMemory spark::render::IMappable spark::render::IStateResource spark::render::vk::VulkanIndexBuffer

Public Types

using index_buffer_layout_type = VulkanIndexBufferLayout
 
- Public Types inherited from spark::render::IResource< VkBuffer >
using handle_type
 

Additional Inherited Members

- Public Member Functions inherited from spark::render::IBuffer
virtual BufferType type () const =0
 Gets the type of the buffer.
 
- Public Member Functions inherited from spark::render::IDeviceMemory
virtual unsigned int elements () const noexcept=0
 Get the number of sub-resources in the memory chunk.
 
virtual std::size_t size () const noexcept=0
 Gets the size (in bytes) of the memory chunk.
 
virtual std::size_t elementSize () const noexcept=0
 Gets the size (in bytes) of one element in the memory chunk. If there is only one element, this equals the result of IDeviceMemory::size().
 
virtual std::size_t elementAlignment () const =0
 Gets the alignment of one element in the memory chunk.
 
virtual std::size_t alignedElementSize () const noexcept=0
 Gets the real size (in bytes) of the memory chunk.
 
virtual bool writable () const noexcept=0
 Checks if the resource can be bound to a read/write descriptor.
 
- Public Member Functions inherited from spark::render::IMappable
virtual void map (const void *data, std::size_t size, unsigned int element)=0
 Maps the memory at data into the internal memory of the object.
 
virtual void map (std::span< const void * > data, std::size_t element_size, unsigned int first_element)=0
 Maps the memory blocks within data into the internal memory of the object.
 
virtual void map (void *data, size_t size, unsigned int element=0, bool write=true)=0
 Maps the memory at data into the internal memory of the object.
 
virtual void map (std::span< void * > data, size_t element_size, unsigned int first_element=0, bool write=true)=0
 Maps the memory blocks within data into the internal memory of the object.
 
- Public Member Functions inherited from spark::render::IStateResource
virtual const std::string & name () const noexcept=0
 Gets the name of the state resource.
 
- Public Member Functions inherited from spark::render::IResource< VkBuffer >
virtual const VkBuffer & handle () const=0
 Gets the managed resource handle.
 
- Public Member Functions inherited from spark::render::IIndexBuffer
virtual const IIndexBufferLayoutlayout () const noexcept=0
 Gets the layout of the buffer.
 
- Protected Member Functions inherited from spark::render::IResource< VkBuffer >
virtual VkBuffer & handle ()=0
 Gets the managed resource handle.
 

Detailed Description

Vulkan interface for an IIndexBuffer.