v0.1.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Pages
CGUL::OpenGL Namespace Reference

Experimental OpenGL wrapper. More...

Classes

class  Context
 

Functions

void ClearErrors ()
 Clears out OpenGL errors. More...
 
void Test ()
 A developer test function. Has undefined behavior.
 
void Enable (Enum cap)
 
void Disable (Enum cap)
 
String GetString (Enum name)
 
String GetStringi (Enum name, unsigned int index)
 
void GetSupportedExtensions (FixedList< String > *extensions)
 
bool SupportsExtension (String ext)
 
int GetOpenGLVersionMajor ()
 
int GetOpenGLVersionMinor ()
 
String GetOpenGLVersion ()
 
String GetGLSLVersion ()
 
String GetOpenGLVendor ()
 
String GetOpenGLRenderer ()
 
void BlendFunc (Enum sfactor, Enum dfactor)
 
void BlendFunci (UInt32 buf, Enum sfactor, Enum dfactor)
 
void BlendFuncSeparate (Enum srcrgb, Enum dstrgb, Enum srca, Enum dsta)
 
void BlendFuncSeparatei (UInt32 buf, Enum srcrgb, Enum dstrgb, Enum srca, Enum dsta)
 

Detailed Description

Experimental OpenGL wrapper.

Function Documentation

void CGUL::OpenGL::ClearErrors ( )

Clears out OpenGL errors.

Since the OpenGL portion of CGUL is experimental, this will be a useful tool to determine where errors are actually occurring. This is a direct result of OpenGL's utter shit error system.