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: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.