Type | function |
Library | shader.* |
See also | start(), stop(), getEngineState() |
Visual Guide | Visual Guide |
Removes all objects from the Dynamic Shader and stops the Dynamic Shader engine.
shader.destroy()
local shader = require 'plugin.dynamic-shader'
shader.destroy() -- removes all objects from the Dynamic Shader and stops the Dynamic Shader engine
local lightTable = shader.getLightTable() -- get the current Dynamic Shader values
print(lightTable.engine)
-- false
local objectList = shader.getObjectList()
print(objectList)
-- empty table