new Cesium.CompressedTextureBuffer(internalFormat, pixelDatatype, width, height, buffer)

描述压缩纹理并包含压缩纹理缓冲.
Name Type Description
internalFormat PixelFormat 压缩纹理的像素格式.
pixelDatatype PixelDatatype 压缩纹理的像素数据类型.
width number 纹理的宽度.
height number 纹身的高度.
buffer Uint8Array 压缩纹理缓冲器.

Members

readonly arrayBufferView : Uint8Array

压缩纹理缓冲器. 别名是缓冲维尤.

readonly bufferView : Uint8Array

压缩纹理缓冲器.

readonly height : number

纹身的高度.

readonly internalFormat : PixelFormat

压缩纹理的格式.

readonly pixelDatatype : PixelDatatype

压缩纹理的数据类型.

readonly width : number

纹理的宽度.

Methods

static Cesium.CompressedTextureBuffer.clone(object)CompressedTextureBuffer

创建压缩纹理缓冲器的浅层克隆.
Name Type Description
object CompressedTextureBuffer 要克隆的压缩纹理缓冲.
Returns:
压缩纹理缓冲器的浅层克隆.
创建此压缩纹理缓冲器的浅层克隆 .
Returns:
压缩纹理缓冲器的浅层克隆.
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.