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

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

Public Member Functions

NodeItem compute () override
NodeItem compute_error ()
 NodeParser (NodeGraph &graph, const bNode *node, const bNodeSocket *socket_out, NodeItem::Type to_type, GroupNodeParser *group_parser)
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
virtual NodeItem compute_full ()

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="")
Protected Attributes inherited from blender::nodes::materialx::NodeParser
NodeGraphgraph_
const bNodenode_
const bNodeSocketsocket_out_
NodeItem::Type to_type_
GroupNodeParsergroup_parser_

Detailed Description

Definition at line 22 of file nodes/shader/materialx/material.cc.

Member Function Documentation

◆ compute()

◆ compute_error()

◆ NodeParser()


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