Works with
•JSR Score70%•It is unknown whether this package works with Browsers, Deno, Node.js, Cloudflare Workers, Bun




Published2 years ago (0.215.0)
Functions
f
createCapture(): CreateCapture
device: GPUDevice,
width: number,
height: number
Creates a texture and buffer to use as a capture.
Interfaces
I
Return value for createCapture.
- outputBuffer: GPUBuffer
Represents the output buffer of the rendered texture. Can then be used to access and retrieve raw image data.
- texture: GPUTexture
Texture to be used as view to render to.