Namespace: webgl

og.webgl

Classes

Framebuffer
Handler
MultiFramebuffer
ShaderController

Methods

staticog.webgl.getContext(canvas){Object}

Returns a drawing context on the canvas, or null if the context identifier is not supported.
Name Type Description
canvas Object HTML canvas object.
Returns:
Type Description
Object

staticog.webgl.getExtension(gl, name){Object}

The return value is null if the extension is not supported, or an extension object otherwise.
Name Type Description
gl Object WebGl context pointer.
name String Extension name.
Returns:
Type Description
Object