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

Describes the layout of an index buffer. More...

#include <IndexBuffer.h>

Inheritance diagram for spark::render::IIndexBufferLayout:
spark::render::IBufferLayout spark::render::vk::VulkanIndexBufferLayout

Public Member Functions

virtual IndexType indexType () const noexcept=0
 Gets the index type of the buffer.
 
- Public Member Functions inherited from spark::render::IBufferLayout
virtual std::size_t elementSize () const noexcept=0
 Gets the size of a single element in the buffer.
 
virtual unsigned int binding () const noexcept=0
 Gets the binding point the buffer will be bound to.
 
virtual BufferType type () const noexcept=0
 Gets the type of the buffer.
 

Detailed Description

Describes the layout of an index buffer.

Member Function Documentation

◆ indexType()

virtual IndexType spark::render::IIndexBufferLayout::indexType ( ) const
nodiscardpure virtualnoexcept

Gets the index type of the buffer.

Returns
The type of the indices in the buffer.

Implemented in spark::render::vk::VulkanIndexBufferLayout.