KallistiOS
##version##
|
PVR vertex type: Textured sprite. More...
#include <dc/pvr.h>
Data Fields | |
uint32 | flags |
TA command (vertex flags) More... | |
float | ax |
First X coordinate. More... | |
float | ay |
First Y coordinate. More... | |
float | az |
First Z coordinate. More... | |
float | bx |
Second X coordinate. More... | |
float | by |
Second Y coordinate. More... | |
float | bz |
Second Z coordinate. More... | |
float | cx |
Third X coordinate. More... | |
float | cy |
Third Y coordinate. More... | |
float | cz |
Third Z coordinate. More... | |
float | dx |
Fourth X coordinate. More... | |
float | dy |
Fourth Y coordinate. More... | |
uint32 | dummy |
Dummy value. More... | |
uint32 | auv |
First U/V texture coordinates. More... | |
uint32 | buv |
Second U/V texture coordinates. More... | |
uint32 | cuv |
Third U/V texture coordinates. More... | |
PVR vertex type: Textured sprite.
This vertex type is to be used with the sprite polygon header and the sprite related commands to draw textured sprites. Note that there is no fourth Z coordinate. I suppose it just gets interpolated?
The U/V coordinates in here are in the 16-bit per coordinate form. Also, like the fourth Z value, there is no fourth U or V, so it must get interpolated from the others.
uint32 pvr_sprite_txr_t::auv |
First U/V texture coordinates.
float pvr_sprite_txr_t::ax |
First X coordinate.
float pvr_sprite_txr_t::ay |
First Y coordinate.
float pvr_sprite_txr_t::az |
First Z coordinate.
uint32 pvr_sprite_txr_t::buv |
Second U/V texture coordinates.
float pvr_sprite_txr_t::bx |
Second X coordinate.
float pvr_sprite_txr_t::by |
Second Y coordinate.
float pvr_sprite_txr_t::bz |
Second Z coordinate.
uint32 pvr_sprite_txr_t::cuv |
Third U/V texture coordinates.
float pvr_sprite_txr_t::cx |
Third X coordinate.
float pvr_sprite_txr_t::cy |
Third Y coordinate.
float pvr_sprite_txr_t::cz |
Third Z coordinate.
uint32 pvr_sprite_txr_t::dummy |
Dummy value.
float pvr_sprite_txr_t::dx |
Fourth X coordinate.
float pvr_sprite_txr_t::dy |
Fourth Y coordinate.
uint32 pvr_sprite_txr_t::flags |
TA command (vertex flags)