7#ifndef PXR_USD_IMAGING_USD_IMAGING_SCENE_INDEX_PRIM_ADAPTER_H
8#define PXR_USD_IMAGING_USD_IMAGING_SCENE_INDEX_PRIM_ADAPTER_H
11#include "pxr/usdImaging/usdImaging/api.h"
14PXR_NAMESPACE_OPEN_SCOPE
47 HdContainerDataSourceHandle GetImagingSubprimData(
56 UsdImagingPropertyInvalidationType invalidationType)
override = 0;
81 instancerContext =
nullptr) override final;
86 HdDirtyBits* timeVaryingBits,
88 instancerContext =
nullptr) const override final;
94 HdDirtyBits requestedBits,
96 instancerContext =
nullptr) const override final;
102 TfToken const& propertyName) override final;
105 void MarkDirty(
UsdPrim const& prim,
111 void _RemovePrim(
SdfPath const& cachePath,
115PXR_NAMESPACE_CLOSE_SCOPE
Represents a set of data source locators closed under descendancy.
A path value used to locate objects in layers or scenegraphs.
Token for efficient comparison, assignment, and hashing of known strings.
This class is used as a context object with global stage information, that gets passed down to dataso...
This proxy class exposes a subset of the private Delegate API to PrimAdapters.
Base class for all PrimAdapters.
The base class prim adapter for scene index support.
USDIMAGING_API void UpdateForTime(UsdPrim const &prim, SdfPath const &cachePath, UsdTimeCode time, HdDirtyBits requestedBits, UsdImagingInstancerContext const *instancerContext=nullptr) const override final
Populates the cache for the given prim, time and requestedBits.
USDIMAGING_API HdDirtyBits ProcessPropertyChange(UsdPrim const &prim, SdfPath const &cachePath, TfToken const &propertyName) override final
Returns a bit mask of attributes to be updated, or HdChangeTracker::AllDirty if the entire prim must ...
USDIMAGING_API void TrackVariability(UsdPrim const &prim, SdfPath const &cachePath, HdDirtyBits *timeVaryingBits, UsdImagingInstancerContext const *instancerContext=nullptr) const override final
For the given prim, variability is detected and stored in timeVaryingBits.
USDIMAGING_API SdfPath Populate(UsdPrim const &prim, UsdImagingIndexProxy *index, UsdImagingInstancerContext const *instancerContext=nullptr) override final
Called to populate the RenderIndex for this UsdPrim.
UsdPrim is the sole persistent scenegraph object on a UsdStage, and is the embodiment of a "Prim" as ...
Represent a time value, which may be either numeric, holding a double value, or a sentinel value UsdT...
Object used by instancer prim adapters to pass along context about the instancer and instance prim to...
std::vector< TfToken > TfTokenVector
Convenience types.