CompressedTextureBuffer

open external class CompressedTextureBuffer(val internalFormat: PixelFormat, val pixelDatatype: PixelDatatype, val width: Double, val height: Double, buffer: Uint8Array<*>)(source)

Describes a compressed texture and contains a compressed texture buffer.

Parameters

buffer

The compressed texture buffer.

See also

Constructors

Link copied to clipboard
constructor(internalFormat: PixelFormat, pixelDatatype: PixelDatatype, width: Double, height: Double, buffer: Uint8Array<*>)

Types

Link copied to clipboard
external object Companion

Properties

Link copied to clipboard
external val arrayBufferView: Uint8Array<*>

The compressed texture buffer. Alias for bufferView.

Link copied to clipboard
external val bufferView: Uint8Array<*>

The compressed texture buffer.

Link copied to clipboard
external val height: Double

The height of the texture.

Link copied to clipboard

The pixel format of the compressed texture.

Link copied to clipboard

The pixel datatype of the compressed texture.

Link copied to clipboard
external val width: Double

The width of the texture.

Functions

Link copied to clipboard

Creates a shallow clone of this compressed texture buffer.