sdk-core
v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Toggle main menu visibility
Loading...
Searching...
No Matches
graph_vram.h
Go to the documentation of this file.
1
6
7
#ifndef __GRAPH_VRAM_H__
8
#define __GRAPH_VRAM_H__
9
11
#define GRAPH_VRAM_MAX_WORDS 1048576
12
14
#define GRAPH_ALIGN_PAGE 2048
15
17
#define GRAPH_ALIGN_BLOCK 64
18
19
#ifdef __cplusplus
20
extern
"C"
{
21
#endif
22
24
extern
int
graph_vram_allocate
(
int
width,
int
height,
int
psm,
int
alignment);
25
27
extern
void
graph_vram_free
(
int
address);
28
30
extern
void
graph_vram_clear
(
void
);
31
33
extern
int
graph_vram_size
(
int
width,
int
height,
int
psm,
int
alignment);
34
35
#ifdef __cplusplus
36
}
37
#endif
38
39
#endif
/* __GRAPH_VRAM_H__ */
graph_vram_free
void graph_vram_free(int address)
Definition
graph_vram.c:33
graph_vram_allocate
int graph_vram_allocate(int width, int height, int psm, int alignment)
Definition
graph_vram.c:7
graph_vram_clear
void graph_vram_clear(void)
Definition
graph_vram.c:40
graph_vram_size
int graph_vram_size(int width, int height, int psm, int alignment)
Definition
graph_vram.c:47
core
graph
include
graph_vram.h
Generated by
1.18.0