"L. Spiro Engine"
Classes | Public Types | Public Member Functions | Protected Attributes

lsg::CDirectX11CBuffer Class Reference

A software-side cbuffer for Direct3D 11. More...

#include <LSGDirectX11CBuffer.h>

List of all members.

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_UNIFORMm_vUniforms

Detailed Description

A software-side cbuffer for Direct3D 11.

Class CDirectX11CBuffer Description: A software-side cbuffer for Direct3D 11.


Member Typedef Documentation

An entry in the buffer.


Member Function Documentation

LSUINT32 LSE_CALL lsg::CDirectX11CBuffer::AddUniform ( const CShaderTranslationProcessorBase::LSG_UNIFORM _uUniform,
LSUINT32  _ui32Offset 
)

Adds the given uniform to this cbuffer representative class.

Parameters:
_uUniformThe uniform to add.
_ui32OffsetThe optional offset at which to add it. Pass ~0UL for automatic offset determination.
Returns:
Returns the actual offset where the uniform was placed into the constant buffer or ~0UL upon a memory failure.
const CVector<LSG_CBUFFER_UNIFORM>& LSE_CALL lsg::CDirectX11CBuffer::Uniforms ( ) const

Gets a constant reference to the array of uniforms in the buffer.

Returns:
Returns a constant reference to the array of uniforms in the buffer.

Member Data Documentation

An array of uniforms inside this buffer.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator