sdk-core
v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Toggle main menu visibility
Loading...
Searching...
No Matches
draw.h
Go to the documentation of this file.
1
6
7
#ifndef __DRAW_H__
8
#define __DRAW_H__
9
10
#include <
tamtypes.h
>
11
12
#include <
draw_blending.h
>
13
#include <
draw_buffers.h
>
14
#include <
draw_dithering.h
>
15
#include <
draw_fog.h
>
16
#include <
draw_masking.h
>
17
#include <
draw_primitives.h
>
18
#include <
draw_sampling.h
>
19
#include <
draw_tests.h
>
20
#include <
draw_types.h
>
21
22
#include <
draw2d.h
>
23
#include <
draw3d.h
>
24
25
#define DRAW_DISABLE 0
26
#define DRAW_ENABLE 1
27
28
#ifdef __cplusplus
29
extern
"C"
{
30
#endif
31
33
extern
qword_t *
draw_setup_environment
(qword_t *q,
int
context,
framebuffer_t
*frame,
zbuffer_t
*z);
34
36
extern
qword_t *
draw_clear
(qword_t *q,
int
context,
float
x,
float
y,
float
width,
float
height,
int
r,
int
g,
int
b);
37
39
extern
qword_t *
draw_finish
(qword_t *q);
40
42
extern
void
draw_wait_finish
(
void
);
43
45
extern
qword_t *
draw_texture_transfer
(qword_t *q,
void
*src,
int
width,
int
height,
int
psm,
int
dest,
int
dest_width);
46
48
extern
qword_t *
draw_texture_flush
(qword_t *q);
49
50
#ifdef __cplusplus
51
}
52
#endif
53
54
#endif
/* __DRAW_H__ */
draw2d.h
draw3d.h
draw_wait_finish
void draw_wait_finish(void)
Definition
draw.c:201
draw_finish
qword_t * draw_finish(qword_t *q)
Definition
draw.c:189
draw_clear
qword_t * draw_clear(qword_t *q, int context, float x, float y, float width, float height, int r, int g, int b)
Definition
draw.c:149
draw_setup_environment
qword_t * draw_setup_environment(qword_t *q, int context, framebuffer_t *frame, zbuffer_t *z)
Definition
draw.c:11
draw_texture_flush
qword_t * draw_texture_flush(qword_t *q)
Definition
draw.c:209
draw_texture_transfer
qword_t * draw_texture_transfer(qword_t *q, void *src, int width, int height, int psm, int dest, int dest_width)
Definition
draw.c:224
draw_blending.h
draw_buffers.h
draw_dithering.h
draw_fog.h
draw_masking.h
draw_primitives.h
draw_sampling.h
draw_tests.h
draw_types.h
framebuffer_t
Definition
draw_buffers.h:41
zbuffer_t
Definition
draw_buffers.h:49
tamtypes.h
core
draw
include
draw.h
Generated by
1.18.0