shiny
0.4
a shader and material management library for OGRE
|
A simple interface for the boost::wave preprocessor. More...
#include <Preprocessor.hpp>
Static Public Member Functions | |
static std::string | preprocess (std::string source, const std::string &includePath, std::vector< std::string > definitions, const std::string &name) |
Run a shader source string through the preprocessor. More... | |
A simple interface for the boost::wave preprocessor.
|
static |
Run a shader source string through the preprocessor.
source | source string |
includePath | path to search for includes (that are included with #include) |
definitions | macros to predefine (vector of strings of the format MACRO=value, or just MACRO to define it as 1) |
name | name to use for error messages |