فهرست منبع

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