Blender V5.0
blender::nodes::materialx::GroupNodeParser Class Reference

#include <group_nodes.h>

Inherits blender::nodes::materialx::NodeParser.

Inherited by blender::nodes::materialx::GroupInputNodeParser, and blender::nodes::materialx::GroupOutputNodeParser.

Public Member Functions

 GroupNodeParser (NodeGraph &graph, const bNode *node, const bNodeSocket *socket_out, NodeItem::Type to_type, GroupNodeParser *group_parser, bool use_group_default)
NodeItem compute () override
NodeItem compute_full () override
Public Member Functions inherited from blender::nodes::materialx::NodeParser
 NodeParser (NodeGraph &graph, const bNode *node, const bNodeSocket *socket_out, NodeItem::Type to_type, GroupNodeParser *group_parser)
virtual ~NodeParser ()=default

Protected Attributes

bool use_group_default_
Protected Attributes inherited from blender::nodes::materialx::NodeParser
NodeGraphgraph_
const bNodenode_
const bNodeSocketsocket_out_
NodeItem::Type to_type_
GroupNodeParsergroup_parser_

Additional Inherited Members

Protected Member Functions inherited from blender::nodes::materialx::NodeParser
std::string node_name (const char *override_output_name=nullptr) const
NodeItem create_node (const std::string &category, NodeItem::Type type)
NodeItem create_node (const std::string &category, NodeItem::Type type, const NodeItem::Inputs &inputs)
NodeItem create_input (const std::string &name, const NodeItem &item)
NodeItem create_output (const std::string &name, const NodeItem &item)
NodeItem get_input_default (const std::string &name, NodeItem::Type to_type)
NodeItem get_input_default (int index, NodeItem::Type to_type)
NodeItem get_output_default (const std::string &name, NodeItem::Type to_type)
NodeItem get_output_default (int index, NodeItem::Type to_type)
NodeItem get_input_link (const std::string &name, NodeItem::Type to_type)
NodeItem get_input_link (int index, NodeItem::Type to_type)
NodeItem get_input_value (const std::string &name, NodeItem::Type to_type)
NodeItem get_input_value (int index, NodeItem::Type to_type)
NodeItem empty () const
template<class T>
NodeItem val (const T &data) const
NodeItem texcoord_node (NodeItem::Type type=NodeItem::Type::Vector2, const std::string &attribute_name="")

Detailed Description

Definition at line 17 of file group_nodes.h.

Constructor & Destructor Documentation

◆ GroupNodeParser()

blender::nodes::materialx::GroupNodeParser::GroupNodeParser ( NodeGraph & graph,
const bNode * node,
const bNodeSocket * socket_out,
NodeItem::Type to_type,
GroupNodeParser * group_parser,
bool use_group_default )

Member Function Documentation

◆ compute()

◆ compute_full()

Member Data Documentation

◆ use_group_default_

bool blender::nodes::materialx::GroupNodeParser::use_group_default_
protected

Definition at line 21 of file group_nodes.h.

Referenced by compute(), and GroupNodeParser().


The documentation for this class was generated from the following files: