public final class SoShaderPreprocessorJCPP extends Object implements SoShaderPreprocessorType
| Modifier and Type | Method and Description |
|---|---|
static SoShaderPreprocessorType |
create(SoShaderPreprocessorConfig config)
Create a new preprocessor.
|
List<String> |
preprocessFile(Map<String,String> defines,
String file)
Preprocess a file.
|
public static SoShaderPreprocessorType create(SoShaderPreprocessorConfig config)
config - The preprocessor configurationpublic List<String> preprocessFile(Map<String,String> defines, String file) throws SoShaderException
SoShaderPreprocessorTypepreprocessFile in interface SoShaderPreprocessorTypedefines - The set of preprocessor definesfile - The fileSoShaderException - On errorsCopyright © 2016 <code@io7m.com> http://io7m.com