omni::graph::core::CreateGraphAsNodeOptions

Defined in omni/graph/core/iComputeGraph.h

struct CreateGraphAsNodeOptions

Parameters for IGraph::CreateGraphAsNode.

Public Members

const uint8_t version = {CreateGraphAsNodeOptions::kCurrentVersion}

The version of this structure.

const char *nodeName = {""}

The name of the node that wraps the graph.

const char *graphPath = {""}

The path to where the graph that the node will wrap will be added.

const char *evaluatorName = {""}

The evaluator to use for the new graph.

bool isGlobalGraph = {true}

Whether this graph is a top level global graph.

bool backByUSD = {true}

Whether to back this graph by USD.

GraphBackingType backingType = {kGraphBackingType_FabricShared}

What kind of FC backs this graph.

GraphPipelineStage pipelineStage = {kGraphPipelineStage_Simulation}

What pipeline stage this graph occupies.

GraphEvaluationMode evaluationMode = {GraphEvaluationMode::Automatic}

The evaluation mode for the graph.

bool allowAutoInstancing = {true}

Whether or not the graph is allowed to be auto instanced.

Public Static Attributes

static constexpr uint8_t kCurrentVersion = 2

Version number of this structure.