Capítulo 181 de 859
A loader for the 3DL LUT format.
References:
const loader = new LUT3dlLoader();
const map = loader.loadAsync( 'luts/Presetpro-Cinematic.3dl' );
Constructor
| Signature |
|---|
new LUT3dlLoader( 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 3DL LUT asset to the onLoad() callback. |
.parse( input : string ) : Object | Parses the given 3DL LUT data and returns the resulting 3D data texture. |
| `.setType( type : UnsignedByteType | FloatType ) : LUT3dlLoader` |