Browse Source

Merge pull request #18289 from rhuitl/patch-2

Add the field `uniformsNeedUpdate` to the typings of `ShaderMaterial`.
Mr.doob 5 years ago
parent
commit
83a04cf612
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/materials/ShaderMaterial.d.ts

+ 1 - 0
src/materials/ShaderMaterial.d.ts

@@ -58,6 +58,7 @@ export class ShaderMaterial extends Material {
 	};
 	defaultAttributeValues: any;
 	index0AttributeName: string | undefined;
+	uniformsNeedUpdate: boolean;
 
 	setValues( parameters: ShaderMaterialParameters ): void;
 	toJSON( meta: any ): any;