![]() |
Raven Engine v0.1
|
Interface representing an index buffer resource. More...
#include <IndexBuffer.h>
Public Member Functions | |
| virtual | ~IndexBuffer ()=default |
| virtual u32 | GetCount () const =0 |
| Returns the number of indices stored in the buffer. | |
| virtual u32 | GetSize () const =0 |
| Returns the size of the buffer in bytes. | |
Static Public Member Functions | |
| static Ref< IndexBuffer > | Create (void *data, u32 size) |
| Factory method to create an index buffer with provided raw data. | |
Interface representing an index buffer resource.
Provides methods to query the number of indices and the total buffer size. Concrete implementations handle GPU memory allocation and management.
|
virtualdefault |
|
static |
Factory method to create an index buffer with provided raw data.
| data | Pointer to index data. |
| size | Size of the data in bytes. |
|
pure virtual |
Returns the number of indices stored in the buffer.
Implemented in Raven::VulkanIndexBuffer.
|
pure virtual |
Returns the size of the buffer in bytes.
Implemented in Raven::VulkanIndexBuffer.