ImageOptions

class ImageOptions()

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

Index

Properties

Properties

ImageOptions.data

optional

data: Uint8Array

The raw image data

ImageOptions.format

optional

format: ImageFormat

The format of the data property

ImageOptions.height

optional

height: number

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

ImageOptions.width

optional

width: number

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