gfx.adjustment.set_enabled

Client

Toggles the adjustment post-processing effect


Syntax

local status = gfx.adjustment.set_enabled(
    state
)

Parameters

TypeNameDescription
boolstateDetermines adjustment's state:
• When true - the adjustment is enabled
• When false - the adjustment is disabled

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Toggle adjustment
-- Enable adjustment
gfx.adjustment.set_enabled(true)

-- Disable adjustment
gfx.adjustment.set_enabled(false)

On this page