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(对象)CompressedTextureBuffer

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