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

Syntax

void ShaderConstantBuffer::SetFloat3(int parameterIndex, const float3 &vector);
void ShaderConstantBuffer::SetFloat3(EngineConstantType constantType, const float3 &vector); [1 lines of code]
void ShaderConstantBuffer::SetFloat3(const char *constantName, const float3 &vector); [1 lines of code]

Sets the value of a float3 (x,y,z) shader constant.

Leave a Comment

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