nw::gfx::GraphicsDevice::ActivateFragmentLightDistanceAttnScaleBias Member Function

Syntax

static void ActivateFragmentLightDistanceAttnScaleBias(
     int index,
     u32 scalef20,
     u32 biasf20
);

Arguments

Name Description
in index Light index.
in scalef20 The scale value for the distance attenuation.
in biasf20 The bias value for the distance attenuation.

Return Values

None.

Description

Issues the scale and bias commands for distance attenuation.


CONFIDENTIAL