Readonly
Internal
__brandReadonly
canvasThe 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.
Nominal type branding. https://github.com/microsoft/TypeScript/pull/33038