Blender V5.0
FN_lazy_function_graph.hh File Reference

Go to the source code of this file.

Classes

class  blender::fn::lazy_function::Socket
class  blender::fn::lazy_function::InputSocket
class  blender::fn::lazy_function::OutputSocket
class  blender::fn::lazy_function::Node
class  blender::fn::lazy_function::FunctionNode
class  blender::fn::lazy_function::InterfaceNode
class  blender::fn::lazy_function::Graph
class  blender::fn::lazy_function::Graph::ToDotOptions

Namespaces

namespace  blender
namespace  blender::dot_export
namespace  blender::fn
namespace  blender::fn::lazy_function

Typedefs

using blender::fn::lazy_function::GraphInputSocket = OutputSocket
using blender::fn::lazy_function::GraphOutputSocket = InputSocket

Detailed Description

This file contains a graph data structure that allows composing multiple lazy-functions into a combined lazy-function.

There are two types of nodes in the graph:

  • #FunctionNode: Corresponds to a #LazyFunction. The inputs and outputs of the function become input and output sockets of the node.
  • #InterfaceNode: Is used to indicate inputs and outputs of the entire graph. It can have an arbitrary number of sockets.

Definition in file FN_lazy_function_graph.hh.