ImageOptions

class ImageOptions()

Parameters that describe an image to be used as a texture map.

Properties


Properties

ImageOptions.data
Type:Uint8Array optional

The raw image data

ImageOptions.format
Type:ImageFormat optional

The format of the data property

ImageOptions.height
Type:number optional

For uncompressed formats, the height of the image data in pixels. Ignored for compressed formats.

ImageOptions.width
Type:number optional

For uncompressed formats, the width of the image data in pixels. Ignored for compressed formats.