8#ifndef PXR_USD_SDR_NODE_DISCOVERY_RESULT_H
9#define PXR_USD_SDR_NODE_DISCOVERY_RESULT_H
19#include "pxr/usd/ndr/nodeDiscoveryResult.h"
21PXR_NAMESPACE_OPEN_SCOPE
30 const std::string&
name,
34 const std::string&
uri,
37 const SdrTokenMap &
metadata=SdrTokenMap(),
38 const std::string&
blindData=std::string(),
188typedef std::vector<SdrShaderNodeDiscoveryResult> SdrShaderNodeDiscoveryResultVec;
190PXR_NAMESPACE_CLOSE_SCOPE
Token for efficient comparison, assignment, and hashing of known strings.
Represents the raw data of a node, and some other bits of metadata, that were determined via a NdrDis...
std::string uri
The node's origin.
TfToken subIdentifier
The subIdentifier is associated with a particular asset and refers to a specific definition within th...
NdrVersion version
The node's version.
NdrTokenMap metadata
The node's metadata collected during the discovery process.
std::string sourceCode
The node's entire source code.
TfToken family
The node's family.
TfToken discoveryType
The node's discovery type.
TfToken sourceType
The node's source type.
std::string name
The node's name.
std::string resolvedUri
The node's fully-resolved URI.
std::string blindData
An optional detail for the parser plugin.
NdrIdentifier identifier
The node's identifier.
Represents the raw data of a node, and some other bits of metadata, that were determined via a SdrDis...
std::string uri
The node's origin.
TfToken subIdentifier
The subIdentifier is associated with a particular asset and refers to a specific definition within th...
SdrShaderNodeDiscoveryResult(const SdrIdentifier &identifier, const SdrVersion &version, const std::string &name, const TfToken &family, const TfToken &discoveryType, const TfToken &sourceType, const std::string &uri, const std::string &resolvedUri, const std::string &sourceCode=std::string(), const SdrTokenMap &metadata=SdrTokenMap(), const std::string &blindData=std::string(), const TfToken &subIdentifier=TfToken())
Constructor.
std::string sourceCode
The node's entire source code.
TfToken family
The node's family.
TfToken discoveryType
The node's discovery type.
SdrTokenMap metadata
The node's metadata collected during the discovery process.
TfToken sourceType
The node's source type.
std::string name
The node's name.
static SdrShaderNodeDiscoveryResult FromNdrNodeDiscoveryResult(const NdrNodeDiscoveryResult &result)
Helper function to translate NdrNodeDiscoveryResult to SdrShaderNodeDiscoveryResult values.
std::string resolvedUri
The node's fully-resolved URI.
std::string blindData
An optional detail for the parser plugin.
SdrIdentifier identifier
The node's identifier.
NdrNodeDiscoveryResult ToNdrNodeDiscoveryResult() const
Helper function to translate SdrShaderNodeDiscoveryResult to NdrNodeDiscoveryResult values.
SdrVersion version
The node's version.
SDR_API NdrVersion SdrToNdrVersion(SdrVersion version)
Helper function to translate SdrVersion to NdrVersion.
SDR_API SdrVersion NdrToSdrVersion(NdrVersion version)
Helper function to translate NdrVersion to SdrVersion.