nn::gd::CTR::Light::EnableTwoSideDiffuse Member Function

Syntax

void EnableTwoSideDiffuse(
     gdBool value
);

Parameters

Name Description
in value If GD_TRUE is specified, lighting is calculated for both sides. If GD_FALSE is specified, lighting is calculated for only one side.

Return Values

None.

Description

Sets single-side or double-side lighting. This function is an immediate function. (The immediate function directly generates commands and inserts them into the command buffer.)

The data format inserted into the command buffer is:
0x00000000 X
0x00000004 [Reserved]
False when bit[1:1] of X above is zero, and true when it is 1.

The default value is GD_FALSE.

Revision History

2011/07/13
Added the default value.
2011/02/17
Initial version.

CONFIDENTIAL