List of all members.
Constructor & Destructor Documentation
sp::video::Direct3D11ConstantBuffer::Direct3D11ConstantBuffer |
( |
Direct3D11ShaderClass * |
Owner, |
|
|
const D3D11_SHADER_BUFFER_DESC & |
ShaderBufferDesc, |
|
|
u32 |
Index | |
|
) |
| | |
sp::video::Direct3D11ConstantBuffer::~Direct3D11ConstantBuffer |
( |
|
) |
|
Member Function Documentation
bool sp::video::Direct3D11ConstantBuffer::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::Direct3D11ConstantBuffer::valid |
( |
|
) |
const [virtual] |
The documentation for this class was generated from the following file: