![]() |
|
Data source representing a USD gprim. More...
Public Member Functions | |
HD_DECLARE_DATASOURCE (UsdImagingDataSourceGprim) | |
USDIMAGING_API HdDataSourceBaseHandle | Get (const TfToken &name) override |
Returns the data source representing name , if valid. More... | |
![]() | |
HD_DECLARE_DATASOURCE (UsdImagingDataSourcePrim) | |
USDIMAGING_API TfTokenVector | GetNames () override |
Returns the names for which this data source can return meaningful results. More... | |
USDIMAGING_API HdDataSourceBaseHandle | Get (const TfToken &name) override |
Returns the data source representing name , if valid. More... | |
![]() | |
HD_DECLARE_DATASOURCE_ABSTRACT (HdContainerDataSource) | |
Static Public Member Functions | |
static USDIMAGING_API HdDataSourceLocatorSet | Invalidate (UsdPrim const &prim, const TfToken &subprim, const TfTokenVector &properties) |
![]() | |
static USDIMAGING_API HdDataSourceLocatorSet | Invalidate (UsdPrim const &prim, const TfToken &subprim, const TfTokenVector &properties) |
Returns the hydra attribute set we should invalidate if the value of the USD properties in properties change. More... | |
![]() | |
static HD_API HdDataSourceBaseHandle | Get (const Handle &container, const HdDataSourceLocator &locator) |
A convenience function: given container , return the descendant identified by locator , which may be at any depth. More... | |
Protected Member Functions | |
USDIMAGING_API | UsdImagingDataSourceGprim (const SdfPath &sceneIndexPath, UsdPrim usdPrim, const UsdImagingDataSourceStageGlobals &stageGlobals) |
Use to construct a new UsdImagingDataSourceGprim. More... | |
![]() | |
USDIMAGING_API | UsdImagingDataSourcePrim (const SdfPath &sceneIndexPath, UsdPrim usdPrim, const UsdImagingDataSourceStageGlobals &stageGlobals) |
Use to construct a new UsdImagingDataSourcePrim. More... | |
const SdfPath & | _GetSceneIndexPath () const |
const UsdPrim & | _GetUsdPrim () const |
const UsdImagingDataSourceStageGlobals & | _GetStageGlobals () const |
Data source representing a USD gprim.
This is the common base for geometric types and includes features such as materials and primvars.
Definition at line 41 of file dataSourceGprim.h.
|
protected |
Use to construct a new UsdImagingDataSourceGprim.
sceneIndexPath
is the path of this object in the scene index.
usdPrim
is the USD prim object that this data source represents.
stageGlobals
represents the context object for the UsdStage with which to evaluate this attribute data source.
Note: client code calls this via static New.
|
overridevirtual |
Returns the data source representing name
, if valid.
Implements HdContainerDataSource.
Reimplemented in UsdImagingDataSourceMeshPrim, UsdImagingDataSourceVolumePrim, and UsdImagingDataSourcePointsPrim.