浏览代码

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";