Interface SceneTexturePixelBuffer

Raw pixel buffer accepted as SceneTextureParams.imageData. Either the DOM ImageData type itself, or a JSON-serializable plain object carrying the same fields (the constructor normalises the plain form into an ImageData so the renderer always sees the canonical type).

interface SceneTexturePixelBuffer {
    data: number[] | Uint8Array<any> | Uint8ClampedArray<any>;
    height: number;
    width: number;
}

Properties

Properties

data: number[] | Uint8Array<any> | Uint8ClampedArray<any>
height: number
width: number