PS2SDK
PS2 Homebrew Libraries
|
#include <tamtypes.h>
Go to the source code of this file.
Macros | |
#define | SCAN_MASK_NORMAL 0 |
#define | SCAN_MASK_ODD 2 |
#define | SCAN_MASK_EVEN 3 |
#define | COLOR_CLAMP_MASK 0 |
#define | COLOR_CLAMP_ENABLE 1 |
Functions | |
qword_t * | draw_scan_masking (qword_t *q, int mask) |
qword_t * | draw_color_clamping (qword_t *q, int enable) |
Draw library masking functions
Definition in file draw_masking.h.
#define SCAN_MASK_NORMAL 0 |
Scan masking
Definition at line 12 of file draw_masking.h.
#define SCAN_MASK_ODD 2 |
Definition at line 13 of file draw_masking.h.
#define SCAN_MASK_EVEN 3 |
Definition at line 14 of file draw_masking.h.
#define COLOR_CLAMP_MASK 0 |
Color Clamping
Definition at line 17 of file draw_masking.h.
#define COLOR_CLAMP_ENABLE 1 |
Definition at line 18 of file draw_masking.h.
qword_t * draw_scan_masking | ( | qword_t * | q, |
int | mask | ||
) |
Scanline Masking (framebuffer)
Definition at line 150 of file draw_environment.c.
References draw_scan_masking(), GIF_FLG_PACKED, GIF_REG_AD, and GS_REG_SCANMSK.
Referenced by draw_scan_masking().
qword_t * draw_color_clamping | ( | qword_t * | q, |
int | enable | ||
) |
Color Masking/Clamping
Definition at line 163 of file draw_environment.c.
References draw_color_clamping(), GIF_FLG_PACKED, GIF_REG_AD, and GS_REG_COLCLAMP.
Referenced by draw_color_clamping().