Capítulo 207 de 859

Chapter 207: TIFFLoader

Core Idea

A loader for the TIFF texture format.

Code Examples

const loader = new TIFFLoader();
const texture = await loader.loadAsync( 'textures/tiff/crate_lzw.tif' );
texture.colorSpace = THREE.SRGBColorSpace;
  • What it demonstrates: Typical usage of TIFFLoader.

Reference Tables

Constructor

Signature
new TIFFLoader( manager : LoadingManager )

Methods

MethodDescription
.parse( buffer : ArrayBuffer ) : DataTextureLoader~TexDataParses the given TIFF texture data.

Key Takeaways

  1. TIFFLoader extends: Loader → DataTextureLoader
  2. Key methods: parse.

Connects To