构造函数
方法
静态
bindCG
- bindCG(shaderObj, cgmap): void
返回 void
静态
compileToTree
- compileToTree(sliceFlag, data, sliceIndex): string[]
参数
- sliceFlag: string[]
- data: string
- sliceIndex: number
返回 string[]
静态
getCGBlock
- getCGBlock(source): {
[key: string]: string;
} 返回 {
[key: string]: string;
}
静态
getDefaultData
- getDefaultData(type, data): any
返回 any
静态
getMapKey
- getMapKey(value): string
返回 string
静态
parse
- parse(data, basePath?): Shader3D
参数
- data: string
可选
basePath: string
get CG data for map