9#include <MaterialXCore/Document.h>
36 const MaterialX::DocumentPtr &document);
unsigned long long int uint64_t
static Type to_type(const GPUType type)
MaterialX::GraphElement * graph_element
bool operator==(const NodeKey &other) const
void set_output_node_name(const NodeItem &item) const
NodeItem get_node(StringRef name) const
std::string unique_node_name(const bNode *node, StringRef socket_out_name, NodeItem::Type to_type)
static std::string unique_anonymous_node_name(MaterialX::GraphElement *graph_element)
Map< NodeKey, const std::string > root_key_to_name_map_
NodeItem get_input(StringRef name) const
const Depsgraph * depsgraph
const ExportParams & export_params
Map< NodeKey, const std::string > & key_to_name_map_
NodeItem get_output(StringRef name) const
std::string node_name_prefix_
const Material * material
Set< std::string > used_node_names_
NodeItem empty_node() const
NodeGraph(const Depsgraph *depsgraph, const Material *material, const ExportParams &export_params, const MaterialX::DocumentPtr &document)
MaterialX::GraphElement * graph_element_