8#ifndef PXR_USD_SDR_FILESYSTEM_DISCOVERY_H
9#define PXR_USD_SDR_FILESYSTEM_DISCOVERY_H
15#include "pxr/usd/sdr/api.h"
19PXR_NAMESPACE_OPEN_SCOPE
74 const SdrStringVec&
GetSearchURIs()
const override {
return _searchPaths; }
78 SdrStringVec _searchPaths;
83 SdrStringVec _allowedExtensions;
92PXR_NAMESPACE_CLOSE_SCOPE
Discovers shader nodes on the filesystem.
SDR_API SdrShaderNodeDiscoveryResultVec DiscoverShaderNodes(const Context &) override
Discover all of the nodes that appear within the the search paths provided and match the extensions p...
SDR_API _SdrFilesystemDiscoveryPlugin(Filter filter)
DiscoverShaderNodes() will pass each result to the given function for modification.
std::function< bool(SdrShaderNodeDiscoveryResult &)> Filter
A filter for discovered nodes.
SDR_API _SdrFilesystemDiscoveryPlugin()
Constructor.
SDR_API const SdrStringVec & GetSearchURIs() const override
Gets the paths that this plugin is searching for nodes in.
SDR_API ~_SdrFilesystemDiscoveryPlugin()
Destructor.
Interface for discovery plugins for finding shader nodes.
#define TF_DECLARE_WEAK_AND_REF_PTRS(type)
Define standard weak, ref, and vector pointer types.
Provides utilities that the default filesystem discovery plugin uses.
Represents the raw data of a node, and some other bits of metadata, that were determined via a SdrDis...