|
sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
|
Go to the source code of this file.
Macros | |
| #define | DRAW_XYZ_REGLIST |
| #define | DRAW_RGBAQ_REGLIST |
| #define | DRAW_UV_REGLIST |
| #define | DRAW_RGBAQ_UV_REGLIST |
| #define | DRAW_STQ_REGLIST |
| #define | DRAW_STQ2_REGLIST |
Functions | |
| qword_t * | draw_prim_start (qword_t *q, int context, const prim_t *prim, const color_t *color) |
| qword_t * | draw_prim_end (qword_t *q, int nreg, u64 reglist) |
| int | draw_convert_rgbq (color_t *output, int count, vertex_f_t *vertices, color_f_t *colours, unsigned char alpha) |
| int | draw_convert_rgbaq (color_t *output, int count, vertex_f_t *vertices, color_f_t *colours) |
| int | draw_convert_st (texel_t *output, int count, vertex_f_t *vertices, texel_f_t *coords) |
| int | draw_convert_xyz (xyz_t *output, float x, float y, int z, int count, vertex_f_t *vertices) |
Draw library 3D functions
Definition in file draw3d.h.
| #define DRAW_RGBAQ_REGLIST |
| #define DRAW_RGBAQ_UV_REGLIST |
| #define DRAW_STQ2_REGLIST |
Sandro: Similar to DRAW_STQ_REGLIST, but order of ST and RGBAQ is swapped. Needed for REGLIST mode which is used mostly in VU1, because of nature of 128bit registers. Without that, texture perspective correction will not work. Bad example:
| #define DRAW_STQ_REGLIST |
| #define DRAW_UV_REGLIST |
| #define DRAW_XYZ_REGLIST |
Register lists
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |