gfm.opengl.opengl

Undocumented in source.

Members

Classes

OpenGL
class OpenGL

This object is passed around to other OpenGL wrapper objects to ensure library loading. Create one to use OpenGL.

OpenGLException
class OpenGLException

The one exception type thrown in this wrapper. A failing OpenGL function should <b>always</b> throw an OpenGLException.

Functions

ensureNotInGC
void ensureNotInGC(string resourceName)

Crash if the GC is running. Useful in destructors to avoid reliance GC resource release.

maxColorAttachments
int maxColorAttachments()
runtimeCheck
void runtimeCheck()

Checks pending OpenGL errors.

setActiveTexture
void setActiveTexture(int texture)

Sets the "active texture" which is more precisely active texture unit.

Meta