Skip to content

Capture beta ​

Interface of @v12-engine/render

ts
export interface Capture

A picture read back from the card: its pixels and its size

Members ​

height ​

ts
height: number;

Its height in pixels

pixels ​

ts
pixels: Uint8ClampedArray;

Four bytes a pixel, the top row first

width ​

ts
width: number;

Its width in pixels