sculpto
|
#include <gl_buffer.h>
Public Member Functions | |
u32 | GetCount () const override |
render_primitive::handle | GetHandle () const override |
gl_index_buffer (u32 *Indices, u32 Count) | |
~gl_index_buffer () override | |
void | Bind () const override |
void | Unbind () const override |
void | Update (u32 *Indices, u32 Count) override |
void | Free () override |
Public Member Functions inherited from scl::index_buffer | |
virtual | ~index_buffer ()=default |
virtual void | Bind () const =0 |
virtual void | Unbind () const =0 |
virtual void | Free ()=0 |
virtual void | Update (u32 *Indices, u32 Count)=0 |
virtual u32 | GetCount () const =0 |
Additional Inherited Members | |
Static Public Member Functions inherited from scl::index_buffer | |
static shared< index_buffer > | Create (u32 *Indices, u32 Count) |
Vertices indices buffer interface.
Definition at line 153 of file gl_buffer.h.
Indices | - indices array. |
Count | - indices in buffer count. |
Definition at line 140 of file gl_buffer.cpp.
|
override |
Index buffer default destructor.
Definition at line 151 of file gl_buffer.cpp.
|
overridevirtual |
None. |
Implements scl::index_buffer.
Definition at line 156 of file gl_buffer.cpp.
|
overridevirtual |
None. |
Implements scl::index_buffer.
Definition at line 178 of file gl_buffer.cpp.
|
inlineoverridevirtual |
Index buffer getter/setter functions.
Index buffer indices count getter function.
Implements scl::index_buffer.
Definition at line 161 of file gl_buffer.h.
|
inlineoverride |
Backend api render primitive hadnle getter function.
Definition at line 164 of file gl_buffer.h.
|
overridevirtual |
None. |
Implements scl::index_buffer.
Definition at line 161 of file gl_buffer.cpp.
Indices | - array of indices. |
Count |
Implements scl::index_buffer.
Definition at line 166 of file gl_buffer.cpp.