CompressedTextureBuffer

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
object Companion

Properties

Link copied to clipboard

The compressed texture buffer. Alias for bufferView.

Link copied to clipboard

The compressed texture buffer.

Link copied to clipboard

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

The width of the texture.

Functions

Link copied to clipboard

Creates a shallow clone of this compressed texture buffer.