nn::gr::CTR::RenderState Class

Syntax

class RenderState

Description

Class for setting the render state.

Classes

nn::gr::CTR::RenderState::AlphaTest Class for setting the alpha test.
nn::gr::CTR::RenderState::Blend Class for configuring blend settings. You can generate rendering commands by setting each value and then calling the MakeCommand function. Because registers are shared, this cannot be used at the same time as logical operation settings.
nn::gr::CTR::RenderState::Culling Class for setting culling.
nn::gr::CTR::RenderState::DepthTest Class for setting the depth test.
nn::gr::CTR::RenderState::FBAccess Class for setting frame buffer access.
nn::gr::CTR::RenderState::LogicOp Class for setting logical operations. You can generate rendering commands by setting each value and then calling the MakeCommand function. Because registers are shared, this cannot be used at the same time as blend settings.
nn::gr::CTR::RenderState::StencilTest Class for setting the stencil test.
nn::gr::CTR::RenderState::WBuffer Class for setting the w buffer.

Enumerated Types

ColorMask Definition for setting the color mask.

Member Variables

blend Blend settings. The type is nn::gr::CTR::RenderState::Blend.
logicOp Logical operation settings. The type is nn::gr::CTR::RenderState::LogicOp.
alphaTest Alpha test settings. The type is nn::gr::CTR::RenderState::AlphaTest.
stencilTest Stencil test settings. The type is nn::gr::CTR::RenderState::StencilTest.
colorMask Color mask settings. The type is nn::gr::CTR::RenderState::ColorMask.
depthTest Depth test settings. The type is nn::gr::CTR::RenderState::DepthTest.
cullingTest Culling settings. The type is nn::gr::CTR::RenderState::Culling.
wBuffer w buffer settings. The type is nn::gr::CTR::RenderState::WBuffer.
fbAccess Frame buffer access settings. The type is nn::gr::CTR::RenderState::FBAccess.

Member Functions

RenderState Initializes render state settings to the default values.
MakeCommand Generates a command for setting all render states based on information already set.
S MakeDisableCommand Generates commands to invalidate the rendering state.

Revision History

2010/09/15
Initial version.

CONFIDENTIAL