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

[機能一覧]

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

パワーコントロール

GX_Power
GX_PowerLCD
GX_Power2D
GX_PowerGeometry
GX_PowerRender

初期化

GX_Init

表示モードとBGモードの設定

GX_SetGraphicsMode

表示・非表示の設定

GX_SetVisiblePlane
GX_SetVisibleWindow
GX_BlankScreen

オフセットの設定

GX_SetBGScreenOffset
GX_SetBGCharOffset

OBJマッピングモードの設定

GX_SetCharOBJMemoryMode
GX_SetBitmapOBJMemoryMode

VRAMバンクのリソースへの割り当て

GX_SetBankForBG
GX_SetBankForOBJ
GX_SetBankForBGEXTPLTT
GX_SetBankForOBJEXTPLTT
GX_SetBankForTEX
GX_SetBankForTEXPLTT
GX_SetBankForCLRIMG
GX_SetBankForARM7
GX_SetBankForLCDC

LCDCメモリ空間への切り替え

GX_ResetBankForBG
GX_ResetBankForOBJ
GX_ResetBankForBGEXTPLTT
GX_ResetBankForOBJEXTPLTT
GX_ResetBankForTEX
GX_ResetBankForTEXPLTT
GX_ResetBankForCLRIMG
GX_ResetBankForARM7

VRAMバンクのリソース割り当ての解除

GX_DisableBankForBG
GX_DisableBankForOBJ
GX_DisableBankForBGEXTPLTT
GX_DisableBankForOBJEXTPLTT
GX_DisableBankForTEX
GX_DisableBankForTEXPLTT
GX_DisableBankForCLRIMG
GX_DisableBankForARM7
GX_DisableBankForLCDC

WRAMのバンク割り当て

GX_SetWRAMBank

割り込み・その他

GX_Capture
GX_SetMasterBrightness
GX_GetVCount
GX_SetVCount
GX_IsHBlank
GX_IsVBlank
GX_IsVCounter
GX_IsHBlankIntrEnable
GX_IsVBlankIntrEnable
GX_VCounterIntr
GX_HBlankIntr
GX_VBlankIntr

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

BGコントロール

G2_SetBG0Control
G2_SetBG1Control
G2_SetBG2ControlText
G2_SetBG2ControlAffine
G2_SetBG2ControlExt256x16Pltt
G2_SetBG2ControlExt256Bmp
G2_SetBG2ControlExtDCBmp
G2_SetBG3ControlText
G2_SetBG3ControlAffine
G2_SetBG3ControlExt256x16Pltt
G2_SetBG3ControlExt256Bmp
G2_SetBG3ControlExtDCBmp

BGの表示優先度の設定

G2_BG0ControlPriority
G2_BG1ControlPriority
G2_BG2ControlPriority
G2_BG3ControlPriority

BGのモザイク適用/不適用の設定

G2_BG0ControlMosaic
G2_BG1ControlMosaic
G2_BG2ControlMosaic
G2_BG3ControlMosaic

ポインタの取得

G2_GetBG0ScreenPtr
G2_GetBG1ScreenPtr
G2_GetBG2ScreenPtr
G2_GetBG3ScreenPtr
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_SetWindow0InsidePlane
G2_SetWindow1InsidePlane
G2_SetWindowOutsidePlane
G2_SetOBJWindowInsidePlane
G2_SetWindow0Position
G2_SetWindow1Position

モザイク

G2_SetBGMosaicSize
G2_SetOBJMosaicSize

カラー特殊効果

G2_SetBlendNone
G2_SetBlendAlphaOBJAnd3D
G2_SetBlendAlpha
G2_SetBlendBrightness
G2_SetBlendBrightnessAndAlphaOBJAnd3D
G2_SetBlendAlphaParam
G2_SetBlendBrightnessParam

OAM

G2_SetOBJAttribute
G2_SetOBJAffine
G2_SetOBJXY
G2_SetOBJPriority
G2_SetOBJMode
G2_SetOBJEffect
G2_SetOBJShape
G2_SetOBJCharName

2Dグラフィクスユーティリティ(G2Util)

各種リソースのロード

G2Util_LoadOBJ
G2Util_LoadOAM
G2Util_LoadBGPltt
G2Util_LoadOBJPltt
G2Util_LoadBG0Screen
G2Util_LoadBG1Screen
G2Util_LoadBG2Screen
G2Util_LoadBG3Screen
G2Util_LoadBG0Char
G2Util_LoadBG1Char
G2Util_LoadBG2Char
G2Util_LoadBG3Char
G2Util_BeginLoadBGExtPltt
G2Util_LoadBGExtPltt
G2Util_EndLoadBGExtPltt
G2Util_BeginLoadOBJExtPltt
G2Util_LoadOBJExtPltt
G2Util_EndLoadOBJExtPltt

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

ジオメトリと頂点

G3*_Begin
G3*_End
G3*_Vertex
G3*_VertexShort
G3*_VertexXY
G3*_VertexXZ
G3*_VertexYZ
G3*_VertexDiff
G3*_Normal
G3*_Color
G3*_TexCoord
G3*_TexCoordImm
G3*_PolygonAttr

行列とビューポート

G3*_MtxMode
G3*_Identity
G3*_LoadMtx43
G3*_LoadMtx44
G3*_MultMtx43
G3*_MultMtx44
G3*_MultMtx33
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*_TexPlttBaseImm

コントロール

G3*_SwapBuffers
G3*_Nop

ジオメトリ可視判定

G3_BoxTest
G3_PositionTest
G3_VectorTests

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

初期化

G3X_Init
G3X_InitTables
G3X_InitMtxStack
G3X_Reset
G3X_ResetMtxStack

各種機能の有効/無効

G3X_AlphaTest
G3X_AlphaBlend
G3X_AntiAlias

トゥーン/ハイライトシェーディング

G3X_Shading
G3X_SetToonTable

エッジカラー

G3X_EdgeMarking
G3X_SetEdgeColorTable

フォグ

G3X_Fog
G3X_SetFogColor
G3X_SetFogTable

オフセットの設定

G3X_SetBG0Offset
G3X_SetClearImageOffset

クリアカラーとクリアデプス

G3X_SetClearColor
G3X_SetClearDepth

テスト結果・演算結果の取得

G3X_GetBoxTestResult
G3X_GetPositionTestResult
G3X_GetVectorTestResult
G3X_GetClipMtx
G3X_GetVectorMtx

その他

G3X_GetMtxStackLevelPV
G3X_GetMtxStackLevelPJ
G3X_IsGeometryBusy
G3X_SetFIFOIntrCond
G3X_SetDisp1DotDepth
G3X_GetG3XMiscStatus
G3X_SetG3XMiscStatus

3Dグラフィックスユーティリティ(G3Util)

行列

G3Util_Frustum
G3Util_Perspective
G3Util_Ortho
G3Util_LookAt
G3Util_RotX
G3Util_RotY
G3Util_RotZ
G3Util_LoadTextureMtx

各種リソースのロード

G3Util_BeginLoadTexture
G3Util_LoadTexture
G3Util_EndLoadTexture
G3Util_BeginLoadTexturePltt
G3Util_LoadTexturePltt
G3Util_EndLoadTexturePltt
G3Util_BeginLoadClearImage
G3Util_LoadClearImageColor
G3Util_LoadClearImageDepth
G3Util_EndLoadClearImage