Graphics DP GBI Macros Nintendo® Confidential

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

Almost all gDP macros have two versions: the main version (prefaced with gDP) that is listed here, and an alternative static version (prefaced with gsDP) that is shown only in each macro's Syntax section. Please read about the header file gbi.h.

F3=F3DEX; S2=S2DEX

gDPFillRectangle (F3, S2) | Renders a solid color rectangle. This function is normally used to clear the screen and to initialize the color buffer or Z buffer.
gDPScisFillRectangle (F3, S2) | Renders a solid color rectangle. This function is normally used to clear the screen and to initialize the color buffer or Z buffer.
gDPFullSync (F3, S2) | Signals the end of a frame
gDPLoadSync (F3, S2) | Synchronizes texture loads
gDPTileSync (F3, S2) | Synchronizes the settings of texture tiles
gDPPipeSync (F3, S2) | Synchronizes the attribute interpolation pipe
gDPLoadTLUT_pal16 (F3, S2) | Loads a texture look-up table into 1 of 16 palettes in texture memory (TMEM)
gDPLoadTLUT_pal256 (F3, S2) | Loads a texture look-up table into 1 of 256 palettes in texture memory (TMEM)
gDPLoadTextureBlock (F3, S2) | Loads a texture image in a contiguous block from DRAM to on-chip texture memory (TMEM)
gDPLoadTextureBlock_4b (F3, S2) | Loads a texture image in a contiguous block from DRAM to on-chip texture memory (TMEM)
gDPLoadTextureTile (F3, S2) | Loads a subtile of a larger texture image from DRAM to on-chip texture memory (TMEM)
gDPLoadTextureTile_4b (F3, S2) | Loads a subtile of a larger texture image from DRAM to on-chip texture memory (TMEM)
gDPLoadBlock (F3) | Loads a texture image in a contiguous block from DRAM to on-chip texture memory (TMEM). It should not be used in a program
gDPNoOp (F3, S2) | Does nothing but provide a few stall cycles for debugging purposes
gDPNoOpTag (F3, S2) | Does nothing but provide a few stall cycles for debugging purposes and includes a tag number to help with debugging
gDPPipelineMode (F3) | Sets the pipeline mode for the coherency of the span buffer
gDPSetBlendColor (F3, S2) | Sets the blend color in the RDP internal color register
gDPSetEnvColor (F3, S2) | Sets the environment color in the RDP internal color register
gDPSetFillColor (F3, S2) | Sets the fill color in the RDP internal color register
gDPSetFogColor (F3, S2) | Sets the fog color in the RDP internal color register
gDPSetPrimColor (F3, S2) | Sets the primitive color in the RDP internal color register
gDPSetColorImage (F3, S2) | Sets the framebuffer area for color images
gDPSetDepthImage (F3, S2) | Sets the framebuffer area for depth images
gDPSetTextureImage (F3, S2) | Sets the framebuffer area for texture images
gDPSetHilite1Tile (F3) | Sets texture parameters in RDP for specular highlight rendering
gDPSetHilite2Tile (F3) | Sets texture parameters in RDP for specular highlight rendering
gDPSetAlphaCompare (F3, S2) | Sets the alpha compare mode
gDPSetAlphaDither (F3, S2) | Sets (or disables) the type of alpha dithering to use
gDPSetColorDither (F3, S2) | Sets (or disables) various types of color dithering
gDPSetCombineMode (F3, S2) | Sets the color combiner (CC) modes
gDPSetConvert (F3, S2) | We currently cannot guarantee the behavior of YUV textures.
gDPSetTextureConvert (F3, S2) | We currently cannot guarantee the behavior of YUV textures.
gDPSetCycleType (F3, S2) | Sets the RDP cycle type
gDPSetDepthSource (F3, S2) | Sets the depth source value for comparing with the z buffer
gDPSetCombineKey (F3, S2) | We currently cannot guarantee the behavior of the chroma key functions. (But these can be used to specify registers for the color combiner.)
gDPSetKeyGB (F3, S2) | We currently cannot guarantee the behavior of the chroma key functions. (But these can be used to specify registers for the color combiner.)
gDPSetKeyR (F3, S2) | We currently cannot guarantee the behavior of the chroma key functions. (But these can be used to specify registers for the color combiner.)
gDPSetPrimDepth (F3, S2) | Sets the primitive depth (z) in the RDP
gDPSetRenderMode (F3, S2) | Sets the rendering modes of the blender
gDPSetScissor (F3, S2) | Sets the scissor box, which eliminates pixels drawn outside of the box region, in screen coordinates
gDPSetTextureDetail (F3, S2) | Settings for detail texture
gDPSetTextureFilter (F3, S2) | Sets the type of filter used when sampling a texture tile
gDPSetTextureLOD (F3, S2) | Enables or disables for LOD or MIP mapped textures
gDPSetTextureLUT (F3, S2) | Sets texel type of Texture Lookup Table (TLUT)
gDPSetTexturePersp (F3, S2) | Enables and disables for perspective-corrected texture maps
gDPSetTile (F3, S2) | Works with gDPSetTileSize to set up multi-tile texture modes like mip-mapping, detail, and sharpen
gDPSetTileSize (F3, S2) | Sets tile parameters that define the origin and extent of the texture tile
gDPClearOtherMode | Used with the Turbo3D microcode to initialize the RDP's "othermode" command. Unsupported.
gDPEndDisplayList | Used with the Turbo3D microcode to end an RDP display list. Unsupported.

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-1999
Nintendo of America Inc.
All rights reserved.
Last updated March 1999