Przeglądaj źródła

Make doc checker happy (2)

Popov72 5 lat temu
rodzic
commit
6860219094

+ 1 - 0
src/Materials/Node/Blocks/PBR/reflectivityBlock.ts

@@ -111,6 +111,7 @@ export class ReflectivityBlock extends NodeMaterialBlock {
 
     /**
      * Gets the main code of the block (fragment side)
+     * @params aoIntensityVarName name of the variable with the ambient occlusion intensity
      * @returns the shader code
      */
     public getCode(aoIntensityVarName: string): string {

+ 3 - 0
src/Materials/Node/Blocks/PBR/sheenBlock.ts

@@ -7,6 +7,9 @@ import { _TypeStore } from '../../../../Misc/typeStore';
 import { editableInPropertyPage } from "../../nodeMaterialDecorator";
 import { NodeMaterialConnectionPointCustomObject } from "../../nodeMaterialConnectionPointCustomObject";
 
+/**
+ * Block used to implement the sheen module of the PBR material
+ */
 export class SheenBlock extends NodeMaterialBlock {
 
     /**

+ 1 - 1
src/Materials/Node/nodeMaterialBlock.ts

@@ -172,7 +172,7 @@ export class NodeMaterialBlock {
      * @param effect defines the effect to bind data to
      * @param nodeMaterial defines the hosting NodeMaterial
      * @param mesh defines the mesh that will be rendered
-     * @param submesh defines the submesh that will be rendered
+     * @param subMesh defines the submesh that will be rendered
      */
     public bind(effect: Effect, nodeMaterial: NodeMaterial, mesh?: Mesh, subMesh?: SubMesh) {
         // Do nothing

+ 1 - 0
src/Materials/Node/nodeMaterialDecorator.ts

@@ -37,6 +37,7 @@ export interface IEditablePropertyOption {
         /** the preview should be updated */
         "update"?: boolean;
     };
+    /** list of the options for a variable of type list */
     "options"?: IEditablePropertyListOption[];
 }