RAM Library


Functions

void * pgeRamAlloc (unsigned long size)
void pgeRamFree (void *ptr)
unsigned long pgeRamAvailable ()
unsigned long pgeRamLargestBlock ()

Function Documentation

void* pgeRamAlloc ( unsigned long  size  ) 

Allocate memory from VRAM.

Parameters:
size - Number of bytes to allocate
Returns:
Absolute pointer on success, NULL on failure

unsigned long pgeRamAvailable (  ) 

Return remaining unallocated VRAM.

Returns:
Size of remaining VRAM in bytes

void pgeRamFree ( void *  ptr  ) 

Free allocated memory from VRAM.

Parameters:
ptr - Previously allocated pointer

unsigned long pgeRamLargestBlock (  ) 

Return largest free memory block in VRAM.

Returns:
Size of largest free block in bytes


Generated on Mon Sep 22 16:58:14 2008 for Phoenix Game Engine by  doxygen 1.5.5