Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/webgpu/mod.ts>CreateCapture

Deno standard library
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.219.1/webgpu/mod.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.