nn::gd::CTR::System Class

Syntax

class System

Description

The system functions include features related to all 3D-rendering pipeline stages.

Classes

nn::gd::CTR::System::Debug This funciton is handy during debugging.

Enumerated Types

Module The enum value of each GD API module.
RecordingPacketUsage Sets the method to use when packets are saved.

Member Functions

S SetCallbackFunctionError Sets the callback function.
S GetErrorStringFromResult This function gets the error string for any nnResult.
S Initialize Initializes the gd API. This function must be executed before calling any other gd functions.
S Finalize Initializes the gd API. After this function is called, no gd functions can be used.
S ForceDirty Puts the command of the specified module into reconfigure status. This flag can be specified by OR'ing System::Module enum members.
S SetDefault Resets the specified module to default values. This flag can be specified by OR'ing System::Module enum members.
S FlushDirtyModule Creates a redraw status module command. This flag can be specified by OR'ing System::Module enum members.
S Draw Renders primitives from the vertex buffer currently configured.
S DrawIndexed Renders an indexed primitive from the vertex buffer and index buffer currently configured.
S DrawImmediate Sets a render mode that does not use the vertex buffer resource in VertexInputStage.
S DrawImmediateIndexed Sets a render mode that does not use the vertex buffer resource in VertexInputStage.
S Execute3DCommandList Executes the 3D command buffer.
S StartRecordingPackets Starts saving the current command list object. forceDirtyModuleFlag can be specified by OR'ing System::Module enum members.
S GetCommandBufferOffset Gets the current offset for the command buffer for which a command list object save has started.
S GetCommandBufferBaseAddress Gets the base address of the saved command buffer.
S StopRecordingPackets Stops saving the current command list object.
S ReplayPackets Re-executes the command list object specified by packetId. forceDirtyModuleFlag can be specified by OR'ing System::Module enum members.
S CopyPacket Copies a saved packet.
S ReleasePackets Releases the saved command list object.
S AddDummyCommands Inserts a dummy command in the command buffer.

Revision History

2011/02/15
Initial version.

CONFIDENTIAL