Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.02 KB

getEngineState.markdown

File metadata and controls

33 lines (22 loc) · 1.02 KB

shader.getEngineState()

 
Type function
Library shader.*
Return value boolean
See also start(), stop(), destroy()
Visual Guide Visual Guide

Overview

Returns a boolean value representing the state of the Dynamic Shader engine.

Syntax

shader.getEngineState()

returns true or false

Examples

local shader = require 'plugin.dynamic-shader'

local engine = shader.getEngineState() -- returns engine state (true or false)

print(engine)
-- OUTPUT: true