RenderingContext
is a helper type representing any of the following rendering contexts CanvasRenderingContext2D
, WebGLRenderingContext
or WebGL2RenderingContext
(which inherits from WebGLRenderingContext
).
This is a helper type to simplify the specification, it isn't an interface and there are no objects implementing it.
Specifications
Specification | Status | Comment |
---|---|---|
WHATWG HTML Living Standard The definition of 'RenderingContext' in that specification. |
Living Standard | Initial definition. |