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.
Specification | Status | Comment |
---|---|---|
WHATWG HTML Living Standard The definition of 'RenderingContext' in that specification. | Living Standard | Initial definition. |
© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RenderingContext