gfx.adjustment.set_contrast
Client
Sets the contrast level of the adjustment post-processing effect
Syntax
local status = gfx.adjustment.set_contrast(
value
)Parameters
| Type | Name | Description |
|---|---|---|
float | value | Contrast value to apply |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
-- Set contrast to default
gfx.adjustment.set_contrast(1.0)
-- Increase contrast
gfx.adjustment.set_contrast(1.3)