7#ifndef PXR_IMAGING_HD_RENDERER_PLUGIN_REGISTRY_H
8#define PXR_IMAGING_HD_RENDERER_PLUGIN_REGISTRY_H
11#include "pxr/imaging/hd/api.h"
12#include "pxr/imaging/hd/renderDelegate.h"
14#include "pxr/imaging/hf/pluginRegistry.h"
16PXR_NAMESPACE_OPEN_SCOPE
30 static HdRendererPluginRegistry &GetInstance();
35 template<
typename T,
typename... Bases>
67 TfToken GetDefaultPluginId(
bool gpuEnabled =
true);
101 const HdRenderSettingsMap &settingsMap = {});
107 friend class TfSingleton<HdRendererPluginRegistry>;
109 void _CollectAdditionalMetadata(
113 HdRendererPluginRegistry();
114 ~HdRendererPluginRegistry()
override;
119 HdRendererPluginRegistry(
const HdRendererPluginRegistry &) =
delete;
120 HdRendererPluginRegistry &operator=(
const HdRendererPluginRegistry &) =
delete;
124template<
typename T,
typename... Bases>
125void HdRendererPluginRegistry::Define()
131PXR_NAMESPACE_CLOSE_SCOPE
A (movable) handle for a render delegate that was created using a a plugin.
Arguments to HdRendererPlugin::IsSupported and CreateRenderer.
A handle for HdRendererPlugin also storing the plugin id.
This class defines a renderer plugin interface for Hydra.
Base class for registering Hydra plugins using the plug mechanism.
static void Define()
Entry point for registering a types implementation.
Defines an interface for registering plugins.
Manage a single instance of an object (see.
Token for efficient comparison, assignment, and hashing of known strings.
TfType represents a dynamic runtime type.
Manage a single instance of an object.