HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
renderer.h
Go to the documentation of this file.
1 //
2 // Copyright 2025 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_HD_RENDERER_H
8 #define PXR_IMAGING_HD_RENDERER_H
9 
10 #include "pxr/pxr.h"
11 #include "pxr/imaging/hd/api.h"
12 
14 
16 
17 ///
18 /// \class HdRenderer
19 ///
20 /// A Hydra renderer. Typically constructed through a
21 /// HdRendererPlugin given a scene index. In general,
22 /// a subclass of HdRenderer has a constructor taking a scene index
23 /// and implements HdSceneIndexObserver behavior.
24 ///
25 /// It is the Hydra 2.0 replacement of the HdRenderDelegate.
26 ///
28 {
29 public:
30  /// Stub class.
31  /// TODO: Add API here to replace HdLegacyRenderControlInterface.
32  virtual ~HdRenderer() = 0;
33 
34  /// Transitory Hydra-1.0-like API.
36 };
37 
39 
40 #endif
#define PXR_NAMESPACE_OPEN_SCOPE
Definition: pxr.h:73
virtual ~HdRenderer()=0
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74
virtual HdLegacyRenderControlInterface * GetLegacyRenderControl()
Transitory Hydra-1.0-like API.