未验证 提交 af888f93 编写于 作者: M Mr.doob 提交者: GitHub

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

ShaderPass: Update types
...@@ -8,7 +8,7 @@ export class ShaderPass extends Pass { ...@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册