Interface representing an index buffer resource.
More...
#include <IndexBuffer.h>
Inherits Raven::RefCounted.
Inherited by Raven::VulkanIndexBuffer.
|
| 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.
◆ ~IndexBuffer()
| virtual Raven::IndexBuffer::~IndexBuffer |
( |
| ) |
|
|
virtualdefault |
◆ Create()
| Ref< IndexBuffer > Raven::IndexBuffer::Create |
( |
void * | data, |
|
|
u32 | size ) |
|
static |
Factory method to create an index buffer with provided raw data.
- Parameters
-
| data | Pointer to index data. |
| size | Size of the data in bytes. |
- Returns
- Reference-counted IndexBuffer instance.
◆ GetCount()
| virtual u32 Raven::IndexBuffer::GetCount |
( |
| ) |
const |
|
pure virtual |
◆ GetSize()
| virtual u32 Raven::IndexBuffer::GetSize |
( |
| ) |
const |
|
pure virtual |
◆ Release()
| virtual void Raven::IndexBuffer::Release |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following files: