7#ifndef PXR_USD_USD_SHADE_SHADER_DEF_PARSER_H
8#define PXR_USD_USD_SHADE_SHADER_DEF_PARSER_H
10#include "pxr/usd/usdShade/api.h"
16PXR_NAMESPACE_OPEN_SCOPE
43PXR_NAMESPACE_CLOSE_SCOPE
Interface for parser plugins.
Token for efficient comparison, assignment, and hashing of known strings.
Parses shader definitions represented using USD scene description using the schemas provided by UsdSh...
USDSHADE_API const TfToken & GetSourceType() const override
Returns the source type that this parser operates on.
USDSHADE_API SdrShaderNodeUniquePtr ParseShaderNode(const SdrShaderNodeDiscoveryResult &discoveryResult) override
Takes the specified SdrShaderNodeDiscoveryResult instance, which was a result of the discovery proces...
USDSHADE_API const SdrTokenVec & GetDiscoveryTypes() const override
Returns the types of nodes that this plugin can parse.
Represents the raw data of a node, and some other bits of metadata, that were determined via a SdrDis...