Torque3D Documentation / _generateds / GFXD3D9ShaderConstHandle

GFXD3D9ShaderConstHandle

Engine/source/gfx/D3D9/gfxD3D9Shader.h

The D3D9 implementation of a shader constant handle.

More...

Public Functions

Restore to uninitialized state.

Returns the name of the constant handle.

Returns -1 if this handle does not point to a Sampler.

Returns the type of the constant handle.

bool
setValid(bool valid)

Detailed Description

The D3D9 implementation of a shader constant handle.

Public Attributes

bool mInstancingConstant 

Is true if this constant is for hardware mesh instancing.

Note: We currently store its settings in mPixelHandle.

bool mPixelConstant 
GenericConstBufferLayout::ParamDesc mPixelHandle 
WeakRefPtr< GFXD3D9Shader > mShader 
bool mVertexConstant 
GenericConstBufferLayout::ParamDesc mVertexHandle 

Public Functions

GFXD3D9ShaderConstHandle()

clear()

Restore to uninitialized state.

getArraySize()

Reimplemented from: GFXShaderConstHandle

getName()

Reimplemented from: GFXShaderConstHandle

getSamplerRegister()

Reimplemented from: GFXShaderConstHandle

getType()

Reimplemented from: GFXShaderConstHandle

isSampler()

setValid(bool valid)