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
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
16
PXR_NAMESPACE_OPEN_SCOPE
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
:
25
TfToken
name
;
26
VtValue
driver
;
27
};
28
29
PXR_NAMESPACE_CLOSE_SCOPE
30
31
#endif
value.h
api.h
HdDriver::driver
VtValue driver
Definition:
driver.h:26
TfToken
Definition:
token.h:70
HdDriver
Definition:
driver.h:23
pxr.h
HdDriver::name
TfToken name
Definition:
driver.h:25
PXR_NAMESPACE_OPEN_SCOPE
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition:
path.h:1425
PXR_NAMESPACE_CLOSE_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition:
pxr.h:74
VtValue
Definition:
value.h:146
token.h
pxr
imaging
hd
driver.h
Generated on Wed Aug 27 2025 03:07:54 for HDK by
1.8.6