Capítulo 182 de 859
A loader for the Cube LUT format.
References:
const loader = new LUTCubeLoader();
const map = loader.loadAsync( 'luts/Bourbon 64.CUBE' );
Constructor
| Signature |
|---|
new LUTCubeLoader( manager : LoadingManager ) |
Properties
| Property | Description |
|---|---|
| `.type : UnsignedByteType | FloatType` |
Methods
| Method | Description |
|---|---|
.load( url : string, onLoad : function, onProgress : onProgressCallback, onError : onErrorCallback ) | Starts loading from the given URL and passes the loaded Cube LUT asset to the onLoad() callback. |
.parse( input : string ) : Object | Parses the given Cube LUT data and returns the resulting 3D data texture. |
| `.setType( type : UnsignedByteType | FloatType ) : LUTCubeLoader` |