nn::gr::CTR::FragmentLight::Source::SetDistAttnScaleBias Member Function

Syntax

void SetDistAttnScaleBias(
     const f32 scale,
     const f32 bias
);

Parameters

Name Description
in scale Distance attenuation bias.
in bias Distance attenuation bias.

Return Values

None.

Description

Sets the scale and bias for distance attenuation. Converts the set value to a 20-bit floating point number used to set the rendering command and stores it.

Revision History

2010/09/15
Initial version.

CONFIDENTIAL