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> |
preprocessFileWithCallbacks(Map<String,String> defines,
String file,
SoShaderPreprocessorCallbackWarningType on_warning,
SoShaderPreprocessorCallbackErrorType on_error)
Preprocess a file.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpreprocessFilepublic static SoShaderPreprocessorType create(SoShaderPreprocessorConfig config)
config - The preprocessor configurationpublic List<String> preprocessFileWithCallbacks(Map<String,String> defines, String file, SoShaderPreprocessorCallbackWarningType on_warning, SoShaderPreprocessorCallbackErrorType on_error) throws SoShaderException
SoShaderPreprocessorTypepreprocessFileWithCallbacks in interface SoShaderPreprocessorTypedefines - The set of preprocessor definesfile - The fileon_warning - Evaluated on warningson_error - Evaluated on errorsSoShaderException - On errorsCopyright © 2016 <code@io7m.com> http://io7m.com