KallistiOS git master
Independent SDK for the Sega Dreamcast
|
PVR polygon header. More...
#include <pvr_header.h>
Data Fields | ||
union { | ||
uint32_t cmd | ||
Raw access to cmd param. More... | ||
pvr_poly_hdr_cmd_t m0 | ||
command parameters More... | ||
}; | ||
union { | ||
uint32_t mode1 | ||
Raw access to mode1 param. More... | ||
pvr_poly_hdr_mode1_t m1 | ||
mode1 parameters More... | ||
}; | ||
union { | ||
uint32_t mode2 | ||
Raw access to mode2 param. More... | ||
uint32_t mode2_0 | ||
Legacy name. More... | ||
pvr_poly_hdr_mode2_t m2 | ||
mode2 parameters (modifiers: outside volume) More... | ||
}; | ||
union { | ||
uint32_t mode3 | ||
Raw access to mode3 param. More... | ||
uint32_t mode3_0 | ||
Legacy name. More... | ||
pvr_poly_hdr_mode3_t m3 | ||
mode3 parameters (modifiers: outside volume) More... | ||
}; | ||
union { | ||
struct { | ||
float a | ||
Intensity color alpha. More... | ||
float r | ||
Intensity color red. More... | ||
float g | ||
Intensity color green. More... | ||
float b | ||
Intensity color blue. More... | ||
} | ||
struct { | ||
union { | ||
struct { | ||
uint32_t mode2_1 | ||
Legacy name. More... | ||
uint32_t mode3_1 | ||
Legacy name. More... | ||
} | ||
struct { | ||
pvr_poly_hdr_mode2_t m2 | ||
mode2 parameters (modifiers: inside volume) More... | ||
pvr_poly_hdr_mode3_t m3 | ||
mode3 parameters (modifiers: inside volume) More... | ||
} modifier | ||
Modifier volume parameters. More... | ||
} | ||
} | ||
struct { | ||
uint32_t argb | ||
32-bit ARGB vertex color for sprites More... | ||
uint32_t oargb | ||
32-bit ARGB specular color for sprites More... | ||
} | ||
struct { | ||
uint32_t start_x | ||
Left (inclusive) border of user clip area. More... | ||
uint32_t start_y | ||
Top (inclusive) border of user clip area. More... | ||
uint32_t end_x | ||
Right (inclusive) border of user clip area. More... | ||
uint32_t end_y | ||
Bottom (inclusive) border of user clip area. More... | ||
} | ||
}; | ||
PVR polygon header.
This structure contains information about how the following polygons should be rendered.
union { ... } pvr_poly_hdr_t |
union { ... } pvr_poly_hdr_t |
union { ... } pvr_poly_hdr_t |
union { ... } pvr_poly_hdr_t |
union { ... } pvr_poly_hdr_t |
float pvr_poly_hdr_t::a |
Intensity color alpha.
uint32_t pvr_poly_hdr_t::argb |
32-bit ARGB vertex color for sprites
float pvr_poly_hdr_t::b |
Intensity color blue.
uint32_t pvr_poly_hdr_t::cmd |
Raw access to cmd param.
uint32_t pvr_poly_hdr_t::end_x |
Right (inclusive) border of user clip area.
uint32_t pvr_poly_hdr_t::end_y |
Bottom (inclusive) border of user clip area.
float pvr_poly_hdr_t::g |
Intensity color green.
pvr_poly_hdr_cmd_t pvr_poly_hdr_t::m0 |
command parameters
pvr_poly_hdr_mode1_t pvr_poly_hdr_t::m1 |
mode1 parameters
pvr_poly_hdr_mode2_t pvr_poly_hdr_t::m2 |
mode2 parameters (modifiers: outside volume)
mode2 parameters (modifiers: inside volume)
pvr_poly_hdr_mode3_t pvr_poly_hdr_t::m3 |
mode3 parameters (modifiers: outside volume)
mode3 parameters (modifiers: inside volume)
uint32_t pvr_poly_hdr_t::mode1 |
Raw access to mode1 param.
uint32_t pvr_poly_hdr_t::mode2 |
Raw access to mode2 param.
uint32_t pvr_poly_hdr_t::mode2_0 |
Legacy name.
uint32_t pvr_poly_hdr_t::mode2_1 |
Legacy name.
uint32_t pvr_poly_hdr_t::mode3 |
Raw access to mode3 param.
uint32_t pvr_poly_hdr_t::mode3_0 |
Legacy name.
uint32_t pvr_poly_hdr_t::mode3_1 |
Legacy name.
struct { ... } pvr_poly_hdr_t::modifier |
Modifier volume parameters.
uint32_t pvr_poly_hdr_t::oargb |
32-bit ARGB specular color for sprites
float pvr_poly_hdr_t::r |
Intensity color red.
uint32_t pvr_poly_hdr_t::start_x |
Left (inclusive) border of user clip area.
uint32_t pvr_poly_hdr_t::start_y |
Top (inclusive) border of user clip area.