Represents a GPU vertex buffer.Used to store vertex data for rendering. The class provides a factory method to create vertex buffers from raw data.
More...
#include <VertexBuffer.h>
Represents a GPU vertex buffer.
Used to store vertex data for rendering. The class provides a factory method to create vertex buffers from raw data.
◆ ~VertexBuffer()
| virtual Raven::VertexBuffer::~VertexBuffer |
( |
| ) |
|
|
virtualdefault |
◆ Create()
Creates a vertex buffer with the given data.
- Parameters
-
| data | Pointer to the raw vertex data. |
| size | Size in bytes of the vertex data. |
- Returns
- Reference-counted pointer to the created VertexBuffer.
The documentation for this class was generated from the following files: