Graphics SP GBI Macros in Alphabetical Order Nintendo® Confidential

To search the list, choose Find from the Edit menu in your browser.

Almost all gSP macros have two versions - the main version (prefaced with gSP) that is listed here as well as at the top of each macro's page and an alternative static version (prefaced with gsSP) that is shown only in each macro's Format section.

gSP1Triangle (F3DEX) | Draws 1 triangle
gSP2Triangles (F3DEX) | Draws 2 triangles
gSPBranchLessZ (F3DEX) | Performs LOD processing on models
gSPBranchLessZrg (F3DEX) | Performs LOD processing on models
gSPBranchList (F3DEX, S2DEX) | Display list command
gSPClipRatio (F3DEX) | Specifies the relative sizes of clipping and scissoring boxes
gSPCullDisplayList (F3DEX) | Culls off-screen portions of display list
gSPDisplayList (F3DEX, S2DEX) | Attaches branching display list to current display list
gSPEndDisplayList (F3DEX, S2DEX) | Ends the display list
gSPFogPosition (F3DEX) | Specifies fog thickness
gSPForceMatrix (F3DEX) | Loads new matrix without performing multiplication
gSPSetGeometryMode (F3DEX) | Makes various geometry pipeline mode settings
gSPClearGeometryMode (F3DEX) | Clears geometry pipeline modes
gSPInsertMatrix (F3DEX) | Updates matrix elements multiplication
gSPLine3D | Draws 1 line
gSPLineW3D | Draws 1 line (with half-pixel unit parameter attached)
gSPLoadUcode (F3DEX, S2DEX) | Loads microcode
gSPLoadUcodeL (F3DEX, S2DEX) | A simplified form of gSPLoadUcode
gSPLookAt (F3DEX) | Loads a LookAt structure in the RSP for specular highlighting and projection mapping
gSPLookAtX (F3DEX) | Loads a LookAt structure in the RSP for specular highlighting and projection mapping
gSPLookAtY (F3DEX) | Loads a LookAt structure in the RSP for specular highlighting and projection mapping
gSPMatrix (F3DEX) | Loads matrix - concatenate and push stack
gSPModifyVertex (F3DEX) | Modifies a vertex after it is loaded into the RSP
gSPPerspNormalize (F3DEX) | Normalizes the perspective projection
gSPPopMatrix (F3DEX) | Pops 1 matrix stack
gSPSegment (F3DEX, S2DEX) | Sets base address and segment register
gSPSetLights (F3DEX) | Loads light structure in the RSP
gSPSetStatus (S2DEX) | Assigns the "val" value to the status region
gSPNumLights (F3DEX) | Specifies the number of light structures to load in the RSP
gSPLight (F3DEX) | Loads a light structure in the RSP
gSPLightColor (F3DEX) | Quickly changes the light color in the RSP
gSPTexture (F3DEX) | Enables textures and scales coordinate in the RSP
gSPTextureRectangle (F3DEX, S2DEX) | Renders a textured rectangle in the screen coordinates
gSPScisTextureRectangle (F3DEX, S2DEX) | Renders a textured rectangle in the screen coordinates
gSPTextureRectangleFlip (F3DEX, S2DEX) | Renders a textured rectangle by flipping the s/t coordinates
gSPVertex (F3DEX) | Loads vertices in the on-chip vertex cache
gSPViewport (F3DEX) | Loads the viewport projection parameters
gSPBgRectCopy (S2DEX) | The simplest of the BG drawing GBIs
gSPBgRect1Cyc (S2DEX) | A BG drawing GBI which can enlarge/reduce the BG
gSPObjRectangle (S2DEX) | A sprite drawing GBI used for non-rotating sprites
gSPObjRectangleR (S2DEX) | A sprite drawing GBI used for non-rotating sprites
gSPObjSprite (S2DEX) | Used for drawing rotating sprites
gSPObjMatrix (S2DEX) | Used for setting a rotating sprite
gSPObjSubMatrix (S2DEX) | Loads the data of the uObjSubMtx structure into the 2D matrix area of the RSP
gSPObjRenderMode (S2DEX) | Changes the object render mode in the RSP
gSPObjLoadTxtr (S2DEX) | References the texture load parameters and performs those load processes
gSPObjLoadTxRect (S2DEX) | Performs the texture load processes and then draws a non-rotating sprite
gSPObjLoadTxRectR (S2DEX) | Performs the texture load processes and then draws a non-rotating sprite referencing the 2D matrix
gSPObjLoadTxSprite (S2DEX) | Performs the texture load processes and then draws a rotating sprite
gSPSelectDL (S2DEX) | Evaluates status [sid] and calls another display list depending on the TRUE/FALSE result
gSPSelectBranchDL (S2DEX) | Evaluates status [sid] and calls another display list depending on the TRUE/FALSE result
Functions no Longer Supported |
gSPSprite2DBase | Sends the sprite microcode to the initialized sprite structure to start actual processing
gSPSprite2DDraw | Specifies the screen coordinates where the sprite is to be drawn, and starts actual screen drawing using the parameters specified by gSPSprite2DBase and gSPSprite2DScaleFlip
gSPSprite2DScaleFlip | Specifies the X/Y scaling and/or flipping parameters for a sprite
gSP1Quadrangle | Draws a single rectangle face {v0, v1, v2, v3}

Warning: all information in this document is confidential and covered by a non-disclosure agreement. You are responsible for keeping this information confidential and protected. Nintendo will vigorously enforce this responsibility. Copyright © 1998
Nintendo of America Inc.
All rights reserved.
Last updated March 1999