|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Generic PVR vertex type. More...
#include <dc/pvr.h>
Data Fields | ||
| uint32_t | flags | |
| TA command (vertex flags) | ||
| float | x | |
| X coordinate. | ||
| float | y | |
| Y coordinate. | ||
| float | z | |
| Z coordinate. | ||
| union { | ||
| struct { | ||
| float u | ||
| Texture U coordinate. More... | ||
| float v | ||
| Texture V coordinate. More... | ||
| } | ||
| struct { | ||
| uint32_t argb0 | ||
| Vertex color when modified, outside area. More... | ||
| uint32_t argb1 | ||
| Vertex color when modified, inside area. More... | ||
| } | ||
| }; | ||
| uint32_t | argb | |
| Vertex color. | ||
| uint32_t | oargb | |
| Vertex offset color. | ||
Generic PVR vertex type.
The PVR chip itself supports many more vertex types, but this is the main one that can be used with both textured and non-textured polygons, and is fairly fast.
| union { ... } pvr_vertex_t |
| uint32_t pvr_vertex_t::argb |
Vertex color.
| uint32_t pvr_vertex_t::argb0 |
Vertex color when modified, outside area.
| uint32_t pvr_vertex_t::argb1 |
Vertex color when modified, inside area.
| uint32_t pvr_vertex_t::flags |
TA command (vertex flags)
| uint32_t pvr_vertex_t::oargb |
Vertex offset color.
| float pvr_vertex_t::u |
Texture U coordinate.
| float pvr_vertex_t::v |
Texture V coordinate.
| float pvr_vertex_t::x |
X coordinate.
| float pvr_vertex_t::y |
Y coordinate.
| float pvr_vertex_t::z |
Z coordinate.