DriftCapture · interface

RawFrame

A frame as a host hands it over: RGBA bytes, and the size they are.

Explained in DriftCapture.

interface RawFrame
import type { RawFrame } from '@driftengine/capture';

Properties

NameTypeDescription
pixelsreadonlyUint8Array
widthreadonlynumber
heightreadonlynumber