HDK
|
#include <generativeProceduralAdapter.h>
Public Types | |
using | BaseAdapter = UsdImagingPrimAdapter |
Public Types inherited from UsdImagingPrimAdapter | |
enum | PopulationMode { RepresentsSelf, RepresentsSelfAndDescendents, RepresentedByAncestor } |
Initialization | |
SdfPath | Populate (UsdPrim const &prim, UsdImagingIndexProxy *index, UsdImagingInstancerContext const *instancerContext=nullptr) override |
bool | IsSupported (UsdImagingIndexProxy const *index) const override |
Returns true if the adapter can be populated into the target index. More... | |
void | UpdateForTime (UsdPrim const &prim, SdfPath const &cachePath, UsdTimeCode time, HdDirtyBits requestedBits, UsdImagingInstancerContext const *instancerContext=nullptr) const override |
VtValue | Get (UsdPrim const &prim, SdfPath const &cachePath, TfToken const &key, UsdTimeCode time, VtIntArray *outIndices) const override |
HdDirtyBits | ProcessPropertyChange (UsdPrim const &prim, SdfPath const &cachePath, TfToken const &propertyName) override |
virtual USDIMAGING_API void | MarkDirty (UsdPrim const &prim, SdfPath const &cachePath, HdDirtyBits dirty, UsdImagingIndexProxy *index) override |
virtual USDIMAGING_API void | MarkTransformDirty (UsdPrim const &prim, SdfPath const &cachePath, UsdImagingIndexProxy *index) override |
virtual USDIMAGING_API void | MarkVisibilityDirty (UsdPrim const &prim, SdfPath const &cachePath, UsdImagingIndexProxy *index) override |
USDIMAGING_API void | TrackVariability (UsdPrim const &prim, SdfPath const &cachePath, HdDirtyBits *timeVaryingBits, UsdImagingInstancerContext const *instancerContext=nullptr) const override |
virtual USDIMAGING_API void | _RemovePrim (SdfPath const &cachePath, UsdImagingIndexProxy *index) override |
Provides to paramName->UsdAttribute value mappings. More... | |
Definition at line 32 of file generativeProceduralAdapter.h.
Definition at line 36 of file generativeProceduralAdapter.h.
|
inline |
Definition at line 37 of file generativeProceduralAdapter.h.
|
overridedefault |
|
overrideprotectedvirtual |
Provides to paramName->UsdAttribute value mappings.
Implements UsdImagingPrimAdapter.
|
overridevirtual |
Gets the value of the parameter named key for the given prim (which has the given cache path) and given time. If outIndices is not nullptr and the value has indices, it will return the unflattened value and set outIndices to the value's associated indices.
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 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 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 |
Returns a bit mask of attributes to be updated, or HdChangeTracker::AllDirty if the entire prim must be resynchronized.
changedFields
contains a list of changed scene description fields for this prim. This may be empty in certain cases, like the addition of an inert prim spec for the given prim
.
The default implementation returns HdChangeTracker::AllDirty if any of the changed fields are plugin metadata fields, HdChangeTracker::Clean otherwise.
Implements UsdImagingPrimAdapter.
|
overridevirtual |
Returns a bit mask of attributes to be updated, or HdChangeTracker::AllDirty if the entire prim must be resynchronized.
changedFields
contains a list of changed scene description fields for this prim. This may be empty in certain cases, like the addition of an inert prim spec for the given prim
.
The default implementation returns HdChangeTracker::AllDirty if any of the changed fields are plugin metadata fields, HdChangeTracker::Clean otherwise.
Reimplemented from UsdImagingPrimAdapter.
|
overridevirtual |
Returns a bit mask of attributes to be updated, or HdChangeTracker::AllDirty if the entire prim must be resynchronized.
changedFields
contains a list of changed scene description fields for this prim. This may be empty in certain cases, like the addition of an inert prim spec for the given prim
.
The default implementation returns HdChangeTracker::AllDirty if any of the changed fields are plugin metadata fields, HdChangeTracker::Clean otherwise.
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.
|
overridevirtual |
Returns a bit mask of attributes to be updated, or HdChangeTracker::AllDirty if the entire prim must be resynchronized.
Implements UsdImagingPrimAdapter.
|
overridevirtual |
For the given prim
, variability is detected and stored in timeVaryingBits
. Initial values are cached into the value cache.
This method is expected to be called from multiple threads.
Implements UsdImagingPrimAdapter.
|
overridevirtual |
Populates the cache
for the given prim
, time
and requestedBits
.
This method is expected to be called from multiple threads.
Implements UsdImagingPrimAdapter.