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
- core/frontend/src/render/Pixel.ts Line 108
Last Updated: 13 June, 2024