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

Syntax

class Blend

Description

Class for configuring blend settings.

Member Variables

isEnable Setting to enable/disable blending. Type is bool. Initial value is false (disabled).
eqRgb Sets the blend method for RGB components. Type is PicaDataBlendEquation.    Initial value is PICA_DATA_BLEND_EQUATION_ADD.
eqAlpha Sets the blend function for the alpha component. Type is PicaDataBlendEquation. Initial value is PICA_DATA_BLEND_EQUATION_ADD.
srcRgb Sets the blend RGB component source. Type is PicaDataBlendFunc. Initial value is PICA_DATA_BLEND_FUNC_SRC_ALPHA.
srcAlpha Sets the blend alpha component source. Type is PicaDataBlendFunc. Initial value is PICA_DATA_BLEND_FUNC_SRC_ALPHA.
dstRgb Sets the blend RGB component destination. Type is PicaDataBlendFunc. Initial value is PICA_DATA_BLEND_FUNC_ONE_MINUS_SRC_ALPHA.
dstAlpha Sets the blend ALPHA component destination. Type is PicaDataBlendFunc.     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]. 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]. 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]. 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]. Initial value is 255.

Member Functions

Blend Initializes the blend settings to the initial values.
MakeCommand Generates a rendering command based on information already set.

Revision History

2010/09/15
Initial version.

CONFIDENTIAL