Skip to content

Commit e79ae16

Browse files
refactor(webgl): update PassUniforms
- allow `resolution` uniform to also be ivec2/uvec2
1 parent 38f1407 commit e79ae16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/webgl/src/api/multipass.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export interface PassOpts {
6464
export interface PassUniforms {
6565
inputs: never;
6666
outputs: never;
67-
resolution: "vec2";
67+
resolution: "vec2" | "ivec2" | "uvec2";
6868
time: "float";
6969
[id: string]: UniformDecl;
7070
}

0 commit comments

Comments
 (0)