Readonly canvasConfigures the context for this canvas. This clears the drawing buffer to transparent black (in [$Replace the drawing buffer$]). See getConfiguration for information on feature detection.
Desired configuration for the context.
Returns the context configuration, or null if the context is not configured.
Note:
This method exists primarily for feature detection of members (and sub-members) of
GPUCanvasConfiguration; see those members for details.
For supported members, it returns the originally-supplied values.
Get the GPUTexture that will be composited to the document by the GPUCanvasContext next. Note: The same GPUTexture object will be returned by every call to getCurrentTexture until "[$Expire the current texture$]" runs, even if that GPUTexture is destroyed, failed validation, or failed to allocate.
Generated using TypeDoc
The canvas this context was created from.