gfx.glow.set_enabled
Client
Toggles the glow post-processing effect
Syntax
local status = gfx.glow.set_enabled(
state
)Parameters
| Type | Name | Description |
|---|---|---|
bool | state | Determines glow's state: • When true - glow is enabled• When false - glow is disabled |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
-- Enable glow
gfx.glow.set_enabled(true)
-- Disable glow
gfx.glow.set_enabled(false)