Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
interface CreateCapture
import { type CreateCapture } from "https://deno.land/std@0.222.1/webgpu/create_capture.ts";

Return value for createCapture.

Properties

texture: GPUTexture

Texture to be used as view to render to.

outputBuffer: GPUBuffer

Represents the output buffer of the rendered texture. Can then be used to access and retrieve raw image data.