HDK
|
#include <lightAdapter.h>
Public Types | |
typedef UsdImagingPrimAdapter | BaseAdapter |
Public Types inherited from UsdImagingPrimAdapter | |
enum | PopulationMode { RepresentsSelf, RepresentsSelfAndDescendents, RepresentedByAncestor } |
Static Public Member Functions | |
static USDIMAGING_API bool | IsEnabledSceneLights () |
Static Public Member Functions inherited from UsdImagingPrimAdapter | |
static USDIMAGING_API UsdAttribute | LookupLightParamAttribute (UsdPrim const &prim, TfToken const ¶mName) |
Provides to paramName->UsdAttribute value mappings. More... | |
static USDIMAGING_API bool | ShouldCullSubtree (UsdPrim const &prim) |
Utilities | |
static USDIMAGING_API SdfPath | _ResolveCachePath (const SdfPath &usdPath, const UsdImagingInstancerContext *instancerContext) |
USDIMAGING_API VtValue | GetMaterialResource (UsdPrim const &prim, SdfPath const &cachePath, UsdTimeCode time) const override |
USDIMAGING_API SdfPath | _AddSprim (const TfToken &primType, const UsdPrim &usdPrim, UsdImagingIndexProxy *index, const UsdImagingInstancerContext *instancerContext=nullptr) |
USDIMAGING_API void | _RemoveSprim (const TfToken &primType, const SdfPath &cachePath, UsdImagingIndexProxy *index) |
void | _RemovePrim (SdfPath const &cachePath, UsdImagingIndexProxy *index) override |
void | _UnregisterLightCollections (SdfPath const &cachePath) |
void | _RegisterLightCollections (UsdPrim const &prim) |
Base class for all lights.
Definition at line 42 of file lightAdapter.h.
Definition at line 44 of file lightAdapter.h.
|
inline |
Definition at line 49 of file lightAdapter.h.
|
override |
USDIMAGING_API SdfPath UsdImagingLightAdapter::_AddSprim | ( | const TfToken & | primType, |
const UsdPrim & | usdPrim, | ||
UsdImagingIndexProxy * | index, | ||
const UsdImagingInstancerContext * | instancerContext = nullptr |
||
) |
Updates the collection cache content Checks for collection hash change and returns true if they are different
Updates the collection cache content Checks for collection hash change and returns true if they are different
|
overrideprotectedvirtual |
Updates the collection cache content Checks for collection hash change and returns true if they are different
Implements UsdImagingPrimAdapter.
Reimplemented in UsdImagingSphereLightAdapter, UsdImagingRectLightAdapter, UsdImagingPluginLightAdapter, and UsdImagingPortalLightAdapter.
USDIMAGING_API void UsdImagingLightAdapter::_RemoveSprim | ( | const TfToken & | primType, |
const SdfPath & | cachePath, | ||
UsdImagingIndexProxy * | index | ||
) |
Updates the collection cache content Checks for collection hash change and returns true if they are different
|
static |
Updates the collection cache content Checks for collection hash change and returns true if they are different
Updates the collection cache content Checks for collection hash change and returns true if they are different
|
overridevirtual |
Returns the prim's behavior with regard to population and invalidation. See PopulationMode for possible values.
Reimplemented from UsdImagingPrimAdapter.
|
overridevirtual |
Updates the collection cache content Checks for collection hash change and returns true if they are different
Reimplemented from UsdImagingPrimAdapter.
|
overridevirtual |
Returns the prim's behavior with regard to population and invalidation. See PopulationMode for possible values.
Reimplemented from UsdImagingPrimAdapter.
|
static |
|
overridevirtual |
Returns true if the adapter can be populated into the target index.
Reimplemented from UsdImagingPrimAdapter.
Reimplemented in UsdImagingSphereLightAdapter, UsdImagingRectLightAdapter, UsdImagingPluginLightAdapter, and UsdImagingPortalLightAdapter.
|
overridevirtual |
Returns a bit mask of attributes to be udpated, or HdChangeTracker::AllDirty if the entire prim must be resynchronized.
Reimplemented from UsdImagingPrimAdapter.
|
overridevirtual |
Returns a bit mask of attributes to be udpated, or HdChangeTracker::AllDirty if the entire prim must be resynchronized.
Implements UsdImagingPrimAdapter.
|
overridevirtual |
Returns a bit mask of attributes to be udpated, or HdChangeTracker::AllDirty if the entire prim must be resynchronized.
Reimplemented from UsdImagingPrimAdapter.
|
overridevirtual |
Returns a bit mask of attributes to be udpated, or HdChangeTracker::AllDirty if the entire prim must be resynchronized.
Reimplemented from UsdImagingPrimAdapter.
|
overridevirtual |
Returns a bit mask of attributes to be udpated, or HdChangeTracker::AllDirty if the entire prim must be resynchronized.
Reimplemented from UsdImagingPrimAdapter.
|
overridevirtual |
Called to populate the RenderIndex for this UsdPrim. The adapter is expected to create one or more prims in the render index using the given proxy.
Implements UsdImagingPrimAdapter.
Reimplemented in UsdImagingSphereLightAdapter, UsdImagingRectLightAdapter, UsdImagingPluginLightAdapter, and UsdImagingPortalLightAdapter.
|
overridevirtual |
Returns a bit mask of attributes to be udpated, or HdChangeTracker::AllDirty if the entire prim must be resynchronized.
Implements UsdImagingPrimAdapter.
|
overridevirtual |
Thread Safe.
Implements UsdImagingPrimAdapter.
|
overridevirtual |
Thread Safe.
Implements UsdImagingPrimAdapter.