SmartEngine  1.6.0
Public Attributes | List of all members
SmartEngine::GraphComponentCInfo Struct Reference

Data used to construct an IGraphComponent instance More...

#include <GraphComponent.h>

Inheritance diagram for SmartEngine::GraphComponentCInfo:
SmartEngine::GraphNodeCInfo

Public Attributes

IGraphgraph = nullptr
 The graph this component embeds More...
 
const char * outputNodeName = nullptr
 The name of the output node in the graph that will be used when treating this component as a graph node. More...
 
const ComponentInputBindingcomponentInputBindings = nullptr
 Array of bindings mapping nodes in this graph to the inputs of the component graph. If no array is specified, buffer inputs are made for all component inputs. More...
 
int componentInputBindingCount = 0
 The number of supplied component input bindings. More...
 
- Public Attributes inherited from SmartEngine::GraphNodeCInfo
const char * name = nullptr
 The name of this node. More...
 
IContextcontext = nullptr
 Context this node belongs to. Only graph nodes of the same context can be connected. More...
 

Detailed Description

Data used to construct an IGraphComponent instance

Member Data Documentation

◆ componentInputBindingCount

int SmartEngine::GraphComponentCInfo::componentInputBindingCount = 0

The number of supplied component input bindings.

◆ componentInputBindings

const ComponentInputBinding* SmartEngine::GraphComponentCInfo::componentInputBindings = nullptr

Array of bindings mapping nodes in this graph to the inputs of the component graph. If no array is specified, buffer inputs are made for all component inputs.

See IGraph::BindComponentInputs()

◆ graph

IGraph* SmartEngine::GraphComponentCInfo::graph = nullptr

The graph this component embeds

◆ outputNodeName

const char* SmartEngine::GraphComponentCInfo::outputNodeName = nullptr

The name of the output node in the graph that will be used when treating this component as a graph node.

Can be null. If null, this component can only be embedded by referencing nodes within.