Blender V4.3
blender::nodes::materialx::GroupInputNodeParser Class Reference

#include <group_nodes.h>

Inherits blender::nodes::materialx::GroupNodeParser.

Public Member Functions

NodeItem compute () override
 
NodeItem compute_full () override
 
 GroupNodeParser (MaterialX::GraphElement *graph, const Depsgraph *depsgraph, const Material *material, const bNode *node, const bNodeSocket *socket_out, NodeItem::Type to_type, GroupNodeParser *group_parser, ExportParams export_params, bool use_group_default)
 
- Public Member Functions inherited from blender::nodes::materialx::GroupNodeParser
 GroupNodeParser (MaterialX::GraphElement *graph, const Depsgraph *depsgraph, const Material *material, const bNode *node, const bNodeSocket *socket_out, NodeItem::Type to_type, GroupNodeParser *group_parser, ExportParams export_params, bool use_group_default)
 
NodeItem compute () override
 
NodeItem compute_full () override
 
- Public Member Functions inherited from blender::nodes::materialx::NodeParser
 NodeParser (MaterialX::GraphElement *graph, const Depsgraph *depsgraph, const Material *material, const bNode *node, const bNodeSocket *socket_out, NodeItem::Type to_type, GroupNodeParser *group_parser, const ExportParams &export_params)
 
virtual ~NodeParser ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from blender::nodes::materialx::NodeParser
std::string node_name (bool with_out_socket=true) 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="")
 
- Protected Attributes inherited from blender::nodes::materialx::GroupNodeParser
bool use_group_default_
 
- Protected Attributes inherited from blender::nodes::materialx::NodeParser
MaterialX::GraphElement * graph_
 
const Depsgraph * depsgraph_
 
const Materialmaterial_
 
const bNodenode_
 
const bNodeSocketsocket_out_
 
NodeItem::Type to_type_
 
GroupNodeParsergroup_parser_
 
ExportParams export_params_
 

Detailed Description

Definition at line 47 of file group_nodes.h.

Member Function Documentation

◆ compute()

NodeItem blender::nodes::materialx::GroupInputNodeParser::compute ( )
overridevirtual

Implements blender::nodes::materialx::NodeParser.

Definition at line 138 of file group_nodes.cc.

◆ compute_full()

NodeItem blender::nodes::materialx::GroupInputNodeParser::compute_full ( )
overridevirtual

◆ GroupNodeParser()

blender::nodes::materialx::GroupNodeParser::GroupNodeParser ( MaterialX::GraphElement * graph,
const Depsgraph * depsgraph,
const Material * material,
const bNode * node,
const bNodeSocket * socket_out,
NodeItem::Type to_type,
GroupNodeParser * group_parser,
ExportParams export_params,
bool use_group_default )

Definition at line 24 of file group_nodes.cc.


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