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
pluginDesc.h
Go to the documentation of this file.
1
//
2
// Copyright 2016 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_HF_PLUGIN_DESC_H
8
#define PXR_IMAGING_HF_PLUGIN_DESC_H
9
10
#include "
pxr/pxr.h
"
11
#include "
pxr/base/tf/token.h
"
12
13
#include <vector>
14
15
PXR_NAMESPACE_OPEN_SCOPE
16
17
18
///
19
/// Common structure used to report registered plugins in one of the plugin
20
/// registries. The id token is used for internal api communication
21
/// about the name of the plugin.
22
/// displayName is a human readable name given to the plugin intended
23
/// to be used in menus.
24
/// priority is used to provide an ordering of plugins. The plugin
25
/// with the highest priority is determined to be the default (unless
26
/// overridden by the application). In the event of a tie
27
/// the string version of id is used to sort alphabetically ('a' has priority
28
/// over 'b').
29
///
30
struct
HfPluginDesc
{
31
TfToken
id
;
32
std::string
displayName
;
33
int
priority
;
34
};
35
36
typedef
std::vector<HfPluginDesc>
HfPluginDescVector
;
37
38
39
PXR_NAMESPACE_CLOSE_SCOPE
40
41
#endif // PXR_IMAGING_HF_PLUGIN_DESC_H
HfPluginDesc::displayName
std::string displayName
Definition:
pluginDesc.h:32
PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_OPEN_SCOPE
Definition:
pxr.h:73
HfPluginDesc::priority
int priority
Definition:
pluginDesc.h:33
TfToken
Definition:
token.h:70
pxr.h
PXR_NAMESPACE_CLOSE_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition:
pxr.h:74
HfPluginDescVector
std::vector< HfPluginDesc > HfPluginDescVector
Definition:
pluginDesc.h:36
HfPluginDesc
Definition:
pluginDesc.h:30
token.h
HfPluginDesc::id
TfToken id
Definition:
pluginDesc.h:31
pxr
imaging
hf
pluginDesc.h
Generated on Mon Jul 20 2026 02:17:42 for HDK by
1.8.6