al - Audio Library Functions gDP - DP GBI Macros gdSP - General GBI Macros gSP - SP GBI Macros gt - Turbo Microcode RDP gu - Graphics Utilities Math - Math Functions nuSys - NuSystem os - N64 Operating System sp - Sprite Library Functions uh - Host to Target IO 64DD - N64 Disk Drive
|
gSPObjLoadTxSprite [macro]Loads a texture and draws a rotating sprite in a compound process. Syntax
Arguments
Explanation
If rotation is not necessary, use g*SPObjLoadTxRect or g*SPObjLoadTxRectR. Since g*SPObjLoadTxRect does not reference the 2D matrix settings, the settings do not affect the drawing results. g*SPObjLoadTxRectR references the 2D matrix settings to change the screen coordinates for drawing. Cautions
typedef struct { uObjTxtr txtr; uObjSprite sprite; } uObjTxSprite; The uObjTxSprite structure is a concatenation of the uObjTxtr structure and the uObjSprite structure, so it holds both texture load data and sprite drawing data. For details, see gSPObjLoadTxtr and gSPObjSprite. See Also
Revision History
|