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

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.
 

Detailed Description

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.

Field Documentation

◆ [union]

union { ... } pvr_vertex_t

◆ argb

uint32_t pvr_vertex_t::argb

Vertex color.

◆ argb0

uint32_t pvr_vertex_t::argb0

Vertex color when modified, outside area.

◆ argb1

uint32_t pvr_vertex_t::argb1

Vertex color when modified, inside area.

◆ flags

uint32_t pvr_vertex_t::flags

TA command (vertex flags)

◆ oargb

uint32_t pvr_vertex_t::oargb

Vertex offset color.

◆ u

float pvr_vertex_t::u

Texture U coordinate.

◆ v

float pvr_vertex_t::v

Texture V coordinate.

◆ x

float pvr_vertex_t::x

X coordinate.

◆ y

float pvr_vertex_t::y

Y coordinate.

◆ z

float pvr_vertex_t::z

Z coordinate.


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