Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 805 Bytes

start.markdown

File metadata and controls

32 lines (19 loc) · 805 Bytes

shader.start()

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

Overview

Starts the Dynamic Shader engine

Syntax

shader.start()

Examples

local shader = require 'plugin.dynamic-shader'

shader.start() -- starts the Dynamic Shader engine

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

print(lightTable.engine)
-- true