Oxygine  1
2g game engine
Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
oxygine::UberShaderProgramBase Class Referenceabstract
Inheritance diagram for oxygine::UberShaderProgramBase:
oxygine::Restorable oxygine::UberShaderProgram


struct  shader

Public Types

typedef Closure< void(IVideoDriver *, ShaderProgram *)> ShaderUniformsCallback
- Public Types inherited from oxygine::Restorable
typedef std::vector< Restorable * > restorable
typedef Closure< void(Restorable *, void *userData)> RestoreCallback

Public Member Functions

void init (const std::vector< unsigned char > &baseShader, const char *prepend="", const char *append="")
void release ()
ShaderUniformsCallback getShaderUniformsCallback () const
void setShaderUniformsCallback (ShaderUniformsCallback cb)
virtual ShaderProgramgetShaderProgram (int flags)=0
- Public Member Functions inherited from oxygine::Restorable
void restore ()
void reg (RestoreCallback cb, void *user)
void unreg ()

Protected Member Functions

void * _getRestorableObject ()
void _restore (Restorable *, void *)
virtual void releaseShaders ()

Protected Attributes

std::vector< unsigned char > _data
ShaderUniformsCallback _cb

Additional Inherited Members

- Static Public Member Functions inherited from oxygine::Restorable
static const restorable & getObjects ()
static void restoreAll ()
static void releaseAll ()
static bool isRestored ()

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