Class ShaderCodeInliner
Hierarchy
- ShaderCodeInliner
Index
Constructors
constructor
Initializes the inliner
Parameters
sourceCode: string
shader code source to inline
Optional numMaxIterations: number
maximum number of iterations (used to detect recursive calls)
Returns ShaderCodeInliner
Properties
debugSearch playground for debug
Gets or sets the debug mode
inline TokenSearch playground for inlineToken
Gets or sets the token used to mark the functions to inline
Accessors
code
Gets the code after the inlining process
Returns string
Methods
process CodeSearch playground for processCode
Start the processing of the shader code
Returns void
Class used to inline functions in shader code