Skip to content

Commit

Permalink
TSL: Add vertexStage() function (#1457)
Browse files Browse the repository at this point in the history
* TSL: Add vertexStage() function

* Update three.js
  • Loading branch information
Methuselah96 authored Dec 20, 2024
1 parent c0e8643 commit 59051d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
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 59051d8

Please sign in to comment.