HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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
13
PXR_NAMESPACE_OPEN_SCOPE
14
15
class
HdLegacyRenderControlInterface
;
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
///
27
class
HdRenderer
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.
35
virtual
HdLegacyRenderControlInterface
*
GetLegacyRenderControl
();
36
};
37
38
PXR_NAMESPACE_CLOSE_SCOPE
39
40
#endif
PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_OPEN_SCOPE
Definition:
pxr.h:73
api.h
HdRenderer::~HdRenderer
virtual ~HdRenderer()=0
HdRenderer
Definition:
renderer.h:27
pxr.h
HdLegacyRenderControlInterface
Definition:
legacyRenderControlInterface.h:32
PXR_NAMESPACE_CLOSE_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition:
pxr.h:74
HdRenderer::GetLegacyRenderControl
virtual HdLegacyRenderControlInterface * GetLegacyRenderControl()
Transitory Hydra-1.0-like API.
pxr
imaging
hd
renderer.h
Generated on Mon Aug 24 2026 02:27:08 for HDK by
1.8.6