MDN self-hosted library · e01.org

WebGLObject

WebGL

no runnable cells web-api-interface upstream source

WebGL

The WebGLObject is part of the WebGL API and is the parent interface for all WebGL objects.

This object has no public properties or methods on its own.

If the WebGL context is lost, the internal invalidated flag of all WebGLObject instances is set to true.

Objects inheriting from WebGLObject

WebGL 1:

  • WebGLBuffer
  • WebGLFramebuffer
  • WebGLProgram
  • WebGLRenderbuffer
  • WebGLShader
  • WebGLTexture

WebGL 2:

  • WebGLQuery (and WebGLTimerQueryEXT)
  • WebGLSampler
  • WebGLSync
  • WebGLTransformFeedback
  • WebGLVertexArrayObject (and WebGLVertexArrayObjectOES)

Specifications

Browser compatibility

See also