Describes a compressed texture and contains a compressed texture buffer.
参数名称 | 类型 | 描述信息 |
---|---|---|
internalFormat |
PixelFormat | The pixel format of the compressed texture. |
pixelDatatype |
PixelDatatype | The pixel datatype of the compressed texture. |
width |
number | The width of the texture. |
height |
number | The height of the texture. |
buffer |
Uint8Array | The compressed texture buffer. |
成员(属性)
The compressed texture buffer. Alias for bufferView.
The compressed texture buffer.
The height of the texture.
readonly internalFormat : PixelFormat
The format of the compressed texture.
readonly pixelDatatype : PixelDatatype
The datatype of the compressed texture.
The width of the texture.
方法
static Cesium.CompressedTextureBuffer.clone(object) → CompressedTextureBuffer
Creates a shallow clone of a compressed texture buffer.
参数名称 | 类型 | 描述信息 |
---|---|---|
object |
CompressedTextureBuffer | The compressed texture buffer to be cloned. |
返回值:
A shallow clone of the compressed texture buffer.
Creates a shallow clone of this compressed texture buffer.
返回值:
A shallow clone of the compressed texture buffer.