ImageOptions

class wv.ImageOptions()

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

Index

Properties

Properties

wv.ImageOptions.data

optional

data: Uint8Array

The raw image data

wv.ImageOptions.format

optional

format: ImageFormat

The format of the data property

wv.ImageOptions.height

optional

height: number

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

wv.ImageOptions.width

optional

width: number

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