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

PVR vertex type: Textured, packed color, affected by modifier volume. 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.
 
float u0
 Texture U coordinate (outside)
 
float v0
 Texture V coordinate (outside)
 
uint32_t argb0
 Vertex color (outside)
 
uint32_t oargb0
 Vertex offset color (outside)
 
float u1
 Texture U coordinate (inside)
 
float v1
 Texture V coordinate (inside)
 
uint32_t argb1
 Vertex color (inside)
 
uint32_t oargb1
 Vertex offset color (inside)
 
uint32_t d1
 Dummy value.
 
uint32_t d2
 Dummy value.
 
uint32_t d3
 Dummy value.
 
uint32_t d4
 Dummy value.
 

Detailed Description

PVR vertex type: Textured, packed color, affected by modifier volume.

Note that this vertex type has two copies of colors, offset colors, and texture coords. The second set of texture coords, colors, and offset colors are used when enclosed within a modifier volume.

Field Documentation

◆ argb0

uint32_t pvr_vertex_tpcm_t::argb0

Vertex color (outside)

◆ argb1

uint32_t pvr_vertex_tpcm_t::argb1

Vertex color (inside)

◆ d1

uint32_t pvr_vertex_tpcm_t::d1

Dummy value.

◆ d2

uint32_t pvr_vertex_tpcm_t::d2

Dummy value.

◆ d3

uint32_t pvr_vertex_tpcm_t::d3

Dummy value.

◆ d4

uint32_t pvr_vertex_tpcm_t::d4

Dummy value.

◆ flags

uint32_t pvr_vertex_tpcm_t::flags

TA command (vertex flags)

◆ oargb0

uint32_t pvr_vertex_tpcm_t::oargb0

Vertex offset color (outside)

◆ oargb1

uint32_t pvr_vertex_tpcm_t::oargb1

Vertex offset color (inside)

◆ u0

float pvr_vertex_tpcm_t::u0

Texture U coordinate (outside)

◆ u1

float pvr_vertex_tpcm_t::u1

Texture U coordinate (inside)

◆ v0

float pvr_vertex_tpcm_t::v0

Texture V coordinate (outside)

◆ v1

float pvr_vertex_tpcm_t::v1

Texture V coordinate (inside)

◆ x

float pvr_vertex_tpcm_t::x

X coordinate.

◆ y

float pvr_vertex_tpcm_t::y

Y coordinate.

◆ z

float pvr_vertex_tpcm_t::z

Z coordinate.


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