|
sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
|
#include <tamtypes.h>Go to the source code of this file.
Classes | |
| struct | lod_t |
| struct | mipmap_t |
| struct | texwrap_t |
Macros | |
| #define | LOD_FORMULAIC 0 |
| #define | LOD_USE_K 1 |
| #define | LOD_MAG_NEAREST 0 |
| #define | LOD_MAG_LINEAR 1 |
| #define | LOD_MIN_NEAREST 0 |
| #define | LOD_MIN_LINEAR 1 |
| #define | LOD_MIN_NEAR_MIPMAP_NEAR 2 |
| #define | LOD_MIN_NEAR_MIPMAP_LINE 3 |
| #define | LOD_MIN_LINE_MIPMAP_NEAR 4 |
| #define | LOD_MIN_LINE_MIPMAP_LINE 5 |
| #define | LOD_MIPMAP_REGISTER 0 |
| #define | LOD_MIPMAP_CALCULATE 1 |
| #define | WRAP_REPEAT 0 |
| #define | WRAP_CLAMP 1 |
| #define | WRAP_REGION_CLAMP 2 |
| #define | WRAP_REGION_REPEAT 3 |
| #define | ALPHA_EXPAND_NORMAL 0 |
| #define | ALPHA_EXPAND_TRANSPARENT 1 |
Functions | |
| qword_t * | draw_texture_sampling (qword_t *q, int context, lod_t *lod) |
| qword_t * | draw_mipmap1 (qword_t *q, int context, mipmap_t *mipmap) |
| qword_t * | draw_mipmap2 (qword_t *q, int context, mipmap_t *mipmap) |
| qword_t * | draw_texture_wrapping (qword_t *q, int context, texwrap_t *wrap) |
| qword_t * | draw_texture_expand_alpha (qword_t *q, unsigned char zero_value, int expand, unsigned char one_value) |
Draw library sampling functions
Definition in file draw_sampling.h.
| #define ALPHA_EXPAND_NORMAL 0 |
Texture Alpha Expansion
Definition at line 37 of file draw_sampling.h.
| #define ALPHA_EXPAND_TRANSPARENT 1 |
Definition at line 38 of file draw_sampling.h.
| #define LOD_FORMULAIC 0 |
Level of Detail
Definition at line 13 of file draw_sampling.h.
| #define LOD_MAG_LINEAR 1 |
Definition at line 18 of file draw_sampling.h.
| #define LOD_MAG_NEAREST 0 |
Texture Scaling
Definition at line 17 of file draw_sampling.h.
| #define LOD_MIN_LINE_MIPMAP_LINE 5 |
Definition at line 24 of file draw_sampling.h.
| #define LOD_MIN_LINE_MIPMAP_NEAR 4 |
Definition at line 23 of file draw_sampling.h.
| #define LOD_MIN_LINEAR 1 |
Definition at line 20 of file draw_sampling.h.
| #define LOD_MIN_NEAR_MIPMAP_LINE 3 |
Definition at line 22 of file draw_sampling.h.
| #define LOD_MIN_NEAR_MIPMAP_NEAR 2 |
Definition at line 21 of file draw_sampling.h.
| #define LOD_MIN_NEAREST 0 |
Definition at line 19 of file draw_sampling.h.
| #define LOD_MIPMAP_CALCULATE 1 |
Definition at line 28 of file draw_sampling.h.
| #define LOD_MIPMAP_REGISTER 0 |
Mipmaps
Definition at line 27 of file draw_sampling.h.
| #define LOD_USE_K 1 |
Definition at line 14 of file draw_sampling.h.
| #define WRAP_CLAMP 1 |
Definition at line 32 of file draw_sampling.h.
| #define WRAP_REGION_CLAMP 2 |
Definition at line 33 of file draw_sampling.h.
| #define WRAP_REGION_REPEAT 3 |
Definition at line 34 of file draw_sampling.h.
| #define WRAP_REPEAT 0 |
Texture wrapping
Definition at line 31 of file draw_sampling.h.
|
extern |
Mipmap levels 1-3
Definition at line 243 of file draw_environment.c.
|
extern |
Mipmap levels 4-6
Definition at line 258 of file draw_environment.c.
|
extern |
Alpha Expansion Values
Definition at line 315 of file draw_environment.c.
|
extern |
Texture Sampling, Level-of-Detail, and Filtering
Definition at line 230 of file draw_environment.c.
|
extern |
Texture Clamping
Definition at line 301 of file draw_environment.c.