Interface WebGPUCanvasOptions

Options for configuring a canvas surface for WebGPU.

Hierarchy

  • WebGPUCanvasOptions

Properties

depthStencilFormat?: TextureFormat

The default surface depth-stencil texture format. Defaults to no depth-stencil texture.

premultipliedAlpha?: boolean

Determines if premultiplied alpha will be used for surface texture, or opaque color. Defaults to false.

sampleCount?: number

The number of samples for MSAA render targets. Defaults to 1.

Generated using TypeDoc