KallistiOS git master
Independent SDK for the Sega Dreamcast
|
PVR vertex type: Textured sprite. More...
#include <dc/pvr.h>
Data Fields | |
uint32_t | flags |
TA command (vertex flags) | |
float | ax |
First X coordinate. | |
float | ay |
First Y coordinate. | |
float | az |
First Z coordinate. | |
float | bx |
Second X coordinate. | |
float | by |
Second Y coordinate. | |
float | bz |
Second Z coordinate. | |
float | cx |
Third X coordinate. | |
float | cy |
Third Y coordinate. | |
float | cz |
Third Z coordinate. | |
float | dx |
Fourth X coordinate. | |
float | dy |
Fourth Y coordinate. | |
uint32_t | dummy |
Dummy value. | |
uint32_t | auv |
First U/V texture coordinates. | |
uint32_t | buv |
Second U/V texture coordinates. | |
uint32_t | cuv |
Third U/V texture coordinates. | |
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_t 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_t 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_t 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_t 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_t pvr_sprite_txr_t::flags |
TA command (vertex flags)