Loading...
Searching...
No Matches
UsdImagingDataSourceGprim Class Reference

Data source representing a USD gprim. More...

#include <dataSourceGprim.h>

+ Inheritance diagram for UsdImagingDataSourceGprim:

Public Member Functions

 HD_DECLARE_DATASOURCE (UsdImagingDataSourceGprim)
 
USDIMAGING_API HdDataSourceBaseHandle Get (const TfToken &name) override
 Returns the data source representing name, if valid.
 
- Public Member Functions inherited from UsdImagingDataSourcePrim
 HD_DECLARE_DATASOURCE (UsdImagingDataSourcePrim)
 
USDIMAGING_API TfTokenVector GetNames () override
 Returns the names for which this data source can return meaningful results.
 
USDIMAGING_API HdDataSourceBaseHandle Get (const TfToken &name) override
 Returns the data source representing name, if valid.
 
- Public Member Functions inherited from HdContainerDataSource
 HD_DECLARE_DATASOURCE_ABSTRACT (HdContainerDataSource)
 
virtual TfTokenVector GetNames ()=0
 Returns the list of names for which Get(...) is expected to return a non-null value.
 
virtual HdDataSourceBaseHandle Get (const TfToken &name)=0
 Returns the child datasource of the given name.
 

Static Public Member Functions

static USDIMAGING_API HdDataSourceLocatorSet Invalidate (UsdPrim const &prim, const TfToken &subprim, const TfTokenVector &properties, UsdImagingPropertyInvalidationType invalidationType)
 
- Static Public Member Functions inherited from UsdImagingDataSourcePrim
static USDIMAGING_API HdDataSourceLocatorSet Invalidate (UsdPrim const &prim, const TfToken &subprim, const TfTokenVector &properties, UsdImagingPropertyInvalidationType invalidationType)
 Returns the hydra attribute set we should invalidate if the value of the USD properties in properties change.
 
- Static Public Member Functions inherited from HdContainerDataSource
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.
 

Protected Member Functions

USDIMAGING_API UsdImagingDataSourceGprim (const SdfPath &sceneIndexPath, UsdPrim usdPrim, const UsdImagingDataSourceStageGlobals &stageGlobals)
 Use to construct a new UsdImagingDataSourceGprim.
 
- Protected Member Functions inherited from UsdImagingDataSourcePrim
USDIMAGING_API UsdImagingDataSourcePrim (const SdfPath &sceneIndexPath, UsdPrim usdPrim, const UsdImagingDataSourceStageGlobals &stageGlobals)
 Use to construct a new UsdImagingDataSourcePrim.
 
const SdfPath_GetSceneIndexPath () const
 
const UsdPrim_GetUsdPrim () const
 
const UsdImagingDataSourceStageGlobals_GetStageGlobals () const
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ UsdImagingDataSourceGprim()

USDIMAGING_API UsdImagingDataSourceGprim ( const SdfPath sceneIndexPath,
UsdPrim  usdPrim,
const UsdImagingDataSourceStageGlobals stageGlobals 
)
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.

Member Function Documentation

◆ Get()

USDIMAGING_API HdDataSourceBaseHandle Get ( const TfToken name)
overridevirtual

The documentation for this class was generated from the following file: