瀏覽代碼

Merge pull request #19323 from KoltesDigital/patch-shaderpass-uniforms

ShaderPass: Update types
Mr.doob 5 年之前
父節點
當前提交
af888f9341
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;