nn::gr::CTR Namespace

Description

The namespace of the CTR GPU register access API.
(This can also be written without the ::CTR portion.)

Classes

nn::gr::CTR::BindSymbol Class for getting/setting information about symbols.
nn::gr::CTR::BindSymbolVSInput Class for getting/setting information about input register symbols of the vertex shader.
nn::gr::CTR::BindSymbolVSFloat Class for getting/setting information about floating point register symbols of the vertex shader.
nn::gr::CTR::BindSymbolVSInteger Class for getting/setting information about integer register symbols.
nn::gr::CTR::BindSymbolVSBool Class for getting/setting information about Boolean register symbols.
nn::gr::CTR::BindSymbolGSFloat Class for getting/setting information about floating point register symbols of the geometry shader.
nn::gr::CTR::BindSymbolGSBool Class for getting/setting information about Boolean register symbols.
nn::gr::CTR::Combiner Class for configuring combiner settings.
nn::gr::CTR::Fog Class for generating fog-related commands.
nn::gr::CTR::FragmentLight Class for configuring fragment lighting settings.
nn::gr::CTR::FrameBuffer Class for configuring framebuffer settings.
nn::gr::CTR::LookUpTable Class for loading lookup tables.
nn::gr::CTR::ProcedureTexture Class for generating procedural texture command.
nn::gr::CTR::RenderState Class for setting the render state.
nn::gr::CTR::Scissor Class for generating scissor-related commands. Unlike glScissor, the color buffer size of the target drawing must be given.
nn::gr::CTR::Shader Class for setting the shader binary.
nn::gr::CTR::Shadow Class for configuring shadow settings.
nn::gr::CTR::Texture Class for setting textures.
nn::gr::CTR::Vertex Class for making vertex buffer object-related settings.
nn::gr::CTR::Viewport Class for generating viewport-related commands. First assign values to each x, y, width, and height member, and generate a command using MakeCommand.

typedef Definitions

PicaDataVertexArrayType Vertex stream data type. Type is PicaDataVertexAttrType.
PicaDataLookUpTableType Lookup table type. Type is PicaDataFragLightSampler.
PicaDataFragLightTexture Type of fragment light texture. Type is PicaDataFragLightEnvTexture.
PicaDataFragLightLayerConfig Fragment light layer config type. Type is PicaDataFragLightEnvLayerConfig.
PicaDataFragLightBump Fragment light bump map type. Type is PicaDataFragLightEnvBump.
PicaDataLutInput Type representing LookUpTable to be input. Type is PicaDataFragLightEnvLutInput.
PicaDataLutScale Type representing LookUpTable scale. Type is PicaDataFragLightEnvLutScale.

Functions

CopyMtx34WithHeader Inverts the wHzyx order of a 3x4 matrix and makes a copy. (including header)
CopyMtx44WithHeader Inverts the wHzyx order of a 4x4 matrix and makes a copy. (including header)
MakeUniformCommandVS Generates a command for setting a 3x4 matrix in a vertex shader uniform.
MakeUniformCommandGS Generates a command for setting a 3x4 matrix in a geometry shader uniform.
FloatToUnsignedByte Converts float32 to u8.
FloatToUnsignedByteNoClamp Converts float32 to u8 without clamping.
Float32ToFloat16 Converts float32 to float16.
Float32ToFloat24 Converts float32 to float24.
Float32ToFloat20 Converts float32 to float20.
Float32ToFloat31 Converts float32 to float31.
Float32ToUnsignedFix24 Converts float32 to unsigned fixed24.
Float32ToUnsignedFix16 Converts float32 to unsigned fixed16.
Float32ToFix16 Converts float32 to signed fixed16.
Float32ToUnsignedFix12 Converts float32 to unsigned fixed12.
Float32ToFix12 Converts float32 to signed fixed12.
Float32ToFix12Fraction11 Converts float32 to fixed12 (11 fractional bits).
Float32ToFix13Fraction8 Converts float32 to fixed13 (8 fractional bits).
Float32ToFix13Fraction11 Converts float32 to fixed11 (8 fractional bits).
Float32ToUnsignedFix11 Converts float32 to unsigned fixed11.
Float32ToFix8Fraction7 Converts float32 to fixed8 (7 fractional bits).
PicaDataVertexAttrTypeToByteSize Finds the byte size based on the vertex array type.

Revision History

2010/09/15
Initial version.

CONFIDENTIAL