HDK
|
#include <distantLightAdapter.h>
Public Types | |
typedef UsdImagingLightAdapter | BaseAdapter |
Public Types inherited from UsdImagingLightAdapter | |
typedef UsdImagingPrimAdapter | BaseAdapter |
Public Types inherited from UsdImagingPrimAdapter | |
enum | PopulationMode { RepresentsSelf, RepresentsSelfAndDescendents, RepresentedByAncestor } |
Scene Index Support | |
USDIMAGING_API TfTokenVector | GetImagingSubprims (UsdPrim const &prim) override |
USDIMAGING_API TfToken | GetImagingSubprimType (UsdPrim const &prim, TfToken const &subprim) override |
USDIMAGING_API SdfPath | Populate (UsdPrim const &prim, UsdImagingIndexProxy *index, UsdImagingInstancerContext const *instancerContext=NULL) override |
USDIMAGING_API bool | IsSupported (UsdImagingIndexProxy const *index) const override |
Returns true if the adapter can be populated into the target index. More... | |
virtual void | _RemovePrim (SdfPath const &cachePath, UsdImagingIndexProxy *index) final |
Provides to paramName->UsdAttribute value mappings. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from UsdImagingLightAdapter | |
static USDIMAGING_API bool | IsEnabledSceneLights () |
static USDIMAGING_API SdfPath | _ResolveCachePath (const SdfPath &usdPath, const UsdImagingInstancerContext *instancerContext) |
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) |
Protected Types inherited from UsdImagingPrimAdapter | |
using | Keys = UsdImagingPrimvarDescCache::Key |
Provides to paramName->UsdAttribute value mappings. More... | |
Protected Member Functions inherited from UsdImagingLightAdapter | |
void | _RemovePrim (SdfPath const &cachePath, UsdImagingIndexProxy *index) override |
void | _UnregisterLightCollections (SdfPath const &cachePath) |
void | _RegisterLightCollections (UsdPrim const &prim) |
Protected Member Functions inherited from UsdImagingPrimAdapter | |
template<typename T > | |
T | _Get (UsdPrim const &prim, TfToken const &attrToken, UsdTimeCode time) const |
Provides to paramName->UsdAttribute value mappings. More... | |
template<typename T > | |
void | _GetPtr (UsdPrim const &prim, TfToken const &key, UsdTimeCode time, T *out) const |
Provides to paramName->UsdAttribute value mappings. More... | |
USDIMAGING_API UsdImagingPrimvarDescCache * | _GetPrimvarDescCache () const |
Provides to paramName->UsdAttribute value mappings. More... | |
UsdImaging_NonlinearSampleCountCache * | _GetNonlinearSampleCountCache () const |
Provides to paramName->UsdAttribute value mappings. More... | |
UsdImaging_BlurScaleCache * | _GetBlurScaleCache () const |
Provides to paramName->UsdAttribute value mappings. More... | |
USDIMAGING_API UsdPrim | _GetPrim (SdfPath const &usdPath) const |
Provides to paramName->UsdAttribute value mappings. More... | |
USDIMAGING_API const UsdImagingPrimAdapterSharedPtr & | _GetPrimAdapter (UsdPrim const &prim, bool ignoreInstancing=false) const |
Provides to paramName->UsdAttribute value mappings. More... | |
USDIMAGING_API const UsdImagingPrimAdapterSharedPtr & | _GetAdapter (TfToken const &adapterKey) const |
Provides to paramName->UsdAttribute value mappings. More... | |
USDIMAGING_API SdfPath | _GetPrimPathFromInstancerChain (SdfPathVector const &instancerChain) const |
Provides to paramName->UsdAttribute value mappings. More... | |
USDIMAGING_API UsdTimeCode | _GetTimeWithOffset (float offset) const |
Provides to paramName->UsdAttribute value mappings. More... | |
USDIMAGING_API SdfPath | _ConvertCachePathToIndexPath (SdfPath const &cachePath) const |
Provides to paramName->UsdAttribute value mappings. More... | |
USDIMAGING_API SdfPath | _ConvertIndexPathToCachePath (SdfPath const &indexPath) const |
Provides to paramName->UsdAttribute value mappings. More... | |
USDIMAGING_API TfToken | _GetMaterialBindingPurpose () const |
Provides to paramName->UsdAttribute value mappings. More... | |
USDIMAGING_API TfTokenVector | _GetMaterialRenderContexts () const |
Provides to paramName->UsdAttribute value mappings. More... | |
USDIMAGING_API TfTokenVector | _GetRenderSettingsNamespaces () const |
Provides to paramName->UsdAttribute value mappings. More... | |
USDIMAGING_API bool | _GetSceneMaterialsEnabled () const |
Returns whether custom shading of prims is enabled. More... | |
USDIMAGING_API bool | _GetSceneLightsEnabled () const |
Returns whether lights found in the usdscene are enabled. More... | |
USDIMAGING_API bool | _IsPrimvarFilteringNeeded () const |
Provides to paramName->UsdAttribute value mappings. More... | |
USDIMAGING_API TfTokenVector | _GetShaderSourceTypes () const |
Provides to paramName->UsdAttribute value mappings. More... | |
USDIMAGING_API bool | _IsInInvisedPaths (SdfPath const &usdPath) const |
Provides to paramName->UsdAttribute value mappings. More... | |
USDIMAGING_API bool | _IsVarying (UsdPrim prim, TfToken const &attrName, HdDirtyBits dirtyFlag, TfToken const &perfToken, HdDirtyBits *dirtyFlags, bool isInherited, bool *exists=nullptr) const |
Provides to paramName->UsdAttribute value mappings. More... | |
USDIMAGING_API bool | _IsTransformVarying (UsdPrim prim, HdDirtyBits dirtyFlag, TfToken const &perfToken, HdDirtyBits *dirtyFlags) const |
Provides to paramName->UsdAttribute value mappings. More... | |
USDIMAGING_API void | _MergePrimvar (HdPrimvarDescriptorVector *vec, TfToken const &name, HdInterpolation interp, TfToken const &role=TfToken(), bool indexed=false) const |
Provides to paramName->UsdAttribute value mappings. More... | |
USDIMAGING_API void | _RemovePrimvar (HdPrimvarDescriptorVector *vec, TfToken const &name) const |
Provides to paramName->UsdAttribute value mappings. More... | |
USDIMAGING_API void | _ComputeAndMergePrimvar (UsdPrim const &prim, UsdGeomPrimvar const &primvar, UsdTimeCode time, HdPrimvarDescriptorVector *primvarDescs, HdInterpolation *interpOverride=nullptr) const |
Provides to paramName->UsdAttribute value mappings. More... | |
USDIMAGING_API HdDirtyBits | _ProcessNonPrefixedPrimvarPropertyChange (UsdPrim const &prim, SdfPath const &cachePath, TfToken const &propertyName, TfToken const &primvarName, HdInterpolation const &primvarInterp, HdDirtyBits valueChangeDirtyBit=HdChangeTracker::DirtyPrimvar) const |
Provides to paramName->UsdAttribute value mappings. More... | |
USDIMAGING_API HdDirtyBits | _ProcessPrefixedPrimvarPropertyChange (UsdPrim const &prim, SdfPath const &cachePath, TfToken const &propertyName, HdDirtyBits valueChangeDirtyBit=HdChangeTracker::DirtyPrimvar, bool inherited=true) const |
Provides to paramName->UsdAttribute value mappings. More... | |
USDIMAGING_API void | _ResyncDependents (SdfPath const &usdPath, UsdImagingIndexProxy *index) |
Provides to paramName->UsdAttribute value mappings. More... | |
USDIMAGING_API UsdImaging_CollectionCache & | _GetCollectionCache () const |
Provides to paramName->UsdAttribute value mappings. More... | |
USDIMAGING_API UsdStageRefPtr | _GetStage () const |
Provides to paramName->UsdAttribute value mappings. More... | |
USDIMAGING_API UsdImaging_CoordSysBindingStrategy::value_type | _GetCoordSysBindings (UsdPrim const &prim) const |
Provides to paramName->UsdAttribute value mappings. More... | |
USDIMAGING_API UsdImaging_InheritedPrimvarStrategy::value_type | _GetInheritedPrimvars (UsdPrim const &prim) const |
Provides to paramName->UsdAttribute value mappings. More... | |
USDIMAGING_API UsdGeomPrimvar | _GetInheritedPrimvar (UsdPrim const &prim, TfToken const &primvarName) const |
Provides to paramName->UsdAttribute value mappings. More... | |
USDIMAGING_API GfInterval | _GetCurrentTimeSamplingInterval () |
Provides to paramName->UsdAttribute value mappings. More... | |
USDIMAGING_API Usd_PrimFlagsConjunction | _GetDisplayPredicate () const |
Provides to paramName->UsdAttribute value mappings. More... | |
USDIMAGING_API Usd_PrimFlagsConjunction | _GetDisplayPredicateForPrototypes () const |
Provides to paramName->UsdAttribute value mappings. More... | |
USDIMAGING_API bool | _DoesDelegateSupportCoordSys () const |
Provides to paramName->UsdAttribute value mappings. More... | |
Static Protected Member Functions inherited from UsdImagingPrimAdapter | |
static USDIMAGING_API bool | _HasPrimvarsPrefix (TfToken const &propertyName) |
Provides to paramName->UsdAttribute value mappings. More... | |
Adapter class for lights of type DistantLight
Definition at line 42 of file distantLightAdapter.h.
Definition at line 44 of file distantLightAdapter.h.
|
inline |
Definition at line 46 of file distantLightAdapter.h.
|
virtual |
|
finalprotectedvirtual |
Provides to paramName->UsdAttribute value mappings.
Implements UsdImagingPrimAdapter.
|
overridevirtual |
Returns the prim's behavior with regard to population and invalidation. See PopulationMode for possible values.
Reimplemented from UsdImagingPrimAdapter.
|
overridevirtual |
Returns the prim's behavior with regard to population and invalidation. See PopulationMode for possible values.
Reimplemented from UsdImagingPrimAdapter.
|
overridevirtual |
Returns true if the adapter can be populated into the target index.
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.