kos_sys
0.1.0
Module pvr
Structs
Constants
Functions
Type Aliases
In kos_
sys::
dc
Module
kos_sys
::
dc
::
pvr
Copy item path
source
·
[
−
]
Structs
§
blend_
poly_
cxt_
t
blend_
sprite_
cxt_
t
depth_
cxt_
t
fmt_
cxt_
t
gen_
poly_
cxt_
t
gen_
sprite_
cxt_
t
pvr_
init_
params_
t
pvr_
mod_
hdr_
t
pvr_
modifier_
vol_
t
pvr_
poly_
cxt_
t
pvr_
poly_
hdr_
t
pvr_
poly_
ic_
hdr_
t
pvr_
poly_
mod_
hdr_
t
pvr_
sprite_
col_
t
pvr_
sprite_
cxt_
t
pvr_
sprite_
hdr_
t
pvr_
sprite_
txr_
t
pvr_
stats_
t
pvr_
vertex_
pcm_
t
pvr_
vertex_
t
pvr_
vertex_
tpcm_
t
txr_
cxt_
t
Constants
§
PVR_
ALPH
A_
DISABLE
PVR_
ALPH
A_
ENABLE
PVR_
BGPLAN
E_
CFG
PVR_
BGPLAN
E_
Z
PVR_
BINSIZ
E_
0
PVR_
BINSIZ
E_
8
PVR_
BINSIZ
E_
16
PVR_
BINSIZ
E_
32
PVR_
BITMA
P_
X
PVR_
BITMA
P_
Y
PVR_
BLEN
D_
DESTALPHA
PVR_
BLEN
D_
DESTCOLOR
PVR_
BLEN
D_
DISABLE
PVR_
BLEN
D_
ENABLE
PVR_
BLEN
D_
INVDESTALPHA
PVR_
BLEN
D_
INVDESTCOLOR
PVR_
BLEN
D_
INVSRCALPHA
PVR_
BLEN
D_
ONE
PVR_
BLEN
D_
SRCALPHA
PVR_
BLEN
D_
ZERO
PVR_
BORDE
R_
COLOR
PVR_
BORDE
R_
X
PVR_
BORDE
R_
Y
PVR_
CHEA
P_
SHADOW
PVR_
CLRCLAM
P_
DISABLE
PVR_
CLRCLAM
P_
ENABLE
PVR_
CLRFM
T_
4FLOATS
PVR_
CLRFM
T_
ARGBPACKED
PVR_
CLRFM
T_
INTENSITY
PVR_
CLRFM
T_
INTENSIT
Y_
PRE
PVR_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
USERCLI
P_
OUTSIDE
PVR_
UVCLAM
P_
NONE
PVR_
UVCLAM
P_
U
PVR_
UVCLAM
P_
UV
PVR_
UVCLAM
P_
V
PVR_
UVFLI
P_
NONE
PVR_
UVFLI
P_
U
PVR_
UVFLI
P_
UV
PVR_
UVFLI
P_
V
PVR_
UVFM
T_
16BIT
PVR_
UVFM
T_
32BIT
PVR_
VIDE
O_
CFG
PVR_
VPOS_
IRQ
PVR_
YUV_
ADDR
PVR_
YUV_
CFG
PVR_
YUV_
STAT
Functions
§
PVR_
PACK_
16BI
T_
UV
⚠
pvr_
check_
ready
⚠
pvr_
dma_
init
⚠
pvr_
dma_
load_
ta
⚠
pvr_
dma_
ready
⚠
pvr_
dma_
shutdown
⚠
pvr_
dma_
transfer
⚠
pvr_
dma_
yuv_
conv
⚠
pvr_
dr_
commit
⚠
pvr_
dr_
finish
⚠
pvr_
dr_
init
⚠
pvr_
dr_
target
pvr_
fog_
far_
depth
⚠
pvr_
fog_
table_
color
⚠
pvr_
fog_
table_
custom
⚠
pvr_
fog_
table_
exp
⚠
pvr_
fog_
table_
exp2
⚠
pvr_
fog_
table_
linear
⚠
pvr_
fog_
vertex_
color
⚠
pvr_
get_
stats
⚠
pvr_
get_
vbl_
count
⚠
pvr_
init
⚠
pvr_
init_
defaults
⚠
pvr_
list_
begin
⚠
pvr_
list_
finish
⚠
pvr_
list_
flush
⚠
pvr_
list_
prim
⚠
pvr_
mem_
available
⚠
pvr_
mem_
free
⚠
pvr_
mem_
malloc
⚠
pvr_
mem_
print_
list
⚠
pvr_
mem_
reset
⚠
pvr_
mem_
stats
⚠
pvr_
mod_
compile
⚠
pvr_
poly_
compile
⚠
pvr_
poly_
cxt_
col
⚠
pvr_
poly_
cxt_
col_
mod
⚠
pvr_
poly_
cxt_
txr
⚠
pvr_
poly_
cxt_
txr_
mod
⚠
pvr_
poly_
mode_
compile
⚠
pvr_
prim
⚠
pvr_
scene_
begin
⚠
pvr_
scene_
begin_
txr
⚠
pvr_
scene_
finish
⚠
pvr_
set_
bg_
color
⚠
pvr_
set_
pal_
entry
⚠
pvr_
set_
pal_
format
⚠
pvr_
set_
presort_
mode
⚠
pvr_
set_
shadow_
scale
⚠
pvr_
set_
vertbuf
⚠
pvr_
set_
zclip
⚠
pvr_
shutdown
⚠
pvr_
sprite_
compile
⚠
pvr_
sprite_
cxt_
col
⚠
pvr_
sprite_
cxt_
txr
⚠
pvr_
sq_
load
⚠
pvr_
sq_
set16
⚠
pvr_
sq_
set32
⚠
pvr_
txr_
load
⚠
pvr_
txr_
load_
dma
⚠
pvr_
txr_
load_
ex
⚠
pvr_
vertbuf_
tail
⚠
pvr_
vertbuf_
written
⚠
pvr_
vertex_
dma_
enabled
⚠
pvr_
wait_
ready
⚠
Type Aliases
§
pvr_
dma_
callback_
t
pvr_
dr_
state_
t
pvr_
list_
t
pvr_
ptr_
t