|
Blender V5.0
|
Classes | |
| class | GroupNodeParser |
| class | GroupOutputNodeParser |
| class | GroupInputNodeParser |
| class | DefaultMaterialNodeParser |
| struct | ExportParams |
| struct | NodeGraph |
| class | NodeItem |
| class | NodeParser |
| struct | NodeParserData |
Functions | |
| MaterialX::DocumentPtr | export_to_materialx (Depsgraph *depsgraph, Material *material, const ExportParams &export_params) |
| static std::string | valid_name (const StringRef name) |
| CLG_LOGREF_DECLARE_GLOBAL (LOG_IO_MATERIALX, "io.materialx") | |
Variables | |
| static const char * | ANONYMOUS_NODE_NAME_PREFIX = "node" |
| constexpr StringRef | TEXCOORD_NODE_NAME = "node_texcoord" |
| struct CLG_LogRef * | LOG_IO_MATERIALX |
| blender::nodes::materialx::CLG_LOGREF_DECLARE_GLOBAL | ( | LOG_IO_MATERIALX | , |
| "io.materialx" | ) |
References LOG_IO_MATERIALX.
| MaterialX::DocumentPtr blender::nodes::materialx::export_to_materialx | ( | Depsgraph * | depsgraph, |
| Material * | material, | ||
| const ExportParams & | export_params ) |
Definition at line 54 of file nodes/shader/materialx/material.cc.
References BKE_id_free(), BLI_SCOPED_DEFER, CLOG_DEBUG, blender::nodes::materialx::DefaultMaterialNodeParser::compute_error(), data, depsgraph, blender::nodes::materialx::NodeGraph::empty_node(), bNodeTree::id, Material::id, bNodeTree::idname, blender::nodes::inline_shader_node_tree(), LOG_IO_MATERIALX, blender::nodes::materialx::NodeItem::Material, ID::name, blender::bke::node_tree_add_tree(), Material::nodetree, ntreeShaderOutputNode(), params, blender::nodes::materialx::NodeGraph::set_output_node_name(), SHD_OUTPUT_ALL, and bNode::typeinfo.
Referenced by blender::io::hydra::MaterialData::init().
|
static |
Definition at line 22 of file node_graph.cc.
References name.
Referenced by blender::nodes::materialx::NodeGraph::NodeGraph(), and blender::nodes::materialx::NodeGraph::unique_node_name().
|
static |
Definition at line 19 of file node_graph.cc.
Referenced by blender::nodes::materialx::NodeGraph::unique_anonymous_node_name(), and blender::nodes::materialx::NodeGraph::unique_node_name().
|
extern |
Referenced by CLG_LOGREF_DECLARE_GLOBAL(), blender::nodes::materialx::GroupInputNodeParser::compute_full(), blender::nodes::materialx::GroupOutputNodeParser::compute_full(), blender::nodes::materialx::NodeItem::convert(), blender::nodes::materialx::NodeItem::create_node(), export_to_materialx(), blender::nodes::materialx::NodeGraph::NodeGraph(), and blender::nodes::materialx::NodeItem::set_input().
|
constexpr |
Definition at line 13 of file node_parser.cc.
Referenced by blender::nodes::materialx::NodeParser::texcoord_node().