Skip to content

Core::Operation

Description of each graph node (operation enum, default label, input and output pin names and types)

#include "Core/Nodes/Operations.h"

Public Attributes

Name
PinNamesdefaultInputNames
std::stringdefaultLabel
PinNamesdefaultOutputNames
std::stringdefaultTagText
boolignoreCycleDetection <br>used in isPlugCorrect()
PinGroupinputTypes
boolisConstructor <br>Constructor is an operator that can generate value (such as float, vec3, vec4, mat4, pulse,...).
std::stringkeyWord
PinGroupoutputTypes

Public Attributes Documentation

variable defaultInputNames

cpp
PinNames defaultInputNames = DEFAULT_NAMES;
PinNames defaultInputNames = DEFAULT_NAMES;

variable defaultLabel

cpp
std::string defaultLabel;
std::string defaultLabel;

variable defaultOutputNames

cpp
PinNames defaultOutputNames = DEFAULT_NAMES;
PinNames defaultOutputNames = DEFAULT_NAMES;

variable defaultTagText

cpp
std::string defaultTagText = NO_TAG;
std::string defaultTagText = NO_TAG;

variable ignoreCycleDetection

cpp
bool ignoreCycleDetection = false;
bool ignoreCycleDetection = false;

used in isPlugCorrect()

variable inputTypes

cpp
PinGroup inputTypes;
PinGroup inputTypes;

variable isConstructor

cpp
bool isConstructor = false;
bool isConstructor = false;

Constructor is an operator that can generate value (such as float, vec3, vec4, mat4, pulse,...).

Its behaviour depends on whether its single input is connected.

  • For a connected input, the value is taken from the incoming wire.
  • For an unconnected input, the value is editable.

Value

  • false - a standard operator node processes only the connected pins and has no GUI editable values
  • true - not connected inputs are editable

variable keyWord

cpp
std::string keyWord;
std::string keyWord;

variable outputTypes

cpp
PinGroup outputTypes;
PinGroup outputTypes;

Updated on 2024-11-06 at 20:16:54 +0000