Repository navigation
Gfx GX Fn GXGetArray
wowjinxy edited this page Apr 9, 2026
·
2 revisions
- Category:
Geometry and Vertex - Matrix Status:
Implemented - Matrix Notes: Added base pointer + stride getter for indexed attribute arrays.
- Matrix Link: Gfx-GX-API-Matrix
- Manual root:
reference/rvlsdk/man/en_US/gx - Primary SDK source area:
demos/PikminDemo/src/gx(GC-style Dolphin GX source) - Notes:
- Confirm official signature/prototype
- Confirm documented side effects (register/state updates)
- Confirm special behavior and edge cases from manual
- Runtime implementation area:
src/gx - Public API surface:
include/dolphin/gx - Notes:
- Confirm API signature matches SDK
- Confirm state writes match SDK semantics
- Confirm backend behavior in PC renderer path
- Signature parity:
- SDK:
- Porpoise:
- Behavioral parity:
- SDK:
- Porpoise:
- GX demo coverage checked
- Pikmin usage path checked
- Matrix status updated if needed
- Notes updated with concrete file/function references
- Docs checked against
reference/man/gfx/gx/Geometry/GXGetArray.html. - Runtime parity updates in
src/gx/pc_gx.c:-
GX_VA_NBTnow aliases toGX_VA_NRMarray slot on readback (mirrorsGXSetArraybehavior). - Accepted attribute range matches SDK-style array attrs (
GX_VA_POS .. GX_LIGHT_ARRAY) with safe early return otherwise. - Returns stored
base_ptr+stride; null-safe output pointers default toNULL/0on invalid input.
-