gSPSetStatus

gSPSetStatus [Macro]

Function

gSPSetStatus

Assigns the value "val" to the Status region

Syntax

#include <ultra64.h>        /* gs2dex.h */
gSPSetStatus(Gfx *gdl, u8 sid, u32 val)
gsSPSetStatus(u8 sid, u32 val)

Arguments

gdl
the display list pointer.
sid
any one of the Status IDs { 0, 4, 8, 12 }.
val
the value that you set.

Description

g[s]SPSetStatus assigns the value "val" to the Status region (Status[sid]) specified by "sid". This Status value is referenced for texture loading and branching decisions.

Revision History

02/01/99 Entirely revised.