exportLut

fun exportLut(callback: (data: ByteArray, format: Texture.Format, type: Texture.Type, width: Int, height: Int, depth: Int) -> Unit?): ColorGrading.Builder

Receives a copy of the generated 3D LUT during build, for saving or inspection; null (the default) for none.

Return

This Builder, for chaining calls

Parameters

callback

Gets the LUT's bytes, pixel format and type, and its width, height and depth