グラフィックス(GX/G2/G2Util/G3/G3Util/G3X)

[機能一覧]

2D/3Dグラフィックス一般(GX)

2Dグラフィックスエンジン共通

パワーコントロール
GX_SetPower
GX_GetPower
GX_Power2D
GX_Power3D
GX_Power2DMain
GX_Power2DSub
GX_PowerGeometry
GX_PowerRender
GX_SetDispSelect
GX_GetDispSelect
初期化
GX_Init
GX_InitEx
GX_SetDefaultDMA
GX_GetDefaultDMA
GX_InitNDMAEx
GX_SetDefaultNDMA
GX_GetDefaultNDMA
VRAMバンクのリソースへの割り当て
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
リソースに割り当てられたVRAMバンク情報の取得
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
LCDCメモリ空間への切り替え
GX_ResetBankForBG
GX_ResetBankForOBJ
GX_ResetBankForBGExtPltt
GX_ResetBankForOBJExtPltt
GX_ResetBankForTex
GX_ResetBankForTexPltt
GX_ResetBankForClearImage
GX_ResetBankForSubBG
GX_ResetBankForSubOBJ
GX_ResetBankForSubBGExtPltt
GX_ResetBankForSubOBJExtPltt
GX_ResetBankForARM7
VRAMバンクのリソース割り当ての解除
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
VRAMバンクの割り当てサイズ取得
GX_GetSizeOfBG
GX_GetSizeOfOBJ
GX_GetSizeOfBGExtPltt
GX_GetSizeOfOBJExtPltt
GX_GetSizeOfTex
GX_GetSizeOfTexPltt
GX_GetSizeOfClearImage
GX_GetSizeOfSubBG
GX_GetSizeOfSubOBJ
GX_GetSizeOfSubBGExtPltt
GX_GetSizeOfSubOBJExtPltt
GX_GetSizeOfARM7
割り込み・その他
GX_GetVCount
GX_SetVCount
GX_IsHBlank
GX_IsVBlank
GX_IsVCountEq
GX_VCountEqIntr
GX_SetVCountEqVal
GX_GetVCountEqVal
GX_HBlankIntr
GX_VBlankIntr

メイン2Dグラフィックスエンジン

表示モードとBGモードの設定
GX_SetGraphicsMode
GX_GetDispCnt
表示・非表示の設定
GX_SetVisiblePlane
GX_GetVisiblePlane
GX_SetVisibleWnd
GX_GetVisibleWnd
GX_DispOn
GX_DispOff
GX_BlankScr
GX_HBlankOBJProc
オフセットの設定
GX_SetBGScrOffset
GX_SetBGCharOffset
OBJマッピングモードの設定
GX_SetOBJVRamModeChar
GX_GetOBJVRamModeChar
GX_SetOBJVRamModeBmp
GX_GetOBJVRamModeBmp
各種リソースのロード(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
各種リソースのロード(3D)
GX_BeginLoadTex
GX_LoadTex
GX_EndLoadTex
GX_BeginLoadTexPltt
GX_LoadTexPltt
GX_EndLoadTexPltt
GX_BeginLoadClearImage
GX_LoadClearImageColor
GX_LoadClearImageDepth
GX_EndLoadClearImage
その他
GX_SetCapture
GX_ResetCapture
GX_SetMasterBrightness
GX_GetMasterBrightness

サブ2Dグラフィックスエンジン

表示モードの設定
GXS_SetGraphicsMode
GXS_GetDispCnt
表示・非表示の設定
GXS_SetVisiblePlane
GXS_GetVisiblePlane
GXS_SetVisibleWnd
GXS_GetVisibleWnd
GXS_DispOn
GXS_DispOff
GXS_HBlankOBJProc
OBJマッピングモードの設定
GXS_SetOBJVRamModeChar
GXS_GetOBJVRamModeChar
GXS_SetOBJVRamModeBmp
GXS_GetOBJVRamModeBmp
各種リソースのロード
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
その他
GXS_SetMasterBrightness
GXS_GetMasterBrightness

2Dグラフィクス関連(G2)

[機能一覧]

2Dグラフィックスエンジン共通

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

メイン2Dグラフィックスエンジン

BGコントロール
G2_SetBG0Control
G2_GetBG0Control
G2_SetBG1Control
G2_GetBG1Control
G2_SetBG2ControlText
G2_GetBG2ControlText
G2_SetBG2ControlAffine
G2_GetBG2ControlAffine
G2_SetBG2Control256x16Affine
G2_GetBG2Control256x16Affine
G2_SetBG2Control256Bmp
G2_GetBG2Control256Bmp
G2_SetBG2ControlDCBmp
G2_GetBG2ControlDCBmp
G2_SetBG2ControlLargeBmp
G2_GetBG2ControlLargeBmp
G2_SetBG3ControlText
G2_GetBG3ControlText
G2_SetBG3ControlAffine
G2_GetBG3ControlAffine
G2_SetBG3Control256x16Affine
G2_GetBG3Control256x16Affine
G2_SetBG3Control256Bmp
G2_GetBG3Control256Bmp
G2_SetBG3ControlDCBmp
G2_GetBG3ControlDCBmp
G2_GetBG2ExtMode
G2_GetBG3ExtMode
BGの表示優先度の設定
G2_SetBG0Priority
G2_SetBG1Priority
G2_SetBG2Priority
G2_SetBG3Priority
BGのモザイク適用/不適用の設定
G2_BG0Mosaic
G2_BG1Mosaic
G2_BG2Mosaic
G2_BG3Mosaic
ポインタの取得
G2_GetBG0ScrPtr
G2_GetBG1ScrPtr
G2_GetBG2ScrPtr
G2_GetBG3ScrPtr
G2_GetBG0CharPtr
G2_GetBG1CharPtr
G2_GetBG2CharPtr
G2_GetBG3CharPtr
G2_GetOBJCharPtr
BG平面のオフセットの設定
G2_SetBG0Offset
G2_SetBG1Offset
G2_SetBG2Offset
G2_SetBG3Offset
BG平面のアフィン変換の設定
G2_SetBG2Affine
G2_SetBG3Affine
ウィンドウの設定
G2_SetWnd0InsidePlane
G2_GetWnd0InsidePlane
G2_SetWnd1InsidePlane
G2_GetWnd1InsidePlane
G2_SetWndOutsidePlane
G2_GetWndOutsidePlane
G2_SetWndOBJInsidePlane
G2_GetWndOBJInsidePlane
G2_SetWnd0Position
G2_SetWnd1Position
モザイク
G2_SetBGMosaicSize
G2_SetOBJMosaicSize
カラー特殊効果
G2_BlendNone
G2_SetBlendAlpha
G2_SetBlendBrightness
G2_ChangeBlendAlpha
G2_ChangeBlendBrightness

サブ2Dグラフィックスエンジン

BGコントロール
G2S_SetBG0Control
G2S_GetBG0Control
G2S_SetBG1Control
G2S_GetBG1Control
G2S_SetBG2ControlText
G2S_GetBG2ControlText
G2S_SetBG2ControlAffine
G2S_GetBG2ControlAffine
G2S_SetBG2Control256x16Affine
G2S_GetBG2Control256x16Affine
G2S_SetBG2Control256Bmp
G2S_GetBG2Control256Bmp
G2S_SetBG2ControlDCBmp
G2S_GetBG2ControlDCBmp
G2S_SetBG3ControlText
G2S_GetBG3ControlText
G2S_SetBG3ControlAffine
G2S_GetBG3ControlAffine
G2S_SetBG3Control256x16Affine
G2S_GetBG3Control256x16Affine
G2S_SetBG3Control256Bmp
G2S_GetBG3Control256Bmp
G2S_SetBG3ControlDCBmp
G2S_GetBG3ControlDCBmp
G2S_GetBG2ExtMode
G2S_GetBG3ExtMode
BGの表示優先度の設定
G2S_SetBG0Priority
G2S_SetBG1Priority
G2S_SetBG2Priority
G2S_SetBG3Priority
BGのモザイク適用/不適用の設定
G2S_BG0Mosaic
G2S_BG1Mosaic
G2S_BG2Mosaic
G2S_BG3Mosaic
ポインタの取得
G2S_GetBG0ScrPtr
G2S_GetBG1ScrPtr
G2S_GetBG2ScrPtr
G2S_GetBG3ScrPtr
G2S_GetBG0CharPtr
G2S_GetBG1CharPtr
G2S_GetBG2CharPtr
G2S_GetBG3CharPtr
G2S_GetOBJCharPtr
BG平面のオフセットの設定
G2S_SetBG0Offset
G2S_SetBG1Offset
G2S_SetBG2Offset
G2S_SetBG3Offset
BG平面のアフィン変換の設定
G2S_SetBG2Affine
G2S_SetBG3Affine
ウィンドウの設定
G2S_SetWnd0InsidePlane
G2S_GetWnd0InsidePlane
G2S_SetWnd1InsidePlane
G2S_GetWnd1InsidePlane
G2S_SetWndOutsidePlane
G2S_GetWndOutsidePlane
G2S_SetWndOBJInsidePlane
G2S_GetWndOBJInsidePlane
G2S_SetWnd0Position
G2S_SetWnd1Position
モザイク
G2S_SetBGMosaicSize
G2S_SetOBJMosaicSize
カラー特殊効果
G2S_BlendNone
G2S_SetBlendAlpha
G2S_SetBlendBrightness
G2S_SetBlendBrightnessExt
G2S_ChangeBlendAlpha
G2S_ChangeBlendBrightness

3Dジオメトリ関連(G3*)

[機能一覧]

ジオメトリコマンドサイクル一覧
ジオメトリと頂点
G3*_Begin
G3*_End
G3*_Vtx
G3*_Vtx10
G3*_VtxXY
G3*_VtxXZ
G3*_VtxYZ
G3*_VtxDiff
G3*_Normal
G3*_Color
G3*_TexCoord
G3*_PolygonAttr
行列とビューポート
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
ライティング
G3*_LightColor
G3*_LightVector
G3*_MaterialColorDiffAmb
G3*_MaterialColorSpecEmi
G3*_Shininess
テクスチャ
G3*_TexImageParam
G3*_TexPlttBase
G3_MakeTexPlttBaseParam
コントロール
G3*_SwapBuffers
G3*_Nop
ジオメトリ可視判定
G3_BoxTest
G3_PositionTest
G3_VectorTest
ダイレクト書き込み
G3*_Direct0
G3*_Direct1
G3*_Direct2
G3*_Direct3
ユーティリティ
G3_Frustum
G3_Perspective
G3_Ortho
G3_FrustumW
G3_PerspectiveW
G3_OrthoW
G3_LookAt
G3_RotX
G3_RotY
G3_RotZ
G3*_LoadTexMtxTexCoord
G3*_LoadTexMtxEnv
動的ディスプレイリスト生成
ディスプレイリスト作成 API 接頭語
G3_BeginMakeDL
G3_EndMakeDL
G3_GetDLStart
G3_GetDLLength
G3_GetDLSize

3Dグラフィクス制御(G3X)

[機能一覧]

初期化
G3X_Init
G3X_InitTable
G3X_InitMtxStack
G3X_Reset
G3X_ResetMtxStack
各種機能の有効/無効
G3X_AlphaTest
G3X_AlphaBlend
G3X_AntiAlias
トゥーン/ハイライトシェーディング
G3X_SetShading
G3X_SetToonTable
エッジカラー
G3X_EdgeMarking
G3X_SetEdgeColorTable
フォグ
G3X_SetFog
G3X_SetFogColor
G3X_SetFogTable
オフセットの設定
G3X_SetHOffset
G3X_SetClearImageOffset
クリアカラーとクリアデプス
G3X_SetClearColor
テスト結果・演算結果の取得
G3X_GetBoxTestResult
G3X_GetPositionTestResult
G3X_GetVectorTestResult
G3X_GetClipMtx
G3X_GetVectorMtx
その他
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

主要な型とマクロ

GXRgb
GXRgba
VexVtx10
VecVtxDiff
GXRgba
GXBoxTestParam
GXDLInfo
GXOamAttr
GXOamAffine
マクロ
ディスプレイリスト記述用マクロ
2Dスクリーン関係のマクロや構造体
ディスプレイリスト作成 API 接頭語