8#ifndef PXR_USD_SDR_FILESYSTEM_DISCOVERY_H
9#define PXR_USD_SDR_FILESYSTEM_DISCOVERY_H
20#include "pxr/usd/sdr/api.h"
24PXR_NAMESPACE_OPEN_SCOPE
79 const SdrStringVec&
GetSearchURIs()
const override {
return _searchPaths; }
83 SdrStringVec _searchPaths;
88 SdrStringVec _allowedExtensions;
97PXR_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)
DiscoverNodes() 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.
#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...