Documentation generator: JsDoc Toolkit 2.4.0
Template: Codeview 1.2
Generated on: 2012-11-19 0:05

Namespace SpiderGL.WebGL

The SpiderGL.WebGL namespace. The SpiderGL.WebGL namespace gives access to WebGL functionalities in terms of context creation and enhancement, and object wrappers. The main purpose of the module is to provide a robust and intuitive way of dealing with all native WebGL objects (e.g., textures, framebuffers, etc.). Each specialized wrapper handles creation/destruction, edit operations (i.e. parameter settings), and binding of the underlying native WebGL object (the GL handle). To allow low level access and integration with existing code, the native handle is exposed. On the other side, wrappers can be created for already existing native objects, ensuring that the same wrapper will be used for multiple wraps of the same object. To create a robust interoperability between wrapper usage and native WebGL calls on handles, wrappers must be informed whenever any single native call operates on the wrapped handle. SpiderGL handles this task by hijacking the WebGLRenderingContext object, and installing on it a set of extensions that use callback mechanisms to report changes to wrappers. Moreover, to overcome the bind-to-edit/bind-to-use paradigm typical of the OpenGL API family, SpiderGL injects an extension that is insired by GL_EXT_direct_state_access extension.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
The SpiderGL.WebGL namespace.

Namespace Detail

SpiderGL.WebGL
The SpiderGL.WebGL namespace.