Quellcode durchsuchen

PBRMaterial - Custom Shader Name

MackeyK24 vor 6 Jahren
Ursprung
Commit
8058c7fecf
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  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";