API reference
API reference
Select your platform
No SDKs available
No versions available

Lut

Lut

class Lut(val dimension: Int = 16)

Constructors

NameSummary
Lut
constructor(dimension: Int = 16)

Types

NameSummary
Companion
object Companion

Properties

NameSummary
dimension
val dimension: Int = 16

Functions

NameSummary
getTable
fun getTable(): IntArray
setMapping
fun setMapping(srcR: Int, srcG: Int, srcB: Int, toR: Int, toG: Int, toB: Int)

Companion

object Companion

Functions

NameSummary
fromBitmap
fun fromBitmap(bitmap: <Error class: unknown class>): Lut?
Creates a LUT object from a Bitmap loaded from disk.
fromScale
fun fromScale(scale: Vector3): Lut
Creates a LUT where RGB are scaled component-wise by the given XYZ scale.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon