|
sculpto
|
#include <gl_vertex_array.h>
Public Member Functions | |
| render_primitive::handle | GetHandle () const override |
| void | SetVertexBuffer (const shared< vertex_buffer > &VertexBuffer) |
| void | SetIndexBuffer (const shared< index_buffer > &IndexBuffer) |
| gl_vertex_array (mesh_type MeshType) | |
| ~gl_vertex_array () | |
| void | Bind () const override |
| void | Unbind () const override |
Public Member Functions inherited from scl::vertex_array | |
| mesh_type | GetType () const |
| const shared< vertex_buffer > & | GetVertexBuffer () const |
| const shared< index_buffer > & | GetIndexBuffer () const |
| virtual void | SetVertexBuffer (const shared< vertex_buffer > &VertexBuffer)=0 |
| virtual void | SetIndexBuffer (const shared< index_buffer > &IndexBuffer)=0 |
| vertex_array (mesh_type MeshType) | |
| virtual | ~vertex_array ()=default |
| virtual void | Bind () const =0 |
| virtual void | Unbind () const =0 |
Additional Inherited Members | |
Static Public Member Functions inherited from scl::vertex_array | |
| static shared< vertex_array > | Create (mesh_type Mesh_type) |
Protected Attributes inherited from scl::vertex_array | |
| mesh_type | Type {} |
| shared< vertex_buffer > | VertexBuffer {} |
| shared< index_buffer > | IndexBuffer {} |
OpenGL vertex array class.
Definition at line 18 of file gl_vertex_array.h.
| scl::gl_vertex_array::gl_vertex_array | ( | mesh_type | MeshType | ) |
| Type | - creating mesh type. |
| VertexBuffer | - vertex buffer to be linked to vertex array. |
| IndexBuffer | - index array to be linked to vertex array. |
Definition at line 111 of file gl_vertex_array.cpp.
| scl::gl_vertex_array::~gl_vertex_array | ( | ) |
Default destructor.
Definition at line 119 of file gl_vertex_array.cpp.
|
overridevirtual |
| None. |
Implements scl::vertex_array.
Definition at line 125 of file gl_vertex_array.cpp.
|
inlineoverride |
Vertex array methods.
Backend api render primitive hadnle getter function.
Definition at line 33 of file gl_vertex_array.h.
|
virtual |
Link index buffer to vertex array function.
Implements scl::vertex_array.
Definition at line 102 of file gl_vertex_array.cpp.
|
virtual |
Link vertex buffer to vertex array function.
Implements scl::vertex_array.
Definition at line 38 of file gl_vertex_array.cpp.
|
overridevirtual |
| None. |
Implements scl::vertex_array.
Definition at line 130 of file gl_vertex_array.cpp.