Loading...
Searching...
No Matches
discoveryPlugin.h File Reference
+ Include dependency graph for discoveryPlugin.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SdrDiscoveryPluginContext
 A context for discovery. More...
 
class  SdrDiscoveryPlugin
 Interface for discovery plugins for finding shader nodes. More...
 

Macros

#define SDR_REGISTER_DISCOVERY_PLUGIN(DiscoveryPluginClass)
 Register a discovery plugin (DiscoveryPluginClass) with the plugin system.
 

Functions

 TF_DECLARE_WEAK_AND_REF_PTRS (SdrDiscoveryPluginContext)
 
 TF_DECLARE_WEAK_AND_REF_PTRS (SdrDiscoveryPlugin)
 

Macro Definition Documentation

◆ SDR_REGISTER_DISCOVERY_PLUGIN

#define SDR_REGISTER_DISCOVERY_PLUGIN (   DiscoveryPluginClass)
Value:
{ \
TfType::Define<DiscoveryPluginClass, TfType::Bases<SdrDiscoveryPlugin>>() \
.SetFactory<SdrDiscoveryPluginFactory<DiscoveryPluginClass>>(); \
}
TfType represents a dynamic runtime type.
Definition: type.h:48
#define TF_REGISTRY_FUNCTION(KEY_TYPE)
Define a function that is called on demand by TfRegistryManager.

Register a discovery plugin (DiscoveryPluginClass) with the plugin system.

If registered, the discovery plugin will execute its discovery process when the registry is instantiated.

Definition at line 26 of file discoveryPlugin.h.