Browse Source

ShaderPass: Update types

Jonathan Giroux 5 năm trước cách đây
mục cha
commit
026c10dd7d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      examples/jsm/postprocessing/ShaderPass.d.ts

+ 1 - 1
examples/jsm/postprocessing/ShaderPass.d.ts

@@ -8,7 +8,7 @@ export class ShaderPass extends Pass {
 
 	constructor( shader: object, textureID?: string );
 	textureID: string;
-	uniforms: object;
+	uniforms: { [name: string]: { value: any } };
 	material: Material;
 	fsQuad: object;