Interface CreateCapture

Return value for createCapture.

interface CreateCapture {
    outputBuffer: GPUBuffer;
    texture: GPUTexture;
}

Properties

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.