nn::gr::CTR::RenderState::Blend Class

Syntax

class Blend

Description

Class for setting blend.

Member Variables

isEnable Setting for enabling/disabling blend. The type is bool. The initial value is false (disabled).
eqRgb Sets the blend method for RGB components. The type is PicaDataBlendEquation. Use a PicaDataBlendEquation enumerated constant defined in the PICA macro header.    The initial value is PICA_DATA_BLEND_EQUATION_ADD.
eqAlpha Sets the blend function for the alpha component. The type is PicaDataBlendEquation. Use a PicaDataBlendEquation enumerated constant defined in the PICA macro header. The initial value is PICA_DATA_BLEND_EQUATION_ADD.
srcRgb Sets the blend RGB component source. The type is PicaDataBlendFunc. Use a PicaDataBlendFunc enumerated constant defined in the PICA macro header. The initial value is PICA_DATA_BLEND_FUNC_SRC_ALPHA.
srcAlpha Sets the blend alpha component source. The type is PicaDataBlendFunc. Use a PicaDataBlendFunc enumerated constant defined in the PICA macro header. The initial value is PICA_DATA_BLEND_FUNC_SRC_ALPHA.
dstRgb Sets the blend RGB component destination. The type is PicaDataBlendFunc. Use a PicaDataBlendFunc enumerated constant defined in the PICA macro header. The initial value is PICA_DATA_BLEND_FUNC_ONE_MINUS_SRC_ALPHA.
dstAlpha Sets the blend ALPHA component destination. The type is PicaDataBlendFunc. Use a PicaDataBlendFunc enumerated constant defined in the PICA macro header.     The initial value is PICA_DATA_BLEND_FUNC_ONE_MINUS_SRC_ALPHA.
colorR Sets the red component to use for the blend constant color. Type is u8. Specify a value in the range [0, 255]. The initial value is 255.
colorG Sets the green component to use for the blend constant color. Type is u8. Specify a value in the range [0, 255]. The initial value is 255.
colorB Sets the blue component to use for the blend constant color. Type is u8. Specify a value in the range [0, 255]. The initial value is 255.
colorA Sets the alpha component to use for the blend constant color. Type is u8. Specify a value in the range [0, 255]. The initial value is 255.

Member Functions

Blend Initializes using the initial value for the blend setting.
MakeCommand Generates a rendering command based on information already set.

Revision History

2010/09/15
Initial version.

CONFIDENTIAL