nn::gr::CTR::RenderState::Blend Classclass Blend
Class for configuring blend settings.
| 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. |
Blend
|
Initializes the blend settings to the initial values. | |
|---|---|---|
MakeCommand
|
Generates a rendering command based on information already set. |
CONFIDENTIAL