PS2GL
OpenGL*-like API for the PS2
|
Modules | |
GS memory 'slots' | |
GS memory 'areas' | |
Functions | |
void | pglPrintGsMemAllocation () |
int | pglHasGsMemBeenInitted () |
Functions to initialize, allocate, and free gs memory. ps2gl manages gs memory through the use of memory slots and memory areas. The basic idea is that the app partitions gs memory into slots (probably once at the beginning of a level) which are then used to allocate frame buffers, depth buffers, textures, etc.
See the memory slot and memory area "modules" for more details.
void pglPrintGsMemAllocation | ( | void | ) |
#include <src/gsmemory.cpp>
prints the current gs memory allocation to stdout
Definition at line 40 of file gsmemory.cpp.
int pglHasGsMemBeenInitted | ( | void | ) |
#include <src/gsmemory.cpp>
returns whether gs memory has been initialized (by adding one or more slots).
Definition at line 50 of file gsmemory.cpp.
Referenced by glutInit().