Class: KTXLoader

KTXLoader

new KTXLoader(arrayBuffer, facesExpected)

KTX 加载器

Name Type Description
arrayBuffer ArrayBuffer

contents of the KTX container file

facesExpected number

should be either 1 or 6, based whether a cube texture or or

Members Show Inherited

Name Type Default Description
isKTXLoader boolean true
className string KTXLoader

类名

static,readonlyKTXLoader.astcString

astc

Default Value:
  • WEBGL_compressed_texture_astc

static,readonlyKTXLoader.etcString

etc

Default Value:
  • WEBGL_compressed_texture_etc

static,readonlyKTXLoader.etc1String

etc1

Default Value:
  • WEBGL_compressed_texture_etc1

static,readonlyKTXLoader.pvrtcString

pvrtc

Default Value:
  • WEBGL_compressed_texture_pvrtc

static,readonlyKTXLoader.s3tcString

s3tc

Default Value:
  • WEBGL_compressed_texture_s3tc

Methods Show Inherited

load

Name Type Description
params Object