nn::gd::CTR Namespace

Description

The namespace for the CTR's GD (graphics) API.
(This can also be written without the ::CTR portion.)

Classes

CombinerStage
nn::gd::CTR::CombinerStage The texture combiner pipeline stage.
nn::gd::CTR::CombinerUnitDescription Definition for the CombinerUnitDescription structure.
nn::gd::CTR::CombinerDescription The CombinerDescription class creates a CombinerState.
FogStage
nn::gd::CTR::FogStage The fog and gas stage.
LightingStage
nn::gd::CTR::Light This class manages settings for each of eight light sources.
nn::gd::CTR::LightingStage The fragment light stage sets the overall environment for lighting.
MemoryOperation
nn::gd::CTR::Memory Memory operations generally involve copying memory (layout conversion block image <-> linear image, filtering) and filling memory.
OutputStage
nn::gd::CTR::OutputStage The frame buffer operation stage.
nn::gd::CTR::RenderTargetDescription The descriptor when creating render target objects.
nn::gd::CTR::DepthStencilTargetDescription The descriptor when creating depth stencil target objects.
nn::gd::CTR::TargetProperties Detailed information about target objects. (Render targets and depth stencil targets.)
nn::gd::CTR::BlendStateDescription The descriptor for creating blend state objects.
nn::gd::CTR::DepthStencilStateDescription The descriptor for creating depth stencil state objects.
RasterizerStage
nn::gd::CTR::Viewport The viewport settings.
nn::gd::CTR::RasterizerStage The rasterizer stage.
Resource
nn::gd::CTR::Resource A resource function.
nn::gd::CTR::Texture2DResourceDescription The descriptor for texture 2D resources.
nn::gd::CTR::MipmapResourceInfo Detailed information about the mipmap levels of a resource.
nn::gd::CTR::Texture2DResourceProperties Detailed information about texture 2D resources.
nn::gd::CTR::VertexBufferResourceDescription The descriptor for creating a vertex buffer.
nn::gd::CTR::VertexBufferResourceProperties Detailed information about VertexBuffer objects.
ShaderStage
nn::gd::CTR::UniformLocation The uniform location.
nn::gd::CTR::ShaderStage Shader stage contains all required functionality to create and operate the shader.
nn::gd::CTR::UnmanagedRegistersInterval The range of registers for direct output.
nn::gd::CTR::ShaderPipelineUnmanagedRegisters The array for setting the range of registers for direct output.
System
nn::gd::CTR::System The system function includes features related to pipeline stages for all 3D rendering.
TextureStage
nn::gd::CTR::TextureStage The texture stage.
nn::gd::CTR::ProceduralTextureStage The procedural texture stage.
nn::gd::CTR::Texture2DDescription The descriptor when creating 2D textures.
nn::gd::CTR::Texture2DProperties Detailed information about 2D textures.
nn::gd::CTR::TextureCubeDescription The descriptor when creating texture cubes.
nn::gd::CTR::TextureCubeProperties Detailed information about texture cubes.
nn::gd::CTR::SamplerStateDescription The descriptor when creating sampler states.
Utility
nn::gd::CTR::Utils A module that includes several utilities (for example, to convert data to different hardware formats).
VertexInputStage
nn::gd::CTR::VertexInputStage The vertex input stage.
nn::gd::CTR::InputElementDescription The descriptor when creating input layouts.
Result
nn::gd::CTR::ResultSuccess Represents success.
nn::gd::CTR::ResultOutOfMemory Insufficient FCRAM memory region.
nn::gd::CTR::ResultOutOfMemoryExt Insufficient VRAM memory region.
nn::gd::CTR::ResultInvalidParameter Parameter is not correct.
nn::gd::CTR::ResultNullParameter NULL has been specified for parameter.
nn::gd::CTR::ResultOutOfRangeParameter Parameter is out of range.
nn::gd::CTR::ResultInvalidMemoryRegion Memory region is not correct.
nn::gd::CTR::ResultInvalidFunctionCall Incorrect function call.
nn::gd::CTR::ResultAlreadyReleased Object has already been released.
nn::gd::CTR::ResultInputLayoutInvalidStreamSlots The input layout stream slots are invalid.
nn::gd::CTR::ResultInvalidTextureResolution Texture 2D resolution is not correct.
nn::gd::CTR::ResultInvalidSubRegionResolution Region is not correct.
nn::gd::CTR::ResultInvalidTextureFormat Texture 2D format is not correct.
nn::gd::CTR::ResultInvalidMemoryLayout Memory layout is not correct.
nn::gd::CTR::ResultInvalidMemoryLocation Memory location is not correct.
nn::gd::CTR::ResultInvalidTextureMipLevelIndex Texture 2D mipmap level index is not correct.
nn::gd::CTR::ResultInvalidTextureMipLevelIndexForMipmapAutoGeneration The mipmap auto-generated 2D texture mipmap level index is not correct.
nn::gd::CTR::ResultInvalidTextureFormatForCreatingRenderTarget Texture 2D format when creating render target is not correct.
nn::gd::CTR::ResultInvalidTextureFormatForCreatingDepthStencilTarget Texture 2D format when creating depth stencil target is not correct.
nn::gd::CTR::ResultDifferentRenderTargetAndDepthStencilTargetResolution Render target and depth stencil target are not compatible.
nn::gd::CTR::ResultInvalidTextureUnitId Texture unit ID is not correct.
nn::gd::CTR::ResultResourceAlreadyMapped The resource has already been mapped.
nn::gd::CTR::ResultResourceNotMapped The resource is not mapped.
nn::gd::CTR::ResultInvalidShaderUniformName Shader uniform name is not correct.
nn::gd::CTR::ResultInvalidShaderUniform Shader uniform is not correct.
nn::gd::CTR::ResultInvalidShaderSignature Shader signature is not correct.
nn::gd::CTR::ResultInvalidShaderOperation Shader is not correct.
nn::gd::CTR::ResultSystemNoCmdListBind Command list is not bound.
nn::gd::CTR::ResultSystemInvalidCmdListBind Bound command list is not correct.
nn::gd::CTR::ResultSystemReceiveErrorFromGlGetError A GetError error occurred in the function. (The error might have occurred by the previous nngx or gd function call.)
nn::gd::CTR::ResultSystemNoPacketToRecord There is no data to save.
nn::gd::CTR::ResultSystemNoPacketRecorded The save process has not started.
nn::gd::CTR::ResultSystemAPacketIsAlreadyBeingRecorded The save process has already started.
nn::gd::CTR::ResultSystemInvalidPacketId Packet ID is not correct.

Enumerated Types

gdResult Different return values/error codes are returned from GD functions.

typedef Definitions

VertexShader Do not use this. It may be removed in a future release. Use the Shader class.
GeometryShader Do not use this. It may be removed in a future release. Use the Shader class.

Revision History

2011/02/15
Initial version.

CONFIDENTIAL