sculpto
|
#include <buffer.h>
Public Member Functions | |
virtual | ~constant_buffer ()=default |
virtual void | Bind (u32 BindingPoint) const =0 |
virtual void | Unbind () const =0 |
virtual void | Update (void *Data, u32 Size)=0 |
virtual void | Free ()=0 |
Static Public Member Functions | |
static shared< constant_buffer > | Create (u32 Size) |
static shared< constant_buffer > | Create (const void *Data, u32 Size) |
|
virtualdefault |
Constant buffer default destructor.
|
pure virtual |
None. |
Implemented in scl::gl_constant_buffer.
|
static |
BindingPoint | - shader_props binding point of buffer. |
Data | - buffer data pointer. |
Size | - buffer data size. |
Definition at line 26 of file buffer.cpp.
|
static |
BindingPoint | - shader_props binding point of buffer. |
Size | - buffer data size. |
Definition at line 14 of file buffer.cpp.
|
pure virtual |
None. |
Implemented in scl::gl_constant_buffer.
|
pure virtual |
None. |
Implemented in scl::gl_constant_buffer.
|
pure virtual |
Data | - buffer data pointer. |
Size | - buffer data size. |
Implemented in scl::gl_constant_buffer.