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::IsConstantActive

Syntax

bool ShaderConstantBuffer::IsConstantActive(const char *constantName) const;
bool ShaderConstantBuffer::IsConstantActive(EngineConstantType constantType) const; [1 lines of code]

Returns true if the given constant is actually being used by the Shader this constant buffer is bound to.

Leave a Comment

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