the GPU device
Optional
canvas: Canvas | WebGPUCanvasContextProviderthe canvas to be used. Defaults to the device default canvas.
Optional
options: WebGPUCanvasOptionsconfigurations for the canvas surface
new texture object
Generated using TypeDoc
Creates a new depth-stencil texture object from a canvas surface.