GTAO

gfx.gtao.is_enabled

Client

Retrieves whether the GTAO post-processing effect is currently enabled

Syntax

local result = gfx.gtao.is_enabled()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolresulttrue if GTAO is enabled, false otherwise

Examples

Print whether gtao is currently enabled
core.engine.print("info", "GTAO enabled:", gfx.gtao.is_enabled())

On this page