FastEngine 0.9.4
A multiplayer oriented 2D engine made with Vulkan.
Loading...
Searching...
No Matches
fge::vulkan::IndexBuffer Class Reference
Inheritance diagram for fge::vulkan::IndexBuffer:
fge::vulkan::ContextAware

Public Member Functions

 IndexBuffer (Context const &context)
 IndexBuffer (IndexBuffer const &r)
 IndexBuffer (IndexBuffer &&r) noexcept
IndexBufferoperator= (IndexBuffer const &r)
IndexBufferoperator= (IndexBuffer &&r) noexcept
void create (std::size_t indexSize, BufferTypes type=BufferTypes::DEFAULT)
void clear ()
void resize (std::size_t indexSize)
void append (uint16_t index=std::numeric_limits< uint16_t >::max())
void destroy () final
void bind (CommandBuffer &commandBuffer) const
std::size_t getCount () const
uint16_t * getIndices ()
uint16_t const * getIndices () const
uint16_t & operator[] (std::size_t index)
uint16_t const & operator[] (std::size_t index) const
VkBuffer getIndicesBuffer () const
VmaAllocation getIndicesBufferAllocation () const
BufferTypes getType () const
constexpr Context const & getContext () const
void swapContext (Context const &context)

Protected Member Functions

void verifyContext (ContextAware const &r) const

Member Function Documentation

◆ destroy()

void fge::vulkan::IndexBuffer::destroy ( )
finalvirtual

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