GFXAdjustment
gfx.adjustment.get_lut
Client
Retrieves the path of the currently active LUT on the adjustment post-processing effect
Syntax
local result = gfx.adjustment.get_lut()Parameters
| Type | Name | Description |
|---|
Returns
| Type | Name | Description |
|---|---|---|
string / bool | result | Path of the active LUT, or false if no LUT is currently applied |
Examples
--Retrieve currently active LUT
local lut = gfx.adjustment.get_lut()
if lut then
engine.print("info", "Active LUT:", lut)
else
engine.print("info", "No LUT is currently applied")
end