|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Portal::Graphics::ShaderFoundry::add_define | ( | const std::string & | name, |
| const std::string & | value = "" |
||
| ) |
Add preprocessor define for shader compilation.
| name | Macro name |
| value | Macro value (optional) |
Example: define("DEBUG", "1") → #define DEBUG 1
Definition at line 554 of file ShaderFoundry.cpp.
References MayaFlux::Portal::Graphics::ShaderCompilerConfig::defines, and m_config.