nn::gd::CTR::CombinerDescription

nn::gd::CTR::CombinerDescription Class

Syntax

class CombinerDescription

Description

The CombinerDescription class creates a CombinerState.

Structures

nn::gd::CTR::CombinerDescription::BufferInput Selects sources to input to the combiner buffer. You can specify color and alpha separately.

Member Variables

m_CombinerUnit CombinerUnitDescription The individual units are set using the CombinerUnitDescription structure.
m_BufferColor u8 Specifies the buffer color for texture combiner unit 0. (Texture combiner buffer 0)
m_CombinerInUse u32 Specifies as a bitmask the texture combiner unit that is being used.
m_BufferInput struct BufferInput Selects sources to input to the combiner buffer. You can specify color and alpha separately.

Member Functions

SetSourceRGB Sets the input values for the RGB color of the three texture combiner sources.
SetOperandRGB Sets the input values for the color operands of the three texture combiner sources.
SetSourceAlpha Sets the input values for the alpha of the three texture combiner sources.
SetOperandAlpha Sets the input values for the alpha operands of the three texture combiner sources.
SetCombineRGB Sets the function that will combine three RGB input sources.
SetCombineAlpha Sets the function that will combine three alpha input sources.
SetScaleRGB Sets a scale value for the texture combiner's output color.
SetScaleAlpha Sets a scale value for the texture combiner's output alpha.
SetBufferColor Sets a combiner buffer color as the output of the first combiner buffer.
SetCombinerInUse Sets the usage flag for the texture combiner unit being used.
CombinerDescription The constructor. Calls ToDefault and sets default values.
ToDefault Sets the default value for CombinerDescription.

See Also

For details, see CombinerStageCreateTextureCombinerState.

Revision History

2011/02/15
Initial version.

CONFIDENTIAL