Appearance
KBE3D / KBCore / Cesium / CompressedTextureBuffer
类: CompressedTextureBuffer
Describes a compressed texture and contains a compressed texture buffer.
参数
The pixel format of the compressed texture.
参数
The pixel datatype of the compressed texture.
参数
The width of the texture.
参数
The height of the texture.
参数
The compressed texture buffer.
属性
internalFormat
readonlyinternalFormat:PixelFormat
The format of the compressed texture.
pixelDatatype
readonlypixelDatatype:PixelDatatype
The datatype of the compressed texture.
width
readonlywidth:number
The width of the texture.
height
readonlyheight:number
The height of the texture.
bufferView
readonlybufferView:Uint8Array
The compressed texture buffer.
arrayBufferView
readonlyarrayBufferView:Uint8Array
The compressed texture buffer. Alias for bufferView.
方法
clone()
staticclone(object:CompressedTextureBuffer):CompressedTextureBuffer
Creates a shallow clone of a compressed texture buffer.
参数
object
CompressedTextureBuffer
The compressed texture buffer to be cloned.
返回
CompressedTextureBuffer
A shallow clone of the compressed texture buffer.
clone()
clone():
CompressedTextureBuffer
Creates a shallow clone of this compressed texture buffer.
返回
CompressedTextureBuffer
A shallow clone of the compressed texture buffer.
构造函数
构造函数
new CompressedTextureBuffer(
internalFormat:PixelFormat,pixelDatatype:PixelDatatype,width:number,height:number,buffer:Uint8Array):CompressedTextureBuffer
参数
internalFormat
pixelDatatype
width
number
height
number
buffer
Uint8Array
返回
CompressedTextureBuffer
