The canvas this context was created from.
Configures the context for this canvas. This clears the drawing buffer to transparent black (in [$Replace the drawing buffer$]).
Desired configuration for the context.
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.
Removes the context configuration. Destroys any textures produced while configured.
Generated using TypeDoc