GL Studio C++ Runtime API
GlsGlobals Class Reference

Hold global objects so we can control order of destruction. More...

#include <util.h>

Public Member Functions

List_c & GetImageList ()
 
Mutex & GetImageListMutex ()
 
GlsFontMan & GetFontMan ()
 
IGlsStateManager & GetStateManager ()
 
TextureLoaderList & GetTextureLoaders ()
 

Static Public Member Functions

static GlsGlobals & Instance ()
 

Detailed Description

Hold global objects so we can control order of destruction.

Member Function Documentation

◆ GetFontMan()

GlsFontMan & GetFontMan ( )
Returns
The global font manager.

◆ GetImageList()

List_c & GetImageList ( )
Returns
The image list.
See also
GetImageListMutex()

◆ GetImageListMutex()

Mutex & GetImageListMutex ( )
Returns
The mutex for protecting the image list.
See also
GetImageList()

◆ GetStateManager()

IGlsStateManager & GetStateManager ( )
Returns
The global state manager instance.

◆ GetTextureLoaders()

TextureLoaderList & GetTextureLoaders ( )
Returns
The global list of texture loaders.

◆ Instance()

static GlsGlobals & Instance ( )
static
Returns
The GlsGlobals singleton instance.

The documentation for this class was generated from the following file: