소스 검색

PBRMaterial - Custom Shader Name

MackeyK24 6 년 전
부모
커밋
8058c7fecf
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/Materials/PBR/pbrBaseMaterial.ts

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

@@ -776,6 +776,7 @@ export abstract class PBRBaseMaterial extends PushMaterial {
 
     /**
      * Gets the name of the material shader.
+     * @returns - string that specifies the shader program of the material.
      */
     public getShaderName(): string {
         return "pbr";