Pārlūkot izejas kodu

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

ShaderPass: Update types
Mr.doob 5 gadi atpakaļ
vecāks
revīzija
af888f9341
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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 );
 	constructor( shader: object, textureID?: string );
 	textureID: string;
 	textureID: string;
-	uniforms: object;
+	uniforms: { [name: string]: { value: any } };
 	material: Material;
 	material: Material;
 	fsQuad: object;
 	fsQuad: object;