3#include "spark/render/Export.h"
4#include "spark/render/Buffer.h"
32 [[nodiscard]]
virtual IndexType
indexType() const noexcept = 0;
Describes the layout of a buffer.
Definition Buffer.h:166
Base interface for all buffers.
Definition Buffer.h:151
Describes the layout of an index buffer.
Definition IndexBuffer.h:24
virtual IndexType indexType() const noexcept=0
Gets the index type of the buffer.
Describes an index buffer.
Definition IndexBuffer.h:39
virtual const IIndexBufferLayout & layout() const noexcept=0
Gets the layout of the buffer.