Pixel.Receiver Type alias

A function which receives the results of a call to Viewport.readPixels.

note The contents of the buffer become invalid once the Receiver function returns. Do not store a reference to it.

Pixel.Receiver = (pixels: Pixel.Buffer | undefined) => void

Defined in

Last Updated: 13 June, 2024