Skip to content

Files

Latest commit

 

History

History
32 lines (19 loc) · 803 Bytes

stop.markdown

File metadata and controls

32 lines (19 loc) · 803 Bytes

shader.stop()

 
Type function
Library shader.*
See also start(), destroy(), getEngineState()
Visual Guide Visual Guide

Overview

Stops the Dynamic Shader engine

Syntax

shader.stop()

Examples

local shader = require 'plugin.dynamic-shader'

shader.stop() -- stops the Dynamic Shader engine

local lightTable = shader.getLightTable() -- get the current Dynamic Shader values

print(lightTable.engine)
-- false