Home · All Namespaces · All Classes · Functions · Coding Style · Plugins · File Structure

TexMalloc Class Reference

A special multithreaded malloc which manages a memory pool to reuse the memory already allocated for loading previous textures. More...

#include <StelTextureMgr.hpp>

List of all members.

Static Public Member Functions

static void * malloc (size_t size)
static void free (void *ptr)
static void clear ()


Detailed Description

A special multithreaded malloc which manages a memory pool to reuse the memory already allocated for loading previous textures.


Member Function Documentation

static void* TexMalloc::malloc ( size_t  size  )  [static]

Equivalent to standard C malloc function.

static void TexMalloc::free ( void *  ptr  )  [static]

Equivalent to standard C free function.

static void TexMalloc::clear (  )  [static]

Clear the cache and release all memory.


Generated on Mon Mar 9 16:16:17 2009 for Stellarium by  doxygen 1.5.5