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"
13#include "pxr/usd/ndr/discoveryPlugin.h"
16PXR_NAMESPACE_OPEN_SCOPE
48PXR_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 NdrNodeUniquePtr Parse(const NdrNodeDiscoveryResult &discoveryResult) override
Takes the specified NdrNodeDiscoveryResult instance, which was a result of the discovery process,...
USDSHADE_API const NdrTokenVec & GetDiscoveryTypes() const override
Returns the types of nodes that this plugin can parse.
A strongly concurrency safe collection of UsdStageRefPtr s, enabling sharing across multiple clients ...
Represents the raw data of a node, and some other bits of metadata, that were determined via a NdrDis...
Common typedefs that are used throughout the NDR library.