Enzo
Loading...
Searching...
No Matches
enzo::nt::Unit Struct Reference

A point in the network graph, either an operator output or a parameter. More...

#include <Unit.h>

Public Member Functions

bool isNode () const
 Whether the unit is a whole node rather than one parameter.
 
bool isParameter () const
 Whether the unit is one parameter rather than a whole node.
 
bool operator== (const Unit &other) const =default
 

Public Attributes

OpId opId = 0
 
std::string parm
 
unsigned int index = 0
 

Detailed Description

A point in the network graph, either an operator output or a parameter.

An empty parm names the node's cooked output itself, while a filled parm narrows the unit to one parameter component within the node.

Example Node 7's output is {7}, and the y of its translate is {7, "translate", 1}.


The documentation for this struct was generated from the following file: