ConstructorOptions

Properties

Link copied to clipboard
abstract var height: Double?

The height of the image. Required when options.typedArray is present.

Link copied to clipboard

The magnification filter of the texture sampler. Default value - TextureMagnificationFilter.LINEAR

Link copied to clipboard
abstract var maximumAnisotropy: Double?

The maximum anisotropy of the texture sampler Default value - 1.0

Link copied to clipboard

The minification filter of the texture sampler. Default value - TextureMinificationFilter.LINEAR

Link copied to clipboard

When options.typedArray is defined, this is the data type of pixel values in the typed array. Default value - PixelDatatype.UNSIGNED_BYTE

Link copied to clipboard
abstract var pixelFormat: PixelFormat?

When options.typedArray is defined, this is used to determine the pixel format of the texture Default value - PixelFormat.RGBA

Link copied to clipboard
abstract var repeat: Boolean?

When defined, the texture sampler will be set to wrap in both directions Default value - true

Link copied to clipboard
abstract var typedArray: Uint8Array<*>?

A typed array storing the contents of a texture. Values are stored in row-major order. Since WebGL uses a y-up convention for textures, rows are listed from bottom to top.

Link copied to clipboard
abstract var url: Resource?

A URL string or resource pointing to a texture image.

Link copied to clipboard
abstract var width: Double?

The width of the image. Required when options.typedArray is present