Class: WebGLContext

ol/webgl/Context~WebGLContext


A WebGL context for accessing low-level WebGL capabilities.

Extends

Methods

getGL(){WebGLRenderingContext}

webgl/Context.js, line 185

Get the WebGL rendering context

Returns:
The rendering context.

useProgram(program){boolean}

webgl/Context.js, line 295

Use a program. If the program is already in use, this will return false.

Name Type Description
program WebGLProgram

Program.

Returns:
Changed.