24 #ifndef PXR_IMAGING_HD_LIGHT_H
25 #define PXR_IMAGING_HD_LIGHT_H
28 #include "pxr/imaging/hd/api.h"
29 #include "pxr/imaging/hd/version.h"
30 #include "pxr/imaging/hd/sprim.h"
34 #include "pxr/base/vt/value.h"
38 PXR_NAMESPACE_OPEN_SCOPE
40 #define HD_LIGHT_TOKENS \
44 (enableColorTemperature) \
50 ((textureFile, "texture:file")) \
51 ((textureFormat, "texture:format")) \
56 ((shapingFocus, "shaping:focus")) \
57 ((shapingFocusTint, "shaping:focusTint")) \
58 ((shapingConeAngle, "shaping:cone:angle")) \
59 ((shapingConeSoftness, "shaping:cone:softness")) \
60 ((shapingIesFile, "shaping:ies:file")) \
61 ((shapingIesAngleScale, "shaping:ies:angleScale")) \
62 ((shapingIesNormalize, "shaping:ies:normalize")) \
63 ((shadowEnable, "shadow:enable")) \
64 ((shadowColor, "shadow:color")) \
65 ((shadowDistance, "shadow:distance")) \
66 ((shadowFalloff, "shadow:falloff")) \
67 ((shadowFalloffGamma, "shadow:falloffGamma")) \
76 typedef std::vector<class HdLight const *> HdLightPtrConstVector;
90 enum DirtyBits : HdDirtyBits {
92 DirtyTransform = 1 << 0,
94 DirtyShadowParams = 1 << 2,
95 DirtyCollection = 1 << 3,
96 DirtyResource = 1 << 4,
97 AllDirty = (DirtyTransform
105 PXR_NAMESPACE_CLOSE_SCOPE
107 #endif // PXR_IMAGING_HD_LIGHT_H
Adapter class providing data exchange with the client scene graph.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.
A path value used to locate objects in layers or scenegraphs.
Sprim (state prim) is a base class of managing state for non-drawable scene entity (e...
This file defines some macros that are useful for declaring and using static TfTokens.
A light model, used in conjunction with HdRenderPass.