- Preparing search index...
- The search index is not available
feng3d
Methods
getMacroVariablesFromCode
- getMacroVariablesFromCode(code: string): string[]
-
Returns string[]
getMacroVariablesFromShaderCode
- getMacroVariablesFromShaderCode(vertex: string, fragment: string): string[]
-
Parameters
-
vertex: string
-
fragment: string
Returns string[]
从着色器代码中获取宏变量列表