CompressedTextureBuffer

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

压缩纹理缓冲区。bufferView 的别名。

readonly bufferView : Uint8Array

压缩纹理缓冲区。
纹理的高度。
压缩纹理的格式。
压缩纹理的数据类型。
纹理的宽度。

Methods

static Cesium.CompressedTextureBuffer.clone(object)CompressedTextureBuffer

创建一个压缩纹理缓冲区的浅拷贝。
Name Type Description
object CompressedTextureBuffer 要被克隆的压缩纹理缓冲区。
Returns:
压缩纹理缓冲区的浅拷贝。
创建此压缩纹理缓冲区的浅拷贝。
Returns:
压缩纹理缓冲区的浅拷贝。
需要帮助?获得答案的最快方法是来自社区和团队 Cesium Forum.