24 #ifndef PXR_IMAGING_HD_MTLX_HDMTLX_H
25 #define PXR_IMAGING_HD_MTLX_HDMTLX_H
28 #include "pxr/imaging/hdMtlx/api.h"
31 #include <unordered_map>
34 using DocumentPtr = std::shared_ptr<class Document>;
35 using StringMap = std::unordered_map<std::string, std::string>;
38 PXR_NAMESPACE_OPEN_SCOPE
48 HdMtlxConvertToString(
VtValue const& hdParameterValue);
54 MaterialX::DocumentPtr
55 HdMtlxCreateMtlxDocumentFromHdNetwork(
59 MaterialX::DocumentPtr
const& libraries,
60 std::set<SdfPath> * hdTextureNodes,
61 MaterialX::StringMap * mxHdTextureMap);
63 PXR_NAMESPACE_CLOSE_SCOPE
Describes an instance of a node within a network A node contains a (shader) type identifier, parameter values, and connections to upstream nodes.
A path value used to locate objects in layers or scenegraphs.
Container of nodes and top-level terminal connections.
Provides a container which may hold any type, and provides introspection and iteration over array typ...