Skip to content

Commit

Permalink
TextureNode: Introduce referenceNode (#881)
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 authored Mar 26, 2024
1 parent 4a49643 commit 22c05c4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion types/three/examples/jsm/nodes/accessors/TextureNode.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,17 @@ import UniformNode from "../core/UniformNode.js";
import { NodeRepresentation, ShaderNodeObject } from "../shadernode/ShaderNode.js";

export default class TextureNode extends UniformNode<Texture> {
isTextureNode: true;
readonly isTextureNode: true;

uvNode: ShaderNodeObject<Node> | null;
levelNode: ShaderNodeObject<Node> | null;
compareNode: Node | null;
depthNode: Node | null;

sampler: boolean;
updateMatrix: boolean;

referenceNode: Node | null;

constructor(value: Texture, uvNode?: ShaderNodeObject<Node>, levelNode?: ShaderNodeObject<Node> | null);

Expand Down

0 comments on commit 22c05c4

Please sign in to comment.