CompressedTextureBuffer

external class CompressedTextureBuffer(    val internalFormat: PixelFormat,     val pixelDatatype: PixelDatatype,     val width: Double,     val height: Double,     buffer: <Error class: unknown class><out <Error class: unknown class>>)(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: <Error class: unknown class><out <Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val arrayBufferView: <Error class: unknown class><out <Error class: unknown class>>

The compressed texture buffer. Alias for bufferView.

Link copied to clipboard
val bufferView: <Error class: unknown class><out <Error class: unknown class>>

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.