|
"L. Spiro Engine"
|
A software-side cbuffer for Direct3D 11. More...
#include <LSGDirectX11CBuffer.h>
Classes | |
| struct | LSG_CBUFFER_UNIFORM |
Public Types | |
| typedef lsg::CDirectX11CBuffer::LSG_CBUFFER_UNIFORM * | LPLSG_CBUFFER_UNIFORM |
|
typedef lsg::CDirectX11CBuffer::LSG_CBUFFER_UNIFORM | LPCLSG_CBUFFER_UNIFORM |
Public Member Functions | |
| LSUINT32 LSE_CALL | AddUniform (const CShaderTranslationProcessorBase::LSG_UNIFORM &_uUniform, LSUINT32 _ui32Offset) |
| const CVector < LSG_CBUFFER_UNIFORM > &LSE_CALL | Uniforms () const |
Protected Attributes | |
| CVector< LSG_CBUFFER_UNIFORM > | m_vUniforms |
A software-side cbuffer for Direct3D 11.
Class CDirectX11CBuffer Description: A software-side cbuffer for Direct3D 11.
An entry in the buffer.
| LSUINT32 LSE_CALL lsg::CDirectX11CBuffer::AddUniform | ( | const CShaderTranslationProcessorBase::LSG_UNIFORM & | _uUniform, |
| LSUINT32 | _ui32Offset | ||
| ) |
Adds the given uniform to this cbuffer representative class.
| _uUniform | The uniform to add. |
| _ui32Offset | The optional offset at which to add it. Pass ~0UL for automatic offset determination. |
| const CVector<LSG_CBUFFER_UNIFORM>& LSE_CALL lsg::CDirectX11CBuffer::Uniforms | ( | ) | const |
Gets a constant reference to the array of uniforms in the buffer.
CVector<LSG_CBUFFER_UNIFORM> lsg::CDirectX11CBuffer::m_vUniforms [protected] |
An array of uniforms inside this buffer.
1.7.3