nw::gfx::GraphicsDevice::SetFragmentLightDistanceAttnEnabled Member Function

Syntax

static void SetFragmentLightDistanceAttnEnabled(
     int index,
     bool enabled
);

Arguments

Name Description
in index The light index.
in enabled The enable flag for distance attenuation.

Return Values

None.

Description

Enables distance attenuation.


CONFIDENTIAL