Skip to main content
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.218.0/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.