Skip to main content

tfrag-h

source

Types


drawable-inline-array-tfrag

drawable-inline-array-tfrag: drawable-inline-arraysource
Fields
type: type
id: int16
bsphere: vector
length: int16
data: tfragment
pad: uint32

drawable-inline-array-tfrag-trans

drawable-inline-array-tfrag-trans: drawable-inline-array-tfragsource
Fields
type: type
id: int16
bsphere: vector
length: int16
data: tfragment
pad: uint32
data2: tfragment
pad2: uint32

drawable-inline-array-tfrag-water

drawable-inline-array-tfrag-water: drawable-inline-array-tfragsource
Fields
type: type
id: int16
bsphere: vector
length: int16
data: tfragment
pad: uint32
data2: tfragment
pad2: uint32

drawable-tree-tfrag

drawable-tree-tfrag: drawable-treesource
Fields
type: type
id: int16
bsphere: vector
length: int16
data: drawable
time-of-day-pal: time-of-day-palette
arrays: drawable-inline-array

drawable-tree-tfrag-trans

drawable-tree-tfrag-trans: drawable-tree-tfragsource
Fields
type: type
id: int16
bsphere: vector
length: int16
data: drawable
time-of-day-pal: time-of-day-palette
arrays: drawable-inline-array

drawable-tree-tfrag-water

drawable-tree-tfrag-water: drawable-tree-tfrag-transsource
Fields
type: type
id: int16
bsphere: vector
length: int16
data: drawable
time-of-day-pal: time-of-day-palette
arrays: drawable-inline-array

generic-tfragment

generic-tfragment: structuresource
Fields
dummy: int32

tfrag-control

tfrag-control: structuresource
Fields
num-base-points: uint32
num-shared-base-points: uint32
num-level0-points: uint32
num-shared-level0-points: uint32
num-level1-points: uint32
num-shared-level1-points: uint32
ptr-vtxdata: uint32
ptr-base-points: uint32
ptr-shared-base-points: uint32
ptr-level0-points: uint32
ptr-shared-level0-points: uint32
ptr-level1-points: uint32
ptr-shared-level1-points: uint32
ptr-draw-points: uint32
ptr-interpolated-0: uint32
ptr-shared-interpolated-0: uint32
ptr-interpolated1: uint32
ptr-shared-interpolated1: uint32
ptr-strip-data: uint32
ptr-texture-data: uint32

tfrag-data

tfrag-data: structuresource
Fields
data: uint32
vector: vector
fog: vector
val: vector
strgif: gs-gif-tag
fangif: gs-gif-tag
adgif: gs-gif-tag
hvdf-offset: vector
hmge-scale: vector
invh-scale: vector
ambient: vector
guard: vector
dists: tfrag-dists
k0s: uint128
k1s: uint128

tfrag-dists

tfrag-dists: structuresource
Fields
data: uint32
vector: vector
k0s: vector
k1s: vector

tfrag-dma

tfrag-dma: structuresource
Fields
banka: tfragment
bankb: tfragment
outa: uint128
outb: uint128
colors: rgba

tfrag-packet

tfrag-packet: structuresource
Fields
tag: uint128

tfrag-stats

tfrag-stats: structuresource
Fields
from: int32
to: int32
cnt: int32
tris: int32
tfaces: int32
tfrags: int32
dtris: int32
base-verts: int32
level0-verts: int32
level1-verts: int32
dma-cnt: int32
dma-dta: int32
dma-tex: int32
strips: int32
drawpoints: int32
vif: int32

tfrag-work

tfrag-work: structuresource
Fields
base-tmpl: dma-packet
level-0-tmpl: dma-packet
common-tmpl: dma-packet
level-1-tmpl: dma-packet
color-tmpl: dma-packet
frag-dists: vector
min-dist: vector
color-ptr: vector4w
tr-stat-tfrag: tr-stat
tr-stat-tfrag-scissor: tr-stat
vu1-enable-tfrag: int32
vu1-enable-tfrag-scissor: int32
cur-vis-bits: uint32
end-vis-bits: uint32
src-ptr: uint32
last-call: uint32
dma-buffer: basic
test-id: uint32
wait-from-spr: uint32
wait-to-spr: uint32
near-wait-from-spr: uint32
near-wait-to-spr: uint32
max-fragment: uint16
min-fragment: uint16
texture-dists: uint32

tfragment

tfragment: drawablesource
Fields
type: type
id: int16
bsphere: vector
color-index: uint16
debug-data: tfragment-debug-data
color-indices: uint32
colors: uint32
dma-chain: uint32
dma-common: uint32
dma-level-0: uint32
dma-base: uint32
dma-level-1: uint32
dma-qwc: uint8
dma-u32: uint32
shader: inline-array
num-shaders: uint8
num-base-colors: uint8
num-level0-colors: uint8
num-level1-colors: uint8
color-offset: uint8
color-count: uint8
texture-masks-index: uint16
generic: generic-tfragment
generic-u32: uint32

tfragment-debug-data

tfragment-debug-data: structuresource
Fields
stats: tfragment-stats
debug-lines: array

tfragment-stats

tfragment-stats: structuresource
Fields
num-tris: uint16
num-dverts: uint16

tfrag-methods

source

Types


tfrag-init-data

tfrag-init-data: structuresource
Fields
tfrag-bucket: bucket-id
tfrag-scissor-bucket: bucket-id
tfrag-trans-bucket: bucket-id
tfrag-scissor-trans-bucket: bucket-id
tfrag-water-bucket: bucket-id
tfrag-water-scissor-bucket: bucket-id

Functions


draw-drawable-tree-tfrag

draw-drawable-tree-tfrag(arg0: drawable-tree-tfrag) => nonesource

draw-drawable-tree-tfrag-trans

draw-drawable-tree-tfrag-trans(arg0: drawable-tree-tfrag) => nonesource

draw-drawable-tree-tfrag-water

draw-drawable-tree-tfrag-water(arg0: drawable-tree-tfrag) => nonesource

edge-debug-lines

edge-debug-lines(arg0: array) => nonesource

tfrag-scissor-vu1-init-buf

tfrag-scissor-vu1-init-buf(arg0: bucket-id, arg1: gs-test, arg2: int, arg3: uint, arg4: symbol) => nonesource

tfrag-vu1-init-buf

tfrag-vu1-init-buf(arg0: bucket-id, arg1: gs-test, arg2: int, arg3: uint, arg4: symbol) => nonesource

tfrag-vu1-init-buffers

tfrag-vu1-init-buffers() => nonesource

Variables


*pc-tfrag-draw-level*

*pc-tfrag-draw-level*: levelsource

*tfrag-init-table*

*tfrag-init-table*: inline-arraysource

tfrag-near

source

Functions


clip-restore

clip-restore() => nonesource

tfrag-details

tfrag-details(arg0: tfragment) => nonesource

Variables


tnear-vu1-block

const tnear-vu1-block: vu-functionsource

tfrag-work

source

Variables


*tfrag-work*

*tfrag-work*: tfrag-worksource

Functions


add-tfrag-data

add-tfrag-data(arg0: dma-buffer, arg1: int, arg2: int) => nonesource

add-tfrag-mtx-0

add-tfrag-mtx-0(arg0: dma-buffer, arg1: symbol) => nonesource

add-tfrag-mtx-1

add-tfrag-mtx-1(arg0: dma-buffer, arg1: symbol) => nonesource

stats-tfrag-asm

stats-tfrag-asm(frag: tfragment) => nonesource

tfrag-data-setup

tfrag-data-setup(arg0: tfrag-data, arg1: int, arg2: int) => nonesource

tfrag-end-buffer

tfrag-end-buffer(arg0: dma-buffer, arg1: int) => nonesource

tfrag-init-buffer

tfrag-init-buffer(arg0: dma-buffer, arg1: gs-test, arg2: int, arg3: symbol) => nonesource

tfrag-print-stats

tfrag-print-stats(arg0: symbol) => nonesource

tfrag-scissor-end-buffer

tfrag-scissor-end-buffer(arg0: dma-buffer, arg1: uint) => nonesource

tfrag-scissor-init-buffer

tfrag-scissor-init-buffer(arg0: dma-buffer, arg1: gs-test, arg2: int, arg3: symbol) => nonesource

Variables


*tfrag-display-stats*

*tfrag-display-stats*: symbolsource

t-stat

const t-stat: tfrag-statssource

tfrag-vu1-block

const tfrag-vu1-block: vu-functionsource