Skip to content

Commit 95eaa3f

Browse files
ShaderNodeFn: improve DX for Layout (#1493)
* ShaderNodeFn: improve DX for Layout * format * type is string --------- Co-authored-by: Nathan Bierema <[email protected]>
1 parent 5431d55 commit 95eaa3f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

types/three/src/nodes/tsl/TSLCore.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,11 @@ export function nodeImmutable<T>(
234234
interface Layout {
235235
name: string;
236236
type: string;
237-
inputs: { name: string; type: string }[];
237+
inputs: {
238+
name: string;
239+
type: string;
240+
qualifier?: "in" | "out" | "inout";
241+
}[];
238242
}
239243

240244
interface ShaderNodeFn<Args extends readonly unknown[]> {

0 commit comments

Comments
 (0)