24 #ifndef PXR_IMAGING_HD_RENDERER_PLUGIN_REGISTRY_H 25 #define PXR_IMAGING_HD_RENDERER_PLUGIN_REGISTRY_H 28 #include "pxr/imaging/hd/api.h" 29 #include "pxr/imaging/hd/renderDelegate.h" 31 #include "pxr/imaging/hf/pluginRegistry.h" 33 PXR_NAMESPACE_OPEN_SCOPE
47 static HdRendererPluginRegistry &GetInstance();
52 template<
typename T,
typename... Bases>
61 TfToken GetDefaultPluginId(
bool gpuEnabled =
true);
92 const HdRenderSettingsMap &settingsMap = {});
99 HdRendererPluginRegistry();
100 ~HdRendererPluginRegistry()
override;
105 HdRendererPluginRegistry(
const HdRendererPluginRegistry &) =
delete;
106 HdRendererPluginRegistry &operator=(
const HdRendererPluginRegistry &) =
delete;
110 template<
typename T,
typename... Bases>
111 void HdRendererPluginRegistry::Define()
117 PXR_NAMESPACE_CLOSE_SCOPE
119 #endif // PXR_IMAGING_HD_RENDERER_PLUGIN_REGISTRY_H Manage a single instance of an object.
Manage a single instance of an object (see.
Base class for registering Hydra plugins using the plug mechanism.
This class defines a renderer plugin interface for Hydra.
A (movable) handle for a render delegate that was created using a a plugin.
static void Define()
Entry point for registering a types implementation.
Token for efficient comparison, assignment, and hashing of known strings.
A handle for HdRendererPlugin also storing the plugin id.