PS2SDK
PS2 Homebrew Libraries
draw.h
Go to the documentation of this file.
1
6
#ifndef __DRAW_H__
7
#define __DRAW_H__
8
9
#include <
tamtypes.h
>
10
11
#include <
draw_blending.h
>
12
#include <
draw_buffers.h
>
13
#include <
draw_dithering.h
>
14
#include <
draw_fog.h
>
15
#include <
draw_masking.h
>
16
#include <
draw_primitives.h
>
17
#include <
draw_sampling.h
>
18
#include <
draw_tests.h
>
19
#include <
draw_types.h
>
20
21
#include <
draw2d.h
>
22
#include <
draw3d.h
>
23
24
#define DRAW_DISABLE 0
25
#define DRAW_ENABLE 1
26
27
#ifdef __cplusplus
28
extern
"C"
{
29
#endif
30
32
extern
qword_t *
draw_setup_environment
(qword_t *q,
int
context,
framebuffer_t
*frame,
zbuffer_t
*z);
33
35
extern
qword_t *
draw_clear
(qword_t *q,
int
context,
float
x,
float
y,
float
width,
float
height,
int
r,
int
g,
int
b);
36
38
extern
qword_t *
draw_finish
(qword_t *q);
39
41
extern
void
draw_wait_finish
(
void
);
42
44
extern
qword_t *
draw_texture_transfer
(qword_t *q,
void
*src,
int
width,
int
height,
int
psm,
int
dest,
int
dest_width);
45
47
extern
qword_t *
draw_texture_flush
(qword_t *q);
48
49
#ifdef __cplusplus
50
}
51
#endif
52
53
#endif
/* __DRAW_H__ */
draw_texture_flush
qword_t * draw_texture_flush(qword_t *q)
Definition:
draw.c:209
draw_fog.h
draw_finish
qword_t * draw_finish(qword_t *q)
Definition:
draw.c:189
draw_primitives.h
draw_masking.h
draw_dithering.h
draw_sampling.h
draw_blending.h
draw3d.h
draw_wait_finish
void draw_wait_finish(void)
Definition:
draw.c:201
framebuffer_t
Definition:
draw_buffers.h:40
zbuffer_t
Definition:
draw_buffers.h:48
tamtypes.h
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_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_tests.h
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
draw2d.h
draw_buffers.h
draw_types.h
ee
draw
include
draw.h
Generated on Sat May 16 2026 16:59:24 for PS2SDK by
1.8.17