GLSLPreprocessor.kl

Types

GLSLLineMapping (struct)

Members

String sourceFile  
UInt32 sourceFileLine  
UInt32 outputFileLine  
String includePath  
String resolvedPath  
UInt32 numLines  

Functions

GLSLPreprocessor_debugPrintMappings

GLSLPreprocessor_debugPrintMappings ( in GLSLLineMapping mappings[] )

GLSLPreprocessor_debugPrintLines

GLSLPreprocessor_debugPrintLines ( in String lines[] )

GLSLPreprocessor_isIncluded

Boolean GLSLPreprocessor_isIncluded ( in String glslFilePath, in GLSLLineMapping mappings[] )

GLSLPreprocessor_preProcess

String GLSLPreprocessor_preProcess ( in String glslFilePath, in String glslCode, in String searchPaths<>, io String glslVersion, io GLSLLineMapping mappings[], in Boolean reportFilenamesOnly )

GLSLPreprocessor_preProcess

String GLSLPreprocessor_preProcess ( in String glslFilePath, in String glslCode, in String searchPaths<>, io String glslVersion, io GLSLLineMapping mappings[], in Boolean reportFilenamesOnly )

GLSLPreprocessor_preProcess

String GLSLPreprocessor_preProcess ( in String glslFilePath, in String glslCode, in String searchPaths<>, io String glslVersion, io GLSLLineMapping mappings[], in Boolean reportFilenamesOnly )

GLSLPreprocessor_findSourceLocation

GLSLPreprocessor_findSourceLocation ( in Integer lineNumber, in GLSLLineMapping mappings[], io Integer mappingIndex, io Integer mappingLineIndex )