瀏覽代碼

CustomShaderNameReslve - Fix unrecognized tag returns

MackeyK24 6 年之前
父節點
當前提交
1445ecea3c
共有 2 個文件被更改,包括 0 次插入2 次删除
  1. 0 1
      src/Materials/PBR/pbrBaseMaterial.ts
  2. 0 1
      src/Materials/standardMaterial.ts

+ 0 - 1
src/Materials/PBR/pbrBaseMaterial.ts

@@ -727,7 +727,6 @@ export abstract class PBRBaseMaterial extends PushMaterial {
 
 
     /**
     /**
      * Custom callback helping to override the default shader used in the material.
      * Custom callback helping to override the default shader used in the material.
-     * @returns string - The custom shader name to use for the material
      */
      */
     public customShaderNameResolve: (shaderName: string, uniforms: string[], uniformBuffers: string[], samplers: string[], defines: PBRMaterialDefines) => string;
     public customShaderNameResolve: (shaderName: string, uniforms: string[], uniformBuffers: string[], samplers: string[], defines: PBRMaterialDefines) => string;
 
 

+ 0 - 1
src/Materials/standardMaterial.ts

@@ -657,7 +657,6 @@ export class StandardMaterial extends PushMaterial {
 
 
     /**
     /**
      * Custom callback helping to override the default shader used in the material.
      * Custom callback helping to override the default shader used in the material.
-     * @returns string - The custom shader name to use for the material
      */
      */
     public customShaderNameResolve: (shaderName: string, uniforms: string[], uniformBuffers: string[], samplers: string[], defines: StandardMaterialDefines) => string;
     public customShaderNameResolve: (shaderName: string, uniforms: string[], uniformBuffers: string[], samplers: string[], defines: StandardMaterialDefines) => string;