Type | function |
Library | shader.* |
See also | getDebugLevel() |
Visual Guide | Visual Guide |
Sets the level of Dynamic Shader debug information returned to the console via print() functions
shader.setDebugLevel( number )
number is a value between 0 and 2
- 0 = no debug messages print() to console
- 1 = major debug messages print() to console
- 2 = all debug messages print() to console
local shader = require 'plugin.dynamic-shader'
shader.setDebugLevel( 0 ) -- no debug messaging
shader.setDebugLevel( 1 ) -- major debug messages print() to console
shader.setDebugLevel( 2 ) -- all debug messages print() to console