Enzo
Loading...
Searching...
No Matches
OpInfo.h
1#pragma once
2#include <string>
3#include "Engine/Parameter/Template.h"
4
5// forward declaration
6namespace enzo::op
7{
8 struct OpInfo;
9}
10namespace enzo::nt
11{
12 class GeometryOpDef;
13 class NetworkManager;
14 using opConstructor = GeometryOpDef* (*)(enzo::nt::NetworkManager* network, enzo::op::OpInfo opInfo);
15}
16
17namespace enzo::op
18{
19struct OpInfo
20{
21 std::string internalName;
22 std::string displayName;
23 enzo::nt::opConstructor ctorFunc;
24 enzo::prm::Template* templates;
25 unsigned int minInputs=0;
26 unsigned int maxInputs=1;
27 unsigned int maxOutputs=1;
28};
29}
30
The central coordinator of the engine's node system.
Definition NetworkManager.h:26
Definition Template.h:11
Definition OpInfo.h:20