UNPKG

@types/three

Version:
33 lines (27 loc) 822 B
import { ShaderNodeObject } from "three/tsl"; import { Node, TempNode, TextureNode, UniformNode } from "three/webgpu"; declare class TransitionNode extends TempNode { textureNodeA: TextureNode; textureNodeB: TextureNode; mixTextureNode: TextureNode; mixRatioNode: Node; thresholdNode: Node; useTextureNode: Node; constructor( textureNodeA: TextureNode, textureNodeB: TextureNode, mixTextureNode: TextureNode, mixRatioNode: Node, thresholdNode: Node, useTextureNode: Node, ); } export default TransitionNode; export const transition: ( node: Node, nodeB: Node, mixTexture: Node, mixRatio: UniformNode<number>, threshold: UniformNode<number>, useTexture: UniformNode<number>, ) => ShaderNodeObject<TransitionNode>;