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
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
