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"
33PXR_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;
110template<
typename T,
typename... Bases>
111void HdRendererPluginRegistry::Define()
117PXR_NAMESPACE_CLOSE_SCOPE
A (movable) handle for a render delegate that was created using a a plugin.
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.
Manage a single instance of an object (see.
Token for efficient comparison, assignment, and hashing of known strings.
Manage a single instance of an object.