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" 36 PXR_NAMESPACE_OPEN_SCOPE
38 #define HD_LIGHT_TOKENS \ 42 (enableColorTemperature) \ 48 ((textureFile, "texture:file")) \ 49 ((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 using HdLightPtrConstVector = std::vector<class HdLight const *>;
91 enum DirtyBits : HdDirtyBits {
93 DirtyTransform = 1 << 0,
95 DirtyShadowParams = 1 << 2,
96 DirtyCollection = 1 << 3,
97 DirtyResource = 1 << 4,
98 AllDirty = (DirtyTransform
106 PXR_NAMESPACE_CLOSE_SCOPE
108 #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.