HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
tokens.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_HGI_TOKENS_H
8 #define PXR_IMAGING_HGI_TOKENS_H
9 
10 #include "pxr/pxr.h"
12 
13 #include "pxr/imaging/hgi/api.h"
14 
16 
17 #define HGI_TOKENS \
18  (taskDriver) \
19  (renderDriver) \
20  (OpenGL) \
21  (Metal) \
22  (Vulkan)
23 
25 
26 #define HGI_SHADER_KEYWORD_TOKENS \
27  (hdPosition) \
28  (hdPointCoord) \
29  (hdClipDistance) \
30  (hdCullDistance) \
31  (hdVertexID) \
32  (hdInstanceID) \
33  (hdPrimitiveID) \
34  (hdSampleID) \
35  (hdSamplePosition) \
36  (hdFragCoord) \
37  (hdFrontFacing) \
38  (hdLayer) \
39  (hdBaseVertex) \
40  (hdBaseInstance) \
41  (hdViewportIndex) \
42  (hdPositionInPatch) \
43  (hdPatchID) \
44  (hdGlobalInvocationID) \
45  (hdBaryCoordNoPersp) \
46  (hdSampleMaskIn) \
47  (hdSampleMask) \
48 
50  HgiShaderKeywordTokens, HGI_API, HGI_SHADER_KEYWORD_TOKENS);
51 
53 
54 #endif
#define HGI_SHADER_KEYWORD_TOKENS
Definition: tokens.h:26
#define HGI_TOKENS
Definition: tokens.h:17
ARCH_PRAGMA_PUSH ARCH_PRAGMA_MACRO_TOO_FEW_ARGUMENTS TF_DECLARE_PUBLIC_TOKENS(GusdTokens, GUSD_TOKENS)
#define HGI_API
Definition: api.h:23
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition: path.h:1425
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74