KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
pvr_sprite_txr_t Struct Reference

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.
 

Detailed Description

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.

Field Documentation

◆ auv

uint32_t pvr_sprite_txr_t::auv

First U/V texture coordinates.

◆ ax

float pvr_sprite_txr_t::ax

First X coordinate.

◆ ay

float pvr_sprite_txr_t::ay

First Y coordinate.

◆ az

float pvr_sprite_txr_t::az

First Z coordinate.

◆ buv

uint32_t pvr_sprite_txr_t::buv

Second U/V texture coordinates.

◆ bx

float pvr_sprite_txr_t::bx

Second X coordinate.

◆ by

float pvr_sprite_txr_t::by

Second Y coordinate.

◆ bz

float pvr_sprite_txr_t::bz

Second Z coordinate.

◆ cuv

uint32_t pvr_sprite_txr_t::cuv

Third U/V texture coordinates.

◆ cx

float pvr_sprite_txr_t::cx

Third X coordinate.

◆ cy

float pvr_sprite_txr_t::cy

Third Y coordinate.

◆ cz

float pvr_sprite_txr_t::cz

Third Z coordinate.

◆ dummy

uint32_t pvr_sprite_txr_t::dummy

Dummy value.

◆ dx

float pvr_sprite_txr_t::dx

Fourth X coordinate.

◆ dy

float pvr_sprite_txr_t::dy

Fourth Y coordinate.

◆ flags

uint32_t pvr_sprite_txr_t::flags

TA command (vertex flags)


The documentation for this struct was generated from the following file: