HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
driver.h
Go to the documentation of this file.
1 //
2 // Copyright 2020 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_DRIVER_H
8 #define PXR_IMAGING_HD_DRIVER_H
9 
10 #include "pxr/pxr.h"
11 #include "pxr/imaging/hd/api.h"
12 
13 #include "pxr/base/tf/token.h"
14 #include "pxr/base/vt/value.h"
15 
17 
18 /// HdDriver represents a device object, commonly a render device, that is owned
19 /// by the application and passed to HdRenderIndex. The RenderIndex passes it to
20 /// the render delegate and rendering tasks.
21 /// The application manages the lifetime (destruction) of HdDriver and must
22 /// ensure it remains valid while Hydra is running.
23 class HdDriver {
24 public:
27 };
28 
30 
31 #endif
VtValue driver
Definition: driver.h:26
Definition: token.h:70
TfToken name
Definition: driver.h:25
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition: path.h:1425
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74
Definition: value.h:146