Pixel.Receiver Type
Pixel.Receiver = (pixels: Pixel.Buffer) => void
A function which receives the results of a call to readPixels.
@note The contents of the buffer become invalid once the Receiver function returns. Do not store a reference to it.
Defined in
- core/frontend/src/render/Pixel.ts Line 254
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.