Graphicx Library (GX) API Function List

GX State Issues

Geometry and Vertices

GXSetVtxDesc Sets the attribute type for the current vertex descriptor.
GXSetVtxDescv Sets the attribute type for the current vertex descriptor. This type passes a pointer to an array that lists multiple attributes.
GXClearVtxDesc Clears all attributes of the current vertex descriptor.
GXSetVtxAttrFmt Sets the attribute format for the VAT (Vertex Attribute Format Table).
GXSetVtxAttrFmtv Sets the attribute format for the VAT (Vertex Attribute Format Table). This type passes a pointer to an array that lists multiple attribute formats.
GXSetArray Sets the base attribute pointer and unitary attribute stride.
GXBegin Begins drawing graphics primitives.
GXEnd Ends drawing graphics primitives.
GXMatrixIndex1u8 Sets vertex matrix attributes.
GXPosition[n][t] Sets vertex position attributes.
GXNormal[n][t] Sets vertex normal attributes.
GXColor[n][t] Sets vertex color attributes.
GXTexCoord[n][t] Sets vertex texture coordinate attributes.
GXSetLineWidth Specifies the primitive width.
GXSetPointSize Specifies the size of point primitives.
GXEnableTexOffsets This function enables a special texture offset feature for points and lines. 
GXInvalidateVtxCache Invalidates the vertex cache.
GXGetVtxDesc Gets the unitary attribute type of the current vertex descriptor.
GXGetVtxDescv Gets multiple attribute descriptors.
GXGetVtxAttrFmt Returns the attribute format (attr).
GXGetVtxAttrFmtv Gets multiple attribute formats inside the unitary vertex format.
GXGetLineWidth This function returns the width and tex_offsets of line primitives. 
GXGetPointSize This function returns the size and tex_offset of point primitives. 

Display List

GXBeginDisplayList Stars the display list and disables writing to the FIFO attached to the current CPU.
GXEndDisplayList This function ends the display list and resumes writing graphics commands to the CPU FIFO.
GXCallDisplayList Sends a display list execution request to the GP.
GXFastCallDisplayList Functions the same as GXCallDisplayList. Although slightly faster, there are restrictions.

Transformation and Matrix

GXSetProjection Used to set the projection matrix.
GXSetProjectionv Used to set the projection matrix.
GXLoadPosMtxImm Loads a 3x4 model view matrix into matrix memory.
GXLoadPosMtxIndx 3x4 model view matrix into matrix memory using indices.
GXLoadNrmMtxImm Loads data from a 3x4 matrix used as a 3x3 normal transform matrix into matrix memory.
GXLoadNrmMtxImm3x3 Loads data from a 3x3 matrix used as a 3x3 normal transform matrix into matrix memory.
GXLoadNrmMtxIndx3x3 Loads data from a 3x3 matrix used as a 3x3 normal transform matrix into matrix memory using indices.
GXSetCurrentMtx Sets the current matrix.
GXLoadTexMtxImm Loads a texture matrix into matrix memory.
GXLoadTexMtxIndx Loads a texture matrix into matrix memory using indices.
GXSetViewport Sets the viewport rectangle in screen coordinates.
GXSetViewportJitter Sets the viewport and adjusts the line offset of the viewport for the interlaced field rendering mode.
GXSetViewportv Sets the viewport rectangle inside the screen coordinates.
GXGetProjectionv This function is used to get the current projection matrix in an array format. 
GXGetViewport Returns the current viewport rectangle.
GXGetViewportv This function gets the current viewport parameters and places them in array vp
GXProject Projects screen coordinates onto model coordinates.
GXSetZScaleOffset This function sets scale and offset values that are applied to the depth value of each pixel before it is written into the Z-buffer.

Clipping and Culling

GXSetScissor Sets the scissor rectangle.
GXSetCullMode Culling control.
GXSetClipMode Enables/disables the use of geometry culling.
GXSetCoPlanar Enables coplanar triangle processes.
GXSetScissorBoxOffset Shifts the scissor rectangle up and left, left, or up using an offset.
GXGetScissor This function returns the scissor box in the current screen coordinates.
GXGetCullMode Returns the current culling mode.

Lighting

GXLightObj Initialization Flow

GXLightObj Initialization Flow About the order of initialization of light objects.
GXInitLightAttn Sets the coefficients to use for lighting attenuation for a light object.
GXInitLightAttnA Sets the anglar attenuation coefficient to use for lighting attenuation for a light object.
GXInitLightAttnK Sets the distance attenuation coefficient to use for lighting attenuation for a light object.
GXInitLightSpot Sets the coefficient to use for angular attenuation for a spot light. This is a simplified version of GXInitLightAttn.
GXInitLightDistAttn Sets the coefficients for distance attenuation to use for a light object. This is a simplified version of GXInitLightAttn.
GXInitLightShininess This function sets the shininess of a per-vertex specular light. 
GXInitLightPos Sets the position for the light object.
GXInitLightPosv This macro function uses a vector structure to set the position of the light object. 
GXInitLightDir Sets the position of the light object.
GXInitLightDirv This macro function uses a vector structure to set the direction of the light object. 
GXInitSpecularDir Sets the direction of specular light for a light object.
GXInitSpecularDirv Sets the direction of specular light for a light object.
GXInitSpecularDirHA Sets the direction vector and half-angle vector for specular light.
GXInitSpecularDirHAv Uses vectors to sets the direction vector and half-way vector for specular light.
GXInitLightColor Sets the light color of the light object.
GXLoadLightObjImm Loads the hardwrae register settings for the light object.
GXLoadLightObjIndx Fetches a light object for the graphics processing using indices.
GXSetChanAmbColor Sets the ambient color register for the color channel.
GXSetChanMatColor Sets the material ambient color register for the color channel.
GXSetChanCtrl Sets the control for the color channel.
GXSetNumChans Sets the number of color channels used for output to the TEV stage.
GXGetLightAttnA Returns the coefficient used in the attenuation calculation for lighting.
GXGetLightAttnK Returns the coefficient used in the attenuation calculation for lighting.
GXGetLightPos This function returns the position coordinates set for a light object. 
GXGetLightPosv This function returns the position coordinates of the light from a light object to a vector structure. 
GXGetLightDir This function returns the light direction set for a light object. 
GXGetLightDirv This function returns the direction of the light from a light object to a vector structure. 
GXGetLightColor This function returns the light color set for a light object. 

Texture Coordinate Generation

GXSetTexCoordGen Specifies the method to use when generating texture coordinates.
GXSetNumTexGens This function sets the number of texture coordinates that are available for use in the Texture Environment (TEV) stages. 
GXSetTexCoordGen2 Can specify additional options for generating texture coordinates.
GXSetTexCoordScaleManually This function allows the scale value to be used to be manually assigned to the given texcoord.
GXSetTexCoordCylWrap Enables cylindrical texture coordinate wrapping.
GXSetTexCoordBias Controls range bias.

Textures

GXTexObj Initialization Flow
 GX Default TMEM configuration

GXInitTexObj Initializes and modifies texture objects that are not color index textures.
GXInitTexObjCI Initializes and modifies texture objects that have a color index format.
GXInitTexObjLOD Sets the texture LOD control parameter for a texture object.
GXLoadTexObj Loads the state describing a texture into one of eight hardware register settings.
GXInitTexObjUserData Sets a pointer to the user data in the GXTexObj structure.
GXInitTexObjData This function allows one to modify the image data pointer for an existing texture object. 
GXInitTexObjWrapMode This function allows one to modify the texture coordinate wrap mode for an existing texture object. 
GXInitTexObjTlut This function allows one to modify the TLUT that is associated with an existing texture object.
GXInitTexObjFilter This function allows one to modify the texture filter for an existing texture object. 
GXInitTexObjMaxLOD This function allows one to modify the maximum LOD value for an existing texture object. 
GXInitTexObjMinLOD This function allows one to modify the minimum LOD value for an existing texture object. 
GXInitTexObjLODBias This function allows one to modify the LOD bias value for an existing texture object. 
GXInitTexObjBiasClamp This function allows one to modify the bias clamp mode for an existing texture object. 
GXInitTexObjEdgeLOD This function allows one to modify the edge LOD mode for an existing texture object. 
GXInitTexObjMaxAniso This function allows one to modify the anisotropic filter mode for an existing texture object. 
GXInitTlutObj Initializes objects in the Texture Look-Up Table (TLUT).
GXLoadTlut Copies the texture lookup table from main memory into TMEM.
GXInitTexCacheRegion Initializes the texture memory cache region.
GXInitTexPreLoadRegion Initializes the texture memory for preload.
GXInitTlutRegion Initializes objects in the Texture Look-Up Table (TLUT) region.
GXInvalidateTexRegion Invalidates the texture cache inside texture memory (TMEM).
GXInvalidateTexAll Invalidates all texture caches inside texture memory (TMEM).
GXSetTexRegionCallback Specifies the function that defines the allocation of a non-default texture region.
GXSetTlutRegionCallback Specifies the function that defines the allocation of a non-default TLUT region.
GXPreLoadEntireTexture Loads a texture into texture memory. (Preload region)
GXLoadTexObjPreLoaded Loads the GXTexObj structure used for textures that are preloaded.
GXGetTexObjData This function returns a pointer to the texture data described by the texture object obj.
GXGetTexObjWidth This function returns the width of the texture described by the texture object obj.
GXGetTexObjHeight This function returns the height of the texture described by the texture object obj.
GXGetTexObjFmt This function returns the texture format described by the texture object obj.
GXGetTexObjWrapS This function returns the texture wrap mode in the s direction described by the texture object obj.
GXGetTexObjWrapT This function returns the texture wrap mode in the t direction described by the texture object obj.
GXGetTexObjMipMap This function returns the texture mipmap enable described by the texture object obj.
GXGetTexObjUserData This function is used to get a pointer to user data.
GXGetTexObjTlut This function returns the TLUT name by the texture object obj.
GXGetTexObjAll This function returns the parameters described by the texture object.
GXGetTexObjLODAll This function returns the LOD-related parameters described by a texture object. 
GXGetTlutObjData This function returns a pointer to a Texture Look-Up Table (TLUT) in main memory from tlut_obj.  
GXGetTlutObjFmt This function returns the format of the Texture Look-Up Table (TLUT) in main memory from tlut_obj.  
GXGetTlutObjNumEntries This function returns the number of entries in the Texture Look-Up Table (TLUT) in main memory from tlut_obj.  
GXGetTlutObjAll This function returns all the parameters describing the Texture Look-Up Table (TLUT) object.  
GXGetTexRegionAll This function returns all parameters describing texture memory region objects.
GXGetTlutRegionAll This function returns all parameters describing TLUT region objects.
GXGetTexBufferSize This function is useful for returning the total amount of buffer memory (in bytes.)_

Texture Environment (TEV)

TEV Configuration Guide

GXSetTevOp Sets the TEV combine mode.
GXSetTevColorIn Sets the TEV input color source.
GXSetTevAlphaIn Sets the TEV input alpha source.
GXSetTevColorOp Sets parameters for the TEV color combiner function.
GXSetTevAlphaOp Sets parameters for the TEV alpha combiner function.
GXSetTevColor Sets a color into the TEV color register.
GXSetTevColorS10 Sets one of the constant color registers in the TEV unit.
GXSetAlphaCompare Sets the TEV alpha compare.
GXSetTevKColorSel Selects the color input (constant) to be used on the given TEV stage.
GXSetTevKAlphaSel Selects the alpha input (constant) to be used on the given TEV stage.
GXSetTevKColor This function is used to set one of the "k(c)onstant" color registers in the Texture Environment (TEV) unit. 
GXSetTevSwapMode Selects the swap mode for the given TEV stage.
GXSetTevSwapModeTable This function makes the TEV swap table settings.
GXSetTevOrder Sets the texture and rasterized color to be used for TEV input.
GXSetZTexture Sets Z texture processing.
GXSetNumTevStages Enables serial number settings for TEV stages.

Indirect Texture

GXSetNumIndStages This function is used to set how many indirect lookups will take place. 
GXSetIndTexOrder This function is used to specify the texture coordinates and texture map.
GXSetIndTexCoordScale This function is used when one wishes to share a texcoord between an indirect stage and a regular TEV stage.
GXSetIndTexMtx This function lets you set one of the three static indirect matrices and the associated scale factor. 
GXSetTevIndWarp This function allows the texture coordinates used in a regular TEV stage lookup table to be warped and twisted.
GXSetTevIndTile This function can be used to implement tile textures that use indirect textures.
GXSetTevIndBumpST This function sets indirect lookup for environment-mapped bump-maps (EMBM).
GXSetTevIndRepeat This function is used when one wishes to use the same texture coordinates for a given TEV stage as computed for the previous stage. 
GXSetTevIndBumpXYZ This function sets indirect lookup for environment-mapped bump-maps.
GXSetTevIndirect This general-purpose function specifies how to control a regular TEV stage lookup as a result of indirect lookup.
GXSetTevDirect This function is used to turn off all indirect texture processing for the specified regular TEV stage.

Pixel Processing

GXSetFog Sets fog.
GXSetFogColor Sets fog color.
GXInitFogAdjTable Creates a fog range adjustment table.
GXSetFogRangeAdj Sets fog range adjustments.
GXSetBlendMode Sets blend mode.
GXSetColorUpdate Enables updating of the color buffer.
GXSetAlphaUpdate Enables updating of the color buffer.
GXSetZMode Sets the Z compare mode.
GXSetZCompLoc Sets whether Z buffer processing comes before or after texture processing.
GXSetPixelFmt Sets the pixel format for the frame buffer.
GXSetDither Enables dithering.
GXSetDstAlpha Sets the alpha value used to write to the EFB.
GXSetFieldMode Controls rasterize and texture parameters for field mode/double-strike rendering.
GXSetFieldMask Selectively enables/disables frame buffer interlacing.

Frame Buffer

Render Modes

GXAdjustForOverscan Returns altered results compressed to fit within the size given so as to eliminate overscan.
GXSetDispCopySrc Sets the source parameter to use for copying from EFB to XFB.
GXSetDispCopyDst Sets the display buffer stride in pixels.
GXSetDispCopyFrame2Field Enables the extraction of fields from the EFB while copying the display buffer.
GXSetDispCopyGamma Applies gamma correction to pixels being copied from the EFB to XFB.
GXSetDispCopyYScale Sets the vertical scale for copying from the EFB to XFB.
GXGetYScaleFactor Calculates the appropriate Y scale factor value for GXSetDispCopyYScale.
GXGetNumXfbLines This function is useful for calculating the actual number of lines being copied to the XFB.
GXSetTexCopySrc Sets parameters for copying the EFB to the texture image.
GXSetTexCopyDst Sets the texture buffer to be copied from the EFB.
GXSetCopyClear Sets the color and Z value to use when clearing the embedded frame buffer during copying.
GXSetCopyFilter Enables anti-aliasing and sets the sub-pixel sampling pattern and vertical filter coefficient for using sub-pixel filters on pixels.
GXSetCopyClamp Sets the vertical clamp mode when copying from the EFB to the XFB or a texture.
GXCopyDisp Copies from the EFB to the XFB.
GXCopyTex Copies from the EFB to a texture image buffer.
GXClearBoundingBox Clears the pixel coordinate bounding box values so that graphics hardware can draw to the EFB.
GXReadBoundingBox Loads the pixel coordinate bounding box values so that graphics hardware can draw to the EFB.

CPU Direct EFB Access

GXPokeAlphaMode Sets the threshold so that it can be compared to the pixel alpha loaded in the EFB using the GXPoke* function.
GXPokeAlphaRead Sets the alpha value to be loaded when the EFB pixel type does not have an alpha.
GXPokeAlphaUpdate Sets ON/OFF for alpha buffer updating using GXPoke*.
GXPokeBlendMode Specifies the blend method with the source image EFB loaded using GXPoke*.
GXPokeColorUpdate Sets ON/OFF for color buffer updating when writing the EFB using GXPoke*.
GXPokeDstAlpha Sets the constant alpha value when writing to the EFB using GXPoke*.
GXPokeDither Enables dithering when writing to the EFB using GXPoke*.
GXPokeZMode Sets the Z buffer compare mode when writing to the EFB using GXPoke*.
GXPokeARGB Writes the color value directly from the CPU to the X, Y position in the EFB.
GXPeekARGB Loads the color value directly from the X, Y position in the EFB to the CPU.
GXPokeZ Writes the Z value directly from the CPU to the X, Y position in the EFB.
GXPeekZ Loads the Z value directly from the X, Y position in the EFB to the CPU.
GXCompressZ16 Helps write the Z value directly to the 16-bit Z buffer when using GXPokeZ.
GXDecompressZ16 Helps load the Z value directly from the 16-bit Z buffer when using GXPeekZ.

Graphics FIFO

GXInitFifoBase Sets the main memory used by the FIFO.
GXInitFifoPtrs Sets the read and write pointers for the FIFO.
GXInitFifoLimits Sets the high and low water marks for the FIFO.
GXSetCPUFifo Attaches the FIFO to the CPU.
GXGetCPUFifo Returns a pointer to the current CPU FIFO object.
GXSetGPFifo Attaches the FIFO to the GP.
GXGetGPFIfo Returns a pointer to the current GP FIFO object.
GXGetFifoPtrs Gets the read and write pointer values for the current graphics FIFO.
GXGetGPStatus Reads the current state of the GP.
GXEnableBreakPt Sets the break point address for the FIFO attached to the GP.
GXDisableBreakPt Restarts loading of data to the FIFO attached to the GP.
GXSetBreakPtCallback This function registers cb as a function to be invoked when a break point is encountered. 
GXGetCurrentGXThread Gets the current GX thread.
GXSetCurrentGXThread Gets the current GX thread.
GXGetOverflowCount This function returns the number of FIFO overflows that have occurred since the last call to GXResetOverflowCount.
GXResetOverflowCount This function sets the current FIFO overflow count to zero, and returns the last count.

Graphics Pipeline Management

Runtime Warnings for GXSetVerifyLevel

GXInit Sets the default state for the graphics processor (GP).
GXAbortFrame Aborts the current frame.
GXSetDrawSync Sends a token into the command stream.
GXReadDrawSync Reads the token register value written by GXSetDrawSync.
GXSetDrawSyncCallback This function installs a callback that is invoked whenever a token is encountered by the graphics pipeline. 
GXDrawDone Synchronous functions
GXSetDrawDone Synchronous functions
GXWaitDrawDone Synchronous functions
GXSetDrawDoneCallback Always register a callback function to be called when a command that is done drawing appears to the graphics processor.
GXFlush Flushes the write gather FIFO in the CPU.
GXPixModeSync Synchronous functions
GXTexModeSync Synchronous functions
GXSetVerifyLevel This function is used with the debug GX library to control the types of warnings generated at runtime. 
GXSetVerifyCallback This function installs a callback that is invoked whenever a verify warning is encountered by the GX API (only for debug builds). 
GXRedirectWriteGatherPipe Temporarily sets the new location for the write gather pipe.
GXRestoreWriteGatherPipe Returns the write gather pipe to its original state.
GXResetWriteGatherPipe Resets the write gather pipe.
GXSetMisc Used to control settings passed to various functions.

Performance Metrics

Vertex Performance Calculator

GXSetGPMetric This function sets two performance metrics to measure, perf0 and perf1.
GXReadGPMetric Returns the preset performance metric count.
GXClearGPMetric Clears the both virtual GP performance counters to zero.
GXSetGP0Metric This function sets two performance metrics to measure, perf0 and perf1.
GXReadGP0Metric Returns the current value of Performance Counter 0.
GXClearGP0Metric Clears the both virtual GP performance counters to zero.
GXSetGP1Metric This function sets two performance metrics to measure, perf0 and perf1.
GXReadGP1Metric Returns the current value of perf1, which represents Performance Counter 1.
GXClearGP1Metric Clears the both virtual GP performance counters to zero.
GXSetVCacheMetric Sets what is to be measured so that the vertex cache performance counter can measure it.
GXReadVCacheMetric Returns the value of the vertex cache performance counter.
GXClearVCacheMetric Clears the vertex cache performance counter by sending a special clear token.
GXReadMemMetric This function returns the number of memory requests made by each memory master.
GXClearMemMetric Clears the memory request counter.
GXReadPixMetric Returns the number of clock cycles consumed during copying.
GXClearPixMetric Resets the counter to zero.

Procedural Models

GXDrawCube Draws a cube.
GXDrawCylinder Draws a cylinder.
GXDrawDodeca Draws a dodecahedron.
GXDrawIcosahedron Draws an Icosahedron.
GXDrawOctahedron Draws an Octahedron.
GXDrawSphere Draws a sphere.
GXDrawSphere1 Draws a sphere by dividing an icosahedron into sections.
GXDrawTorus Draws a torus.

Structures

GXColor Color structure.
GXColorS10 Signed color structure.
GXFifoObj Structure used when initializing/updating with GXInitFifo.
GXLightObj Structure used when initializing/updating with GXInitLight.
GXRenderModeObj Structure used to store data defining the render mode.
GXTexObj Structure used when initializing/updating with GXInitTex.
GXTexRegion Structure used when initializing/updating with GXInitTexCacheRegion.
GXTlutObj Structure used when initializing/updating with GXInitTlutObj.
GXTlutRegion Structure used when initializing/updating with GXInitTlutRegion.
GXVtxAttrFmtList Structure used to list the attribute formats.
GXVtxDescList Structure used to describe how attributes are to be accessed.
GXFogAdjTable Fog range adjustment parameter table.

Enumerated Types

GXAlphaOp Alpha combine control.
GXAlphaReadMode Texture environment (TEV) control.
GXAnisotropy Maximum anisotropic filter control.
GXAttnFn Lighting attenuation control.
GXAttr Name of the vertex attribute or array. 
GXAttrType Type of attribute reference.
GXBlendFactor Blending controls.
GXBlendMode Blending type.
GXBool Boolean type.
GXChannelID Name of color channel used for lighting.
GXCITexFmt Color index texture format types.
GXClipMode Clip mode.
GXColorSrc Source of color input.
GXCompare Compare types.
GXCompCnt Number of components in an attribute.
GXCompType Type of components in an attribute.
GXCopyMode Copy mode from EFB.
GXCullMode Backface culling modes.
GXDiffuseFn Diffuse lighting function control.
GXDistAttnFn Type of brightness decreasing (distance attenuation) function by distance.
GXFBClamp Frame buffer clamp modes when copying.
GXFogType Fog equation control.
GXGamma Gamma values.
GXIndTexAlphaSel Indirect texture bump alpha select. 
GXIndTexBiasSel Indirect texture bias select. 
GXIndTexFormat Indirect texture formats. 
GXIndTexMtxID Indirect texture matrix ID. 
GXIndTexScale Indirect texture scale value. 
GXIndTexStageID Indirect texture stage ID. 
GXIndTexWrap Indirect texture wrap value. 
GXLightID The name of the light.
GXLogicOp Logical operation types.
GXMiscToken Miscellaneous control setting values.
GXPerf0 These are the performance counter 0 metrics.
GXPerf1 These are the performance counter 1 metrics.
GXPixelFmt Frame buffer pixel formats.
GXPosNrmMtx Position-Normal matrix index.
GXPrimitive Primitive type
GXProjectionType Projection type.
GXPTTexMtx Post-transform texture matrix index.
GXSpotFn Function type for the illumination distribution of the spotlight.
GXTevAlphaArg Texture environment (TEV) input control.
GXTevBias Tev bias values.
GXTevColorArg Texture Environment (TEV) input control.
GXTevColorChan TEV color channel components.
GXTevKAlphaSel TEV constant alpha input selection.
GXTevKColorID Texture Environment constant color register name.
GXTevKColorSel TEV constant color input selection.
GXTevMode Texture Environment (TEV) control.
GXTevOp Texture environment (TEV) control.
GXTevRegID Texture environment (TEV) source/destination register name. 
GXTevScale Texture environment (TEV) control.
GXTevStageID Texture Environment (TEV) stage name.
GXTevSwapSel TEV color swap table entries.
GXTexCacheSize Size of texture cache regions.
GXTexCoordID Name of texture coordinate.
GXTexFilter Texture filter types.
GXTexFmt RGB, RGBA, Intensity, Intensity/Alpha, Compressed, and Z texture format types.
GXTexGenSrc Texture coordinate source parameter.
GXTexGenType Texture coordinate generation method.
GXTexMapID Texture map name.
GXTexMtx Texture matrix index.
GXTexMtxType Texture matrix type.
GXTexOffset Texture offset values.
GXTexWrapMode Texture coordinate controls
GXTlut Name of Texture Look-Up Table (TLUT) in texture memory. 
GXTlutFmt Texture LookUp Table (TLUT) formats.
GXTlutSize Size of the Texture LookUp Table (TLUT) in texture memory.
GXVCachePerf Vertex cache performance counter parameters.
GXVtxFmt Vertex format number.
GXWarningLevel Sets the warning level.
GXZFmt16 Compressed Z formats
GXZTexOp Z texture operations.

Color Format

GXPackedRGB565 Packs RGB color components into RGB565 16-bit format.
GXPackedRGB5A3 Pack RGBA color components into RGBA5551/4443 16-bit format.
GXPackedRGBA4 Pack RGBA color components into RGBA4444 16-bit format.
Graphics API Function List