Graphics (GX/G2/G2Util/G3/G3Util/G3X)

[Function List]

General 2D/3D Graphics (GX)

Common to the 2D Graphics Engines

Power Control
GX_SetPower
GX_GetPower
GX_Power2D
GX_Power3D
GX_Power2DMain
GX_Power2DSub
GX_PowerGeometry
GX_PowerRender
GX_SetDispSelect
GX_GetDispSelect
Initialization
GX_Init
GX_InitEx
GX_SetDefaultDMA
GX_GetDefaultDMA
Allocating VRAM Banks To Resources
GX_SetBankForBG
GX_SetBankForBGEx
GX_SetBankForOBJ
GX_SetBankForBGExtPltt
GX_SetBankForOBJExtPltt
GX_SetBankForTex
GX_SetBankForTexPltt
GX_SetBankForClearImage
GX_SetBankForSubBG
GX_SetBankForSubOBJ
GX_SetBankForSubBGExtPltt
GX_SetBankForSubOBJExtPltt
GX_SetBankForARM7
GX_SetBankForLCDC
GX_TrySetBankForBG
GX_TrySetBankForBGEx
GX_TrySetBankForOBJ
GX_TrySetBankForBGExtPltt
GX_TrySetBankForOBJExtPltt
GX_TrySetBankForTex
GX_TrySetBankForTexPltt
GX_TrySetBankForClearImage
GX_TrySetBankForSubBG
GX_TrySetBankForSubOBJ
GX_TrySetBankForSubBGExtPltt
GX_TrySetBankForSubOBJExtPltt
GX_TrySetBankForARM7
GX_TrySetBankForLCDC
Obtaining Information on VRAM Banks Allocated to Resources
GX_GetBankForBG
GX_GetBankForOBJ
GX_GetBankForBGExtPltt
GX_GetBankForOBJExtPltt
GX_GetBankForTex
GX_GetBankForTexPltt
GX_GetBankForClearImage
GX_GetBankForSubBG
GX_GetBankForSubOBJ
GX_GetBankForSubBGExtPltt
GX_GetBankForSubOBJExtPltt
GX_GetBankForARM7
GX_GetBankForLCDC
Switching To LCDC Memory Space
GX_ResetBankForBG
GX_ResetBankForOBJ
GX_ResetBankForBGExtPltt
GX_ResetBankForOBJExtPltt
GX_ResetBankForTex
GX_ResetBankForTexPltt
GX_ResetBankForClearImage
GX_ResetBankForSubBG
GX_ResetBankForSubOBJ
GX_ResetBankForSubBGExtPltt
GX_ResetBankForSubOBJExtPltt
GX_ResetBankForARM7
Releasing VRAM Bank Resources
GX_DisableBankForBG
GX_DisableBankForOBJ
GX_DisableBankForBGExtPltt
GX_DisableBankForOBJExtPltt
GX_DisableBankForTex
GX_DisableBankForTexPltt
GX_DisableBankForClearImage
GX_DisableBankForSubBG
GX_DisableBankForSubOBJ
GX_DisableBankForSubBGExtPltt
GX_DisableBankForSubOBJExtPltt
GX_DisableBankForARM7
GX_DisableBankForLCDC
Acquiring Size of VRAM Bank That is Allocated
GX_GetSizeOfBG
GX_GetSizeOfOBJ
GX_GetSizeOfBGExtPltt
GX_GetSizeOfOBJExtPltt
GX_GetSizeOfTex
GX_GetSizeOfTexPltt
GX_GetSizeOfClearImage
GX_GetSizeOfSubBG
GX_GetSizeOfSubOBJ
GX_GetSizeOfSubBGExtPltt
GX_GetSizeOfSubOBJExtPltt
GX_GetSizeOfARM7
Interrupts and Miscellaneous
GX_GetVCount
GX_SetVCount
GX_IsHBlank
GX_IsVBlank
GX_IsVCountEq
GX_VCountEqIntr
GX_SetVCountEqVal
GX_GetVCountEqVal
GX_HBlankIntr
GX_VBlankIntr

Main 2D Graphics Engine

Display Mode and BG Mode Settings
GX_SetGraphicsMode
GX_GetDispCnt
Hide/Show Settings
GX_SetVisiblePlane
GX_GetVisiblePlane
GX_SetVisibleWnd
GX_GetVisibleWnd
GX_DispOn
GX_DispOff
GX_BlankScr
GX_HBlankOBJProc
Offset Settings
GX_SetBGScrOffset
GX_SetBGCharOffset
OBJ Mapping Mode Settings
GX_SetOBJVRamModeChar
GX_GetOBJVRamModeChar
GX_SetOBJVRamModeBmp
GX_GetOBJVRamModeBmp
Loading Resources (2D)
GX_LoadOBJ
GX_LoadOAM
GX_LoadBGPltt
GX_LoadOBJPltt
GX_LoadBG0Scr
GX_LoadBG1Scr
GX_LoadBG2Scr
GX_LoadBG3Scr
GX_LoadBG2Bmp
GX_LoadBG3Bmp
GX_LoadBG0Char
GX_LoadBG1Char
GX_LoadBG2Char
GX_LoadBG3Char
GX_BeginLoadBGExtPltt
GX_LoadBGExtPltt
GX_EndLoadBGExtPltt
GX_BeginLoadOBJExtPltt
GX_LoadOBJExtPltt
GX_EndLoadOBJExtPltt
Loading Resources (3D)
GX_BeginLoadTex
GX_LoadTex
GX_EndLoadTex
GX_BeginLoadTexPltt
GX_LoadTexPltt
GX_EndLoadTexPltt
GX_BeginLoadClearImage
GX_LoadClearImageColor
GX_LoadClearImageDepth
GX_EndLoadClearImage
Other
GX_SetCapture
GX_ResetCapture
GX_SetMasterBrightness
GX_GetMasterBrightness

Sub 2D Graphics Engine

Display Mode Settings
GXS_SetGraphicsMode
GXS_GetDispCnt
Hide/Show Settings
GXS_SetVisiblePlane
GXS_GetVisiblePlane
GXS_SetVisibleWnd
GXS_GetVisibleWnd
GXS_DispOn
GXS_DispOff
GXS_HBlankOBJProc
OBJ Mapping Mode Settings
GXS_SetOBJVRamModeChar
GXS_GetOBJVRamModeChar
GXS_SetOBJVRamModeBmp
GXS_GetOBJVRamModeBmp
Loading Resources
GXS_LoadOBJ
GXS_LoadOAM
GXS_LoadBGPltt
GXS_LoadOBJPltt
GXS_LoadBG0Scr
GXS_LoadBG1Scr
GXS_LoadBG2Scr
GXS_LoadBG3Scr
GXS_LoadBG2Bmp
GXS_LoadBG3Bmp
GXS_LoadBG0Char
GXS_LoadBG1Char
GXS_LoadBG2Char
GXS_LoadBG3Char
GXS_BeginLoadBGExtPltt
GXS_LoadBGExtPltt
GXS_EndLoadBGExtPltt
GXS_BeginLoadOBJExtPltt
GXS_LoadOBJExtPltt
GXS_EndLoadOBJExtPltt
Other
GXS_SetMasterBrightness
GXS_GetMasterBrightness

2D Graphics (G2)

[Function List]

Common to the 2D Graphics Engines

OAM
G2_SetOBJAttr
G2_SetOBJAffine
G2_SetOBJPosition
G2_SetOBJPriority
G2_SetOBJMode
G2_SetOBJEffect
G2_SetOBJShape
G2_SetOBJCharName
G2_SetOBJColorMode
G2_OBJMosaic
G2_GetOBJPosition
G2_GetOBJPriority
G2_GetOBJMode
G2_GetOBJColorParam
G2_GetOBJEffect
G2_GetOBJShape
G2_GetOBJCharName
G2_GetOBJColorMode

Main 2D Graphics Engine

BG Control
G2_SetBG0Control
G2_GetBG0Control
G2_SetBG1Control
G2_GetBG1Control
G2_SetBG2ControlText
G2_GetBG2ControlText
G2_SetBG2ControlAffine
G2_GetBG2ControlAffine
G2_SetBG2Control256x16Pltt
G2_GetBG2Control256x16Pltt
G2_SetBG2Control256Bmp
G2_GetBG2Control256Bmp
G2_SetBG2ControlDCBmp
G2_GetBG2ControlDCBmp
G2_SetBG2ControlLargeBmp
G2_GetBG2ControlLargeBmp
G2_SetBG3ControlText
G2_GetBG3ControlText
G2_SetBG3ControlAffine
G2_GetBG3ControlAffine
G2_SetBG3Control256x16Pltt
G2_GetBG3Control256x16Pltt
G2_SetBG3Control256Bmp
G2_GetBG3Control256Bmp
G2_SetBG3ControlDCBmp
G2_GetBG3ControlDCBmp
G2_GetBG2ExtMode
G2_GetBG3ExtMode
Setting BG Display Priority Levels
G2_SetBG0Priority
G2_SetBG1Priority
G2_SetBG2Priority
G2_SetBG3Priority
Setting To Apply Or Not Apply Mosaic To BG
G2_BG0Mosaic
G2_BG1Mosaic
G2_BG2Mosaic
G2_BG3Mosaic
Acquiring Pointers
G2_GetBG0ScrPtr
G2_GetBG1ScrPtr
G2_GetBG2ScrPtr
G2_GetBG3ScrPtr
G2_GetBG0CharPtr
G2_GetBG1CharPtr
G2_GetBG2CharPtr
G2_GetBG3CharPtr
G2_GetOBJCharPtr
Setting BG Plane Offsets
G2_SetBG0Offset
G2_SetBG1Offset
G2_SetBG2Offset
G2_SetBG3Offset
Setting BG Plane Affine Conversions
G2_SetBG2Affine
G2_SetBG3Affine
Setting Windows
G2_SetWnd0InsidePlane
G2_GetWnd0InsidePlane
G2_SetWnd1InsidePlane
G2_GetWnd1InsidePlane
G2_SetWndOutsidePlane
G2_GetWndOutsidePlane
G2_SetWndOBJInsidePlane
G2_GetWndOBJInsidePlane
G2_SetWnd0Position
G2_SetWnd1Position
Mosaic
G2_SetBGMosaicSize
G2_SetOBJMosaicSize
Color Special Effects
G2_BlendNone
G2_SetBlendAlpha
G2_SetBlendBrightness
G2_ChangeBlendAlpha
G2_ChangeBlendBrightness

Sub 2D Graphics Engine

BG Control
G2S_SetBG0Control
G2S_GetBG0Control
G2S_SetBG1Control
G2S_GetBG1Control
G2S_SetBG2ControlText
G2S_GetBG2ControlText
G2S_SetBG2ControlAffine
G2S_GetBG2ControlAffine
G2S_SetBG2Control256x16Pltt
G2S_GetBG2Control256x16Pltt
G2S_SetBG2Control256Bmp
G2S_GetBG2Control256Bmp
G2S_SetBG2ControlDCBmp
G2S_GetBG2ControlDCBmp
G2S_SetBG3ControlText
G2S_GetBG3ControlText
G2S_SetBG3ControlAffine
G2S_GetBG3ControlAffine
G2S_SetBG3Control256x16Pltt
G2S_GetBG3Control256x16Pltt
G2S_SetBG3Control256Bmp
G2S_GetBG3Control256Bmp
G2S_SetBG3ControlDCBmp
G2S_GetBG3ControlDCBmp
G2S_GetBG2ExtMode
G2S_GetBG3ExtMode
Setting BG Display Priority Levels
G2S_SetBG0Priority
G2S_SetBG1Priority
G2S_SetBG2Priority
G2S_SetBG3Priority
Setting To Apply Or Not Apply Mosaic To BG
G2S_BG0Mosaic
G2S_BG1Mosaic
G2S_BG2Mosaic
G2S_BG3Mosaic
Acquiring Pointers
G2S_GetBG0ScrPtr
G2S_GetBG1ScrPtr
G2S_GetBG2ScrPtr
G2S_GetBG3ScrPtr
G2S_GetBG0CharPtr
G2S_GetBG1CharPtr
G2S_GetBG2CharPtr
G2S_GetBG3CharPtr
G2S_GetOBJCharPtr
Setting BG Plane Offsets
G2S_SetBG0Offset
G2S_SetBG1Offset
G2S_SetBG2Offset
G2S_SetBG3Offset
Setting BG Plane Affine Conversions
G2S_SetBG2Affine
G2S_SetBG3Affine
Setting Windows
G2S_SetWnd0InsidePlane
G2S_GetWnd0InsidePlane
G2S_SetWnd1InsidePlane
G2S_GetWnd1InsidePlane
G2S_SetWndOutsidePlane
G2S_GetWndOutsidePlane
G2S_SetWndOBJInsidePlane
G2S_GetWndOBJInsidePlane
G2S_SetWnd0Position
G2S_SetWnd1Position
Mosaic
G2S_SetBGMosaicSize
G2S_SetOBJMosaicSize
Color Special Effects
G2S_BlendNone
G2S_SetBlendAlpha
G2S_SetBlendBrightness
G2S_SetBlendBrightnessExt
G2S_ChangeBlendAlpha
G2S_ChangeBlendBrightness

3D Geometry (G3*)

[Function List]

Geometry Command Cycle List
Geometry And Vertices
G3*_Begin
G3*_End
G3*_Vtx
G3*_Vtx10
G3*_VtxXY
G3*_VtxXZ
G3*_VtxYZ
G3*_VtxDiff
G3*_Normal
G3*_Color
G3*_TexCoord
G3*_PolygonAttr
Matrix and Viewport
G3*_MtxMode
G3*_Identity
G3*_LoadMtx43
G3*_LoadMtx44
G3*_MultMtx43
G3*_MultMtx44
G3*_MultMtx33
G3*_MultTransMtx33
G3*_PushMtx
G3*_PopMtx
G3*_StoreMtx
G3*_RestoreMtx
G3*_Scale
G3*_Translate
G3*_ViewPort
Lighting
G3*_LightColor
G3*_LightVector
G3*_MaterialColorDiffAmb
G3*_MaterialColorSpecEmi
G3*_Shininess
Texture
G3*_TexImageParam
G3*_TexPlttBase
G3_MakeTexPlttBaseParam
Control
G3*_SwapBuffers
G3*_Nop
Geometry Visibility Determination
G3_BoxTest
G3_PositionTest
G3_VectorTest
Direct Write
G3*_Direct0
G3*_Direct1
G3*_Direct2
G3*_Direct3
Utilities
G3_Frustum
G3_Perspective
G3_Ortho
G3_FrustumW
G3_PerspectiveW
G3_OrthoW
G3_LookAt
G3_RotX
G3_RotY
G3_RotZ
G3*_LoadTexMtxTexCoord
G3*_LoadTexMtxEnv
Dynamic Creation of Display Lists
MakeDL
G3_BeginMakeDL
G3_EndMakeDL
G3_GetDLStart
G3_GetDLLength
G3_GetDLSize

3D Graphics Control (G3X)

[Function List]

Initialization
G3X_Init
G3X_InitTable
G3X_InitMtxStack
G3X_Reset
G3X_ResetMtxStack
Enabling and Disabling Each Function
G3X_AlphaTest
G3X_AlphaBlend
G3X_AntiAlias
Toon / Highlight Shading
G3X_SetShading
G3X_SetToonTable
Edge Color
G3X_EdgeMarking
G3X_SetEdgeColorTable
Fog
G3X_SetFog
G3X_SetFogColor
G3X_SetFogTable
Offset Settings
G3X_SetHOffset
G3X_SetClearImageOffset
Clear Color and Clear Depth
G3X_SetClearColor
Acquiring Test Results and Calculated Results
G3X_GetBoxTestResult
G3X_GetPositionTestResult
G3X_GetVectorTestResult
G3X_GetClipMtx
G3X_GetVectorMtx
Other
G3X_GetMtxStackLevelPV
G3X_GetMtxStackLevelPJ
G3X_IsGeometryBusy
G3X_IsMtxStackOverflow
G3X_IsLineBufferUnderflow
G3X_IsListRamOverflow
G3X_ResetMtxStackOverflow
G3X_ResetLineBufferUnderflow
G3X_ResetListRamOverflow
G3X_ClearFifo
G3X_GetPolygonListRamCount
G3X_GetVtxListRamCount
G3X_GetRenderedLineCount
G3X_GetCommandFifoCount
G3X_GetCommandFifoStatus
G3X_SetFifoIntrCond
G3X_SetDisp1DotDepth

Main Types And Macros

GXRgb
GXRgba
VexVtx10
VecVtxDiff
GXRgba
GXBoxTestParam
GXDLInfo
GXOamAttr
GXOamAffine
Macros
Display List Descriptive Macros
2D Screen Macros and Structures
API Prefixes for Creating Display Lists


CONFIDENTIAL