All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
rendererPlugin.h
1//
2// Copyright 2017 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6//
7#ifndef PXR_IMAGING_PLUGIN_HD_EMBREE_RENDERER_PLUGIN_H
8#define PXR_IMAGING_PLUGIN_HD_EMBREE_RENDERER_PLUGIN_H
9
10#include "pxr/pxr.h"
11#include "pxr/imaging/hd/rendererPlugin.h"
12
13PXR_NAMESPACE_OPEN_SCOPE
14
27{
28public:
29 HdEmbreeRendererPlugin() = default;
30
35 HdRenderDelegate *CreateRenderDelegate() override;
36
42 HdRenderDelegate *CreateRenderDelegate(
43 HdRenderSettingsMap const& settingsMap) override;
44
48 HdRenderDelegate *renderDelegate) override;
49
52 bool IsSupported(bool gpuEnabled = true) const override;
53
54private:
55 // This class does not support copying.
57 HdEmbreeRendererPlugin &operator =(const HdEmbreeRendererPlugin&) = delete;
58};
59
60PXR_NAMESPACE_CLOSE_SCOPE
61
62#endif // PXR_IMAGING_PLUGIN_HD_EMBREE_RENDERER_PLUGIN_H
A registered child of HdRendererPlugin, this is the class that gets loaded when a hydra application a...
void DeleteRenderDelegate(HdRenderDelegate *renderDelegate) override
Destroy a render delegate created by this class's CreateRenderDelegate.
HdRenderDelegate * CreateRenderDelegate() override
Construct a new render delegate of type HdEmbreeRenderDelegate.
HdRenderDelegate * CreateRenderDelegate(HdRenderSettingsMap const &settingsMap) override
Construct a new render delegate of type HdEmbreeRenderDelegate.
bool IsSupported(bool gpuEnabled=true) const override
Checks to see if the embree plugin is supported on the running system.
This class defines a renderer plugin interface for Hydra.