Torque3D Documentation / _generateds / GFXD3D11ConstBufferLayout

GFXD3D11ConstBufferLayout

Engine/source/gfx/D3D11/gfxD3D11Shader.h

More...

Protected Attributes

Public Functions

Get our constant sub buffer data.

bool
set(const ParamDesc & pd, const GFXShaderConstType constType, const U32 size, const void * data, U8 * basePointer)

Set a parameter, given a base pointer.

setSize(U32 size)

We need to manually set the size due to D3D11 alignment.

Protected Functions

bool
setMatrix(const ParamDesc & pd, const GFXShaderConstType constType, const U32 size, const void * data, U8 * basePointer)

Set a matrix, given a base pointer.

Detailed Description

Protected Attributes

Vector< ConstSubBufferDesc > mSubBuffers 

Public Functions

GFXD3D11ConstBufferLayout()

getSubBufferDesc()

Get our constant sub buffer data.

set(const ParamDesc & pd, const GFXShaderConstType constType, const U32 size, const void * data, U8 * basePointer)

Reimplemented from: GenericConstBufferLayout

setSize(U32 size)

We need to manually set the size due to D3D11 alignment.

Protected Functions

setMatrix(const ParamDesc & pd, const GFXShaderConstType constType, const U32 size, const void * data, U8 * basePointer)

Reimplemented from: GenericConstBufferLayout