#[repr(u32)]pub enum ArgType {
Show 96 variants
gfxd_Word = 0,
gfxd_Opcode = 1,
gfxd_Coordi = 2,
gfxd_Coordq = 3,
gfxd_Pal = 4,
gfxd_Tlut = 5,
gfxd_Timg = 6,
gfxd_Tmem = 7,
gfxd_Tile = 8,
gfxd_Fmt = 9,
gfxd_Siz = 10,
gfxd_Dim = 11,
gfxd_Cm = 12,
gfxd_Tm = 13,
gfxd_Ts = 14,
gfxd_Dxt = 15,
gfxd_Tag = 16,
gfxd_Pm = 17,
gfxd_Colorpart = 18,
gfxd_Color = 19,
gfxd_Lodfrac = 20,
gfxd_Cimg = 21,
gfxd_Zimg = 22,
gfxd_Ac = 23,
gfxd_Ad = 24,
gfxd_Cd = 25,
gfxd_Ccpre = 26,
gfxd_Ccmuxa = 27,
gfxd_Ccmuxb = 28,
gfxd_Ccmuxc = 29,
gfxd_Ccmuxd = 30,
gfxd_Acmuxabd = 31,
gfxd_Acmuxc = 32,
gfxd_Cv = 33,
gfxd_Tc = 34,
gfxd_Cyc = 35,
gfxd_Zs = 36,
gfxd_Ck = 37,
gfxd_Keyscale = 38,
gfxd_Keywidth = 39,
gfxd_Zi = 40,
gfxd_Rm1 = 41,
gfxd_Rm2 = 42,
gfxd_Sc = 43,
gfxd_Td = 44,
gfxd_Tf = 45,
gfxd_Tl = 46,
gfxd_Tt = 47,
gfxd_Tp = 48,
gfxd_Line = 49,
gfxd_Vtx = 50,
gfxd_Vtxflag = 51,
gfxd_Dl = 52,
gfxd_Zraw = 53,
gfxd_Dlflag = 54,
gfxd_Cr = 55,
gfxd_Num = 56,
gfxd_Fogz = 57,
gfxd_Fogp = 58,
gfxd_Mtxptr = 59,
gfxd_Gm = 60,
gfxd_Mwo_matrix = 61,
gfxd_Linewd = 62,
gfxd_Uctext = 63,
gfxd_Ucdata = 64,
gfxd_Size = 65,
gfxd_Lookatptr = 66,
gfxd_Mtxparam = 67,
gfxd_Mtxstack = 68,
gfxd_Mwo_point = 69,
gfxd_Wscale = 70,
gfxd_Seg = 71,
gfxd_Segptr = 72,
gfxd_Lightsn = 73,
gfxd_Numlights = 74,
gfxd_Lightnum = 75,
gfxd_Lightptr = 76,
gfxd_Tcscale = 77,
gfxd_Switch = 78,
gfxd_St = 79,
gfxd_Stdelta = 80,
gfxd_Vtxptr = 81,
gfxd_Vpptr = 82,
gfxd_Dram = 83,
gfxd_Sftlo = 84,
gfxd_Othermodelo = 85,
gfxd_Sfthi = 86,
gfxd_Othermodehi = 87,
gfxd_Mw = 88,
gfxd_Mwo = 89,
gfxd_Mwo_clip = 90,
gfxd_Mwo_lightcol = 91,
gfxd_Mv = 92,
gfxd_Mvo = 93,
gfxd_Dmem = 94,
gfxd_Dmaflag = 95,
}Variants§
gfxd_Word = 0
generic word
gfxd_Opcode = 1
command opcode (G_*)
gfxd_Coordi = 2
integer coordinate
gfxd_Coordq = 3
fractional (q10.2) coordinate
gfxd_Pal = 4
palette index
gfxd_Tlut = 5
tlut pointer
gfxd_Timg = 6
texture image pointer
gfxd_Tmem = 7
tmem address
gfxd_Tile = 8
tile index
gfxd_Fmt = 9
texture format
gfxd_Siz = 10
texture pixel size
gfxd_Dim = 11
integer dimension (width / height)
gfxd_Cm = 12
clamp and mirror flags
gfxd_Tm = 13
tile mask
gfxd_Ts = 14
tile shift
gfxd_Dxt = 15
texture dxt
gfxd_Tag = 16
generic tag
gfxd_Pm = 17
pipeline mode
gfxd_Colorpart = 18
color component
gfxd_Color = 19
color
gfxd_Lodfrac = 20
lod fraction (q0.8)
gfxd_Cimg = 21
color image pointer
gfxd_Zimg = 22
depth image pointer
gfxd_Ac = 23
alpha compare mode
gfxd_Ad = 24
alpha dither mode
gfxd_Cd = 25
color dither mode
gfxd_Ccpre = 26
color combiner preset index
gfxd_Ccmuxa = 27
color mux operand (a)
gfxd_Ccmuxb = 28
color mux operand (b)
gfxd_Ccmuxc = 29
color mux operand (c)
gfxd_Ccmuxd = 30
color mux operand (d)
gfxd_Acmuxabd = 31
alpha mux operand (a, b, or d)
gfxd_Acmuxc = 32
alpha mux operand (c)
gfxd_Cv = 33
color convert operand
gfxd_Tc = 34
texture convert mode
gfxd_Cyc = 35
cycle type
gfxd_Zs = 36
depth source mode
gfxd_Ck = 37
combine key mode
gfxd_Keyscale = 38
combine key scale
gfxd_Keywidth = 39
combine key width
gfxd_Zi = 40
integer depth
gfxd_Rm1 = 41
cycle 1 render mode
gfxd_Rm2 = 42
cycle 2 render mode
gfxd_Sc = 43
scissor mode
gfxd_Td = 44
texture detail mode
gfxd_Tf = 45
texture filter mode
gfxd_Tl = 46
texture LOD mode
gfxd_Tt = 47
textuure LUT mode
gfxd_Tp = 48
texture perspective mode
gfxd_Line = 49
texture line size
gfxd_Vtx = 50
vertex index
gfxd_Vtxflag = 51
vertex flag
gfxd_Dl = 52
display list pointer
gfxd_Zraw = 53
raw depth value (q16.16)
gfxd_Dlflag = 54
display list flag
gfxd_Cr = 55
clip ratio
gfxd_Num = 56
element count
gfxd_Fogz = 57
fog factor
gfxd_Fogp = 58
fog position (0 - 1000)
gfxd_Mtxptr = 59
matrix pointer
gfxd_Gm = 60
geometry mode
gfxd_Mwo_matrix = 61
matrix moveword offset
gfxd_Linewd = 62
line width (1.5 + q7.1)
gfxd_Uctext = 63
microcode text pointer
gfxd_Ucdata = 64
microcode data pointer
gfxd_Size = 65
data size
gfxd_Lookatptr = 66
lookat pointer
gfxd_Mtxparam = 67
matrix param
gfxd_Mtxstack = 68
matrix param (stack select only)
gfxd_Mwo_point = 69
vertex moveword offset
gfxd_Wscale = 70
w-component scale (perspnorm)
gfxd_Seg = 71
segment number
gfxd_Segptr = 72
segment pointer
gfxd_Lightsn = 73
dereferenced LightsM (0-7 or n) pointer
gfxd_Numlights = 74
light count (NUMLIGHTS_*)
gfxd_Lightnum = 75
light number (LIGHT_*)
gfxd_Lightptr = 76
diffuse or ambient light pointer
gfxd_Tcscale = 77
texture coordinate scale
gfxd_Switch = 78
on-off value
gfxd_St = 79
vertex coordinate (q10.5)
gfxd_Stdelta = 80
vertex coordinate delta (q5.10)
gfxd_Vtxptr = 81
vertex pointer
gfxd_Vpptr = 82
viewport pointer
gfxd_Dram = 83
generic dram address
gfxd_Sftlo = 84
othermode lo shift
gfxd_Othermodelo = 85
othermode lo value
gfxd_Sfthi = 86
othermode hi shift
gfxd_Othermodehi = 87
othermode hi value
gfxd_Mw = 88
moveword index
gfxd_Mwo = 89
moveword offset
gfxd_Mwo_clip = 90
clip ratio moveword offset
gfxd_Mwo_lightcol = 91
light color moveword offset
gfxd_Mv = 92
movemem index
gfxd_Mvo = 93
movemem offset
gfxd_Dmem = 94
dmem address
gfxd_Dmaflag = 95
dma io flag