sculpto
|
#include <buffer.h>
Public Member Functions | |
vertex_layout | GetVertexLayout () const |
vertex_buffer (const vertex_layout &VertexLayout) | |
virtual | ~vertex_buffer ()=default |
virtual void | Bind () const =0 |
virtual void | Unbind () const =0 |
virtual void | Update (const void *Vertices, u32 Count)=0 |
virtual void | Free ()=0 |
virtual u32 | GetCount () const =0 |
Static Public Member Functions | |
static shared< vertex_buffer > | Create (u32 Count, const vertex_layout &VertexLayout) |
static shared< vertex_buffer > | Create (const void *Vertices, u32 Count, const vertex_layout &VertexLayout) |
Protected Attributes | |
vertex_layout | VertexLayout {} |
scl::vertex_buffer::vertex_buffer | ( | const vertex_layout & | VertexLayout | ) |
VertexLayout | - layout of vertices in buffer. |
Definition at line 38 of file buffer.cpp.
|
virtualdefault |
Vertex buffer default destructor.
|
pure virtual |
None. |
Implemented in scl::gl_vertex_buffer.
|
static |
Vertices | - vertices array. |
Count | - vertices in buffer count. |
VertexLayout | - layout of vertices in buffer. |
Definition at line 53 of file buffer.cpp.
|
static |
Count | - vertices in buffer count. |
VertexLayout | - layout of vertices in buffer. |
Definition at line 41 of file buffer.cpp.
|
pure virtual |
None. |
Implemented in scl::gl_vertex_buffer.
|
pure virtual |
None. |
Implemented in scl::gl_vertex_buffer.
|
inline |
|
pure virtual |
None. |
Implemented in scl::gl_vertex_buffer.
|
pure virtual |
Vertices | - verices array. |
Count | - length of vertices array. |
Implemented in scl::gl_vertex_buffer.
|
protected |