List of all members.
Constructor & Destructor Documentation
sp::video::OpenGLConstantBuffer::~OpenGLConstantBuffer |
( |
|
) |
|
Member Function Documentation
bool sp::video::OpenGLConstantBuffer::updateBuffer |
( |
const void * |
Buffer, |
|
|
u32 |
Size = 0 | |
|
) |
| | [virtual] |
Updates the constant buffer by uploading the data to the shader.
- Parameters:
-
[in] | Buffer | Constant pointer to the buffer data. |
[in] | Size | Specifies the buffer size (in bytes). If zero the engine determines the size automatically. By default zero. |
- Returns:
- True if the buffer could be updated successful. Otherwise false is returned and an error or warning message will be printed.
Reimplemented from sp::video::ConstantBuffer.
bool sp::video::OpenGLConstantBuffer::valid |
( |
|
) |
const [virtual] |
Friends And Related Function Documentation
The documentation for this class was generated from the following file: