const AutoCanvas: LiveComponent<AutoCanvasProps>
HTMLCanvasElement
Adopt HTML canvas
string
Adopt from, or create HTML canvas in CSS selector
GPUTextureFormat
Color format
GPUTextureFormat
Depth stencil format
GPUColor
Canvas background
number
Multisampling / Anti-aliasing
boolean
Autofocus keyboard on canvas
boolean
Enable DOM events
boolean
Enable GPU picking
boolean
If running in an iframe, avoid preventing default on scroll. children?
| LiveElement<ArrowFunction>[]
| ReactElementInterop
| DeferredCall<ArrowFunction>
packages / webgpu / src / components / auto-canvas.ts