Oxygine  1
2g game engine
Public Member Functions | Static Public Member Functions | List of all members
oxygine::ShaderProgramGL Class Reference
Inheritance diagram for oxygine::ShaderProgramGL:
oxygine::ShaderProgram oxygine::Object oxygine::ref_counter oxygine::ObjectBase oxygine::PoolObject

Public Member Functions

 ShaderProgramGL (GLuint program)
 ShaderProgramGL (GLuint vs, GLuint fs, const VertexDeclarationGL *decl)
unsigned int getID () const
int getUniformLocation (const char *id) const
- Public Member Functions inherited from oxygine::Object
 Object (const Object &src)
 Object (bool assignUniqueID=true)
- Public Member Functions inherited from oxygine::ref_counter
void addRef ()
void releaseRef ()
- Public Member Functions inherited from oxygine::ObjectBase
 ObjectBase (const ObjectBase &src)
 ObjectBase (bool assignID=true)
const std::string & getName () const
const void * getUserData () const
int getObjectID () const
bool isName (const std::string &name) const
bool isName (const char *name) const
void setName (const std::string &name)
void setUserData (const void *data)
void dumpObject () const
void __removeFromDebugList ()

Static Public Member Functions

static unsigned int createShader (unsigned int type, const char *data, const char *prepend="", const char *append="", error_policy ep=ep_show_error)
static unsigned int createProgram (int vs, int fs, const VertexDeclarationGL *decl, bool deleteAttachedShaders=false)
static bool getShaderBuildLog (GLuint shader, std::string &str)
static bool getProgramBuildLog (GLuint program, std::string &str)
- Static Public Member Functions inherited from oxygine::ObjectBase
static void dumpCreatedObjects ()
static void showAssertInCtor (int id)
static void showAssertInDtor (int id)
static __createdObjects & __getCreatedObjects ()
static void __startTracingLeaks ()
static void __stopTracingLeaks ()

Additional Inherited Members

- Public Types inherited from oxygine::ObjectBase
typedef std::vector< ObjectBase * > __createdObjects
- Public Attributes inherited from oxygine::ref_counter
int _ref_counter
- Protected Member Functions inherited from oxygine::Object
void __doCheck ()
- Protected Member Functions inherited from oxygine::ObjectBase
void __generateID ()
std::string * __getName () const
void __freeName () const
- Static Protected Member Functions inherited from oxygine::ObjectBase
static void __addToDebugList (ObjectBase *base)
static void __removeFromDebugList (ObjectBase *base)
- Protected Attributes inherited from oxygine::ObjectBase
std::string __name
int __id
const void * __userData
- Static Protected Attributes inherited from oxygine::ObjectBase
static int _lastID
static int _assertCtorID
static int _assertDtorID

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