Data structure containing video data.
This structure is used to provide lua with an optimized way to do GetPixel and SetPixel, the buffer is kept on the lua side minimizing read and write overhead.
Constructor used to create a PixelData.
heightrepresent its size while
colorwith which it is initialized.
Width in pixels of the buffer.
Height in pixels of the buffer.
Returns the color of the pixel at the coordinate specified by
colorof the pixel at the coordinate specified by