Oxygine  1
2g game engine
Public Types | Public Member Functions | Static Public Member Functions | List of all members
oxygine::Restorable Class Referenceabstract
Inheritance diagram for oxygine::Restorable:
oxygine::NativeTexture oxygine::UberShaderProgramBase oxygine::NativeTextureGLES oxygine::NativeTextureNull oxygine::UberShaderProgram

Public Types

typedef std::vector< Restorable * > restorable
 
typedef Closure< void(Restorable *, void *userData)> RestoreCallback
 

Public Member Functions

virtual void * _getRestorableObject ()=0
 
virtual void release ()=0
 
void restore ()
 
void reg (RestoreCallback cb, void *user)
 
void unreg ()
 

Static Public Member Functions

static const restorable & getObjects ()
 
static void restoreAll ()
 
static void releaseAll ()
 
static bool isRestored ()
 

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