Type | function |
Library | shader.* |
Return value | boolean |
See also | start(), stop(), destroy() |
Visual Guide | Visual Guide |
Returns a boolean value representing the state of the Dynamic Shader engine.
- true = Dynamic Shader is on
- false = Dynamic Shader if off
shader.getEngineState()
returns true or false
local shader = require 'plugin.dynamic-shader'
local engine = shader.getEngineState() -- returns engine state (true or false)
print(engine)
-- OUTPUT: true