|
@@ -1,11 +1,11 @@
|
|
/** @hidden */
|
|
/** @hidden */
|
|
export interface IShaderProcessor {
|
|
export interface IShaderProcessor {
|
|
- linePreProcessor?: (line: string, isFragment: boolean) => string;
|
|
|
|
attributeProcessor?: (attribute: string) => string;
|
|
attributeProcessor?: (attribute: string) => string;
|
|
varyingProcessor?: (varying: string, isFragment: boolean) => string;
|
|
varyingProcessor?: (varying: string, isFragment: boolean) => string;
|
|
uniformProcessor?: (uniform: string, isFragment: boolean) => string;
|
|
uniformProcessor?: (uniform: string, isFragment: boolean) => string;
|
|
uniformBufferProcessor?: (uniformBuffer: string, isFragment: boolean) => string;
|
|
uniformBufferProcessor?: (uniformBuffer: string, isFragment: boolean) => string;
|
|
endOfUniformBufferProcessor?: (closingBracketLine: string, isFragment: boolean) => string;
|
|
endOfUniformBufferProcessor?: (closingBracketLine: string, isFragment: boolean) => string;
|
|
|
|
+ lineProcessor?: (line: string, isFragment: boolean) => string;
|
|
preProcessor?: (code: string, defines: string[], isFragment: boolean) => string;
|
|
preProcessor?: (code: string, defines: string[], isFragment: boolean) => string;
|
|
postProcessor?: (code: string, defines: string[], isFragment: boolean) => string;
|
|
postProcessor?: (code: string, defines: string[], isFragment: boolean) => string;
|
|
}
|
|
}
|