nw::gfx::res::ResShaderParameterValue::SetValue Member Function

Syntax

void SetValue(
     bool value
);

void SetValue(
     f32 x
);

void SetValue(
     f32 x,
     f32 y
);

void SetValue(
     const math::VEC2 & value
);

void SetValue(
     f32 x,
     f32 y,
     f32 z
);

void SetValue(
     const math::VEC3 & value
);

void SetValue(
     f32 x,
     f32 y,
     f32 z,
     f32 w
);

void SetValue(
     const math::VEC4 & value
);

List of Overloaded Member Functions

SetValue ( bool ) Sets the value when the type is TYPE_BOOL1.
SetValue ( f32 ) Sets the value when the type is TYPE_FLOAT1.
SetValue ( f32, f32 ) Sets the value when the type is TYPE_FLOAT2.
SetValue ( const math::VEC2 & ) Sets the value when the type is TYPE_FLOAT2.
SetValue ( f32, f32, f32 ) Sets the value when the type is TYPE_FLOAT2.
SetValue ( const math::VEC3 & ) Sets the value when the type is TYPE_FLOAT3.
SetValue ( f32, f32, f32, f32 ) Sets the value when the type is TYPE_FLOAT2.
SetValue ( const math::VEC4 & ) Sets the value when the type is TYPE_FLOAT4.

Description of SetValue ( bool )

Sets the value when the type is TYPE_BOOL1.

Description of SetValue ( f32 )

Sets the value when the type is TYPE_FLOAT1.

Description of SetValue ( f32, f32 )

Sets the value when the type is TYPE_FLOAT2.

Description of SetValue ( const math::VEC2 & )

Sets the value when the type is TYPE_FLOAT2.

Description of SetValue ( f32, f32, f32 )

Sets the value when the type is TYPE_FLOAT2.

Description of SetValue ( const math::VEC3 & )

Sets the value when the type is TYPE_FLOAT3.

Description of SetValue ( f32, f32, f32, f32 )

Sets the value when the type is TYPE_FLOAT2.

Description of SetValue ( const math::VEC4 & )

Sets the value when the type is TYPE_FLOAT4.


CONFIDENTIAL