Back to class index
ShaderConstantBuffer[Class Summary]
engineConstantIndices
constantData
constantDataSizeBytes
constantDescriptions
boundShaderProgramHandle
ctor (+1 overload)
~dtor
Create(...) (+4 overloads)
CreateFromXml(e)
ApplyValuesFromXml(e)
Deinit()
Apply()[const]
ConstantByName(constantName)
ConstantIndex(constantName)
BindToMaterial(...)
IsParameterIndexPresent(parameterIndex)[const]
IsConstantActive(constantName)[const] (+1 overload)
SetFloat(...) (+2 overloads)
SetFloat2(...) (+2 overloads)
SetFloat3(...) (+2 overloads)
SetFloat4(...) (+2 overloads)
SetFloat4x4(...) (+2 overloads)
SetTexture(...) (+2 overloads)
SetTextureSampler(...) (+2 overloads)

ShaderConstantBuffer::engineConstantIndices

Syntax

s8 ShaderConstantBuffer::engineConstantIndices[EC_NumEngineConstantTypes];

The engine specifies a list of precomputed constant indices, like world/worldview/worldviewproj, and so on.

This array stores a precomputed mapping table of these precomputed constants to the actual indices they occur at in the shader. If a given index is not present, -1 is stored in the array.

Leave a Comment

Name:
Comments:
Captcha:captcha image Type in the black symbols:
Back to class index