Readonly
canvasConfigures the context for this canvas. This clears the drawing buffer to transparent black (in [$Replace the drawing buffer$]).
Desired configuration for the context.
Returns the context configuration.
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.