Pixel.Buffer Interface

A rectangular array of pixels as read from a Viewport's frame buffer. Each pixel is represented as a Pixel.Data object.

see Viewport.readPixels.

Methods

Name Description
getPixel(x: number, y: number): Pixel.Data Retrieve the data associated with the pixel at (x,y) in view coordinates.  

Defined in

Last Updated: 20 September, 2019