|
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.
Referenced by _display_png_file(), do_frame(), do_frame(), draw_back(), draw_char(), draw_cube(), draw_floor_poly(), draw_one_poly(), draw_one_textured_poly(), draw_poly_box(), draw_poly_char(), draw_poly_mouse(), draw_pvr_line(), draw_screen(), draw_screen(), draw_screen(), draw_wall_poly(), drawFrame(), font_draw_char(), poly_pnt(), setup(), setup_pvr(), setup_pvr(), setup_vertices(), and sphere().
| 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)
Referenced by _display_png_file(), do_frame(), do_frame(), draw_back(), draw_box(), draw_char(), draw_cube(), draw_floor_poly(), draw_one_poly(), draw_one_textured_poly(), draw_poly_box(), draw_poly_char(), draw_poly_mouse(), draw_pvr_line(), draw_screen(), draw_screen(), draw_screen(), draw_wall_poly(), drawFrame(), font_draw_char(), poly_pnt(), pvr_vertex_commit_zclip(), pvr_vertex_commit_zclip_intensity(), setup(), setup_pvr(), setup_pvr(), setup_vertices(), and sphere().
| uint32_t pvr_vertex_t::oargb |
Vertex offset color.
Referenced by _display_png_file(), do_frame(), draw_back(), draw_char(), draw_cube(), draw_floor_poly(), draw_one_poly(), draw_one_textured_poly(), draw_poly_box(), draw_poly_char(), draw_poly_mouse(), draw_pvr_line(), draw_screen(), draw_screen(), draw_screen(), draw_wall_poly(), drawFrame(), font_draw_char(), poly_pnt(), setup(), setup_pvr(), setup_pvr(), and setup_vertices().
| float pvr_vertex_t::u |
Texture U coordinate.
Referenced by _display_png_file(), do_frame(), draw_back(), draw_char(), draw_cube(), draw_floor_poly(), draw_one_poly(), draw_one_textured_poly(), draw_poly_char(), draw_poly_mouse(), draw_screen(), draw_screen(), draw_screen(), drawFrame(), font_draw_char(), poly_pnt(), setup(), setup_pvr(), setup_pvr(), and setup_vertices().
| float pvr_vertex_t::v |
Texture V coordinate.
Referenced by _display_png_file(), do_frame(), draw_back(), draw_char(), draw_cube(), draw_floor_poly(), draw_one_poly(), draw_one_textured_poly(), draw_poly_char(), draw_poly_mouse(), draw_screen(), draw_screen(), draw_screen(), drawFrame(), font_draw_char(), poly_pnt(), setup(), setup_pvr(), setup_pvr(), and setup_vertices().
| float pvr_vertex_t::x |
X coordinate.
Referenced by _display_png_file(), do_frame(), do_frame(), draw_back(), draw_box(), draw_char(), draw_cube(), draw_floor_poly(), draw_one_poly(), draw_one_textured_poly(), draw_plane(), draw_poly_box(), draw_poly_char(), draw_poly_mouse(), draw_pvr_line(), draw_screen(), draw_screen(), draw_screen(), draw_wall_poly(), drawFrame(), font_draw_char(), poly_pnt(), setup(), setup_pvr(), setup_pvr(), setup_vertices(), and sphere().
| float pvr_vertex_t::y |
Y coordinate.
Referenced by _display_png_file(), do_frame(), do_frame(), draw_back(), draw_box(), draw_char(), draw_cube(), draw_floor_poly(), draw_one_poly(), draw_one_textured_poly(), draw_plane(), draw_poly_box(), draw_poly_char(), draw_poly_mouse(), draw_pvr_line(), draw_screen(), draw_screen(), draw_screen(), draw_wall_poly(), drawFrame(), font_draw_char(), poly_pnt(), setup(), setup_pvr(), setup_pvr(), setup_vertices(), and sphere().
| float pvr_vertex_t::z |
Z coordinate.
Referenced by _display_png_file(), do_frame(), do_frame(), draw_back(), draw_box(), draw_char(), draw_cube(), draw_floor_poly(), draw_one_poly(), draw_one_textured_poly(), draw_plane(), draw_poly_box(), draw_poly_char(), draw_poly_mouse(), draw_pvr_line(), draw_screen(), draw_screen(), draw_screen(), draw_wall_poly(), drawFrame(), font_draw_char(), poly_pnt(), pvr_vertex_commit_zclip(), pvr_vertex_commit_zclip_intensity(), setup(), setup_pvr(), setup_pvr(), setup_vertices(), and sphere().