Skip to content

Commit

Permalink
TSL: Add vertexStage() function
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 committed Dec 20, 2024
1 parent c0e8643 commit 03443a4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions types/three/src/nodes/core/VaryingNode.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@ export default class VaryingNode extends Node {

export const varying: (node: NodeRepresentation, name?: string) => ShaderNodeObject<VaryingNode>;

export const vertexStage: (node: NodeRepresentation) => ShaderNodeObject<VaryingNode>;

declare module "../tsl/TSLCore.js" {
interface NodeElements {
varying: typeof varying;
vertexStage: typeof vertexStage;
}
}

0 comments on commit 03443a4

Please sign in to comment.