ktongue's picture
download
raw
726 Bytes
import { CubeTexture, LoadingManager, DataTextureLoader, PixelFormat, TextureDataType } from 'three'
export interface RGBM {
width: number
height: number
data: Uint16Array | Float32Array
header: string
format: PixelFormat
type: TextureDataType
flipY: boolean
}
export class RGBMLoader extends DataTextureLoader {
type: TextureDataType
maxRange: number
constructor(manager?: LoadingManager)
loadCubemap(
urls: string[],
onLoad?: (texture: CubeTexture) => void,
onProgress?: (event: ProgressEvent) => void,
onError?: (event: ErrorEvent) => void,
): CubeTexture
parse(buffer: ArrayBuffer): RGBM
setDataType(dataType: TextureDataType): this
setMaxRange(value: number): this
}

Xet Storage Details

Size:
726 Bytes
·
Xet hash:
086feeb3f820c002ed9d0324c1fb81dd15d14ce2393db8bf6ecb3f6d429e5dd0

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.