ReadImageBufferArgs Interface

Arguments supplied to Viewport.readImageBuffer.

Properties

Name Type Description
rect undefined | ViewRect The region of the viewport's ViewRect to capture.  
size undefined | Readonly<WritableXAndY> Optional dimensions to which to resize the captured image.  
upsideDown undefined | boolean The image captured by WebGL appears "upside-down" and must be flipped to appear right-side-up; if true, this flipping will not be performed.  

Defined in

Last Updated: 20 June, 2023