Loading...
Searching...
No Matches
tokens.h
1//
2// Copyright 2022 Pixar
3//
4// Licensed under the Apache License, Version 2.0 (the "Apache License")
5// with the following modification; you may not use this file except in
6// compliance with the Apache License and the following modification to it:
7// Section 6. Trademarks. is deleted and replaced with:
8//
9// 6. Trademarks. This License does not grant permission to use the trade
10// names, trademarks, service marks, or product names of the Licensor
11// and its affiliates, except as required to comply with Section 4(c) of
12// the License and to reproduce the content of the NOTICE file.
13//
14// You may obtain a copy of the Apache License at
15//
16// http://www.apache.org/licenses/LICENSE-2.0
17//
18// Unless required by applicable law or agreed to in writing, software
19// distributed under the Apache License with the above modification is
20// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
21// KIND, either express or implied. See the Apache License for the specific
22// language governing permissions and limitations under the Apache License.
23//
24#ifndef EXT_RMANPKG_25_0_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_TOKENS_H
25#define EXT_RMANPKG_25_0_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_TOKENS_H
26
27#include "pxr/pxr.h"
28#include "hdPrman/api.h"
30
31PXR_NAMESPACE_OPEN_SCOPE
32
33#define HD_PRMAN_TOKENS \
34 (meshLight) \
35 (meshLightSourceMesh) \
36 (meshLightSourceVolume) \
37 (sourceGeom)
38
39TF_DECLARE_PUBLIC_TOKENS(HdPrmanTokens, HDPRMAN_API, HD_PRMAN_TOKENS);
40
44#define HD_PRMAN_RILEY_PRIM_TYPE_TOKENS \
45 ((camera, "riley:camera")) \
46 ((clippingPlane, "riley:clippingPlane")) \
47 ((coordinateSystem, "riley:coordinateSystem")) \
48 ((displacement, "riley:displacement")) \
49 ((display, "riley:display")) \
50 ((displayFilter, "riley:displayFilter")) \
51 ((geometryInstance, "riley:geometryInstance")) \
52 ((geometryPrototype, "riley:geometryPrototype")) \
53 ((integrator, "riley:integrator")) \
54 ((lightInstance, "riley:lightInstance")) \
55 ((lightShader, "riley:lightShader")) \
56 ((material, "riley:material")) \
57 ((renderOutput, "riley:renderOutput")) \
58 ((renderTarget, "riley:renderTarget")) \
59 ((renderView, "riley:renderView")) \
60 ((sampleFilter, "riley:sampleFilter"))
61
62TF_DECLARE_PUBLIC_TOKENS(HdPrmanRileyPrimTypeTokens, HDPRMAN_API,
63 HD_PRMAN_RILEY_PRIM_TYPE_TOKENS);
64
65#define HD_PRMAN_RILEY_ADDITIONAL_ROLE_TOKENS \
66 (colorReference) \
67 (floatReference)
68
69TF_DECLARE_PUBLIC_TOKENS(HdPrmanRileyAdditionalRoleTokens, HDPRMAN_API,
70 HD_PRMAN_RILEY_ADDITIONAL_ROLE_TOKENS);
71
72#define HD_PRMAN_PLUGIN_TOKENS \
73 ((motionBlur, "HdPrman_MotionBlurSceneIndexPlugin")) \
74 ((extComp, "HdPrman_ExtComputationPrimvarPruningSceneIndexPlugin"))
75
76TF_DECLARE_PUBLIC_TOKENS(HdPrmanPluginTokens, HD_PRMAN_PLUGIN_TOKENS);
77
78const std::vector<std::string>& HdPrman_GetPluginDisplayNames();
79
80PXR_NAMESPACE_CLOSE_SCOPE
81
82#endif //EXT_RMANPKG_25_0_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_TOKENS_H
This file defines some macros that are useful for declaring and using static TfTokens.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.
Definition: staticTokens.h:98