Optional
depthThe default surface depth-stencil texture format. Defaults to no depth-stencil texture.
Optional
premultipliedDetermines if premultiplied alpha will be used for surface texture, or opaque color. Defaults to false.
Optional
sampleThe number of samples for MSAA render targets. Defaults to 1.
Generated using TypeDoc
Options for configuring a canvas surface for WebGPU.