HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UsdImagingGeomModelAPIAdapter Class Reference

#include <geomModelAPIAdapter.h>

+ Inheritance diagram for UsdImagingGeomModelAPIAdapter:

Public Types

using BaseAdapter = UsdImagingAPISchemaAdapter
 

Public Member Functions

USDIMAGING_API
HdContainerDataSourceHandle 
GetImagingSubprimData (UsdPrim const &prim, TfToken const &subprim, TfToken const &appliedInstanceName, const UsdImagingDataSourceStageGlobals &stageGlobals) override
 
USDIMAGING_API
HdDataSourceLocatorSet 
InvalidateImagingSubprim (UsdPrim const &prim, TfToken const &subprim, TfToken const &appliedInstanceName, TfTokenVector const &properties, UsdImagingPropertyInvalidationType invalidationType) override
 
- Public Member Functions inherited from UsdImagingAPISchemaAdapter
virtual USDIMAGING_API ~UsdImagingAPISchemaAdapter ()
 
virtual USDIMAGING_API
TfTokenVector 
GetImagingSubprims (UsdPrim const &prim, TfToken const &appliedInstanceName)
 
virtual USDIMAGING_API TfToken GetImagingSubprimType (UsdPrim const &prim, TfToken const &subprim, TfToken const &appliedInstanceName)
 

Detailed Description

Definition at line 31 of file geomModelAPIAdapter.h.

Member Typedef Documentation

Member Function Documentation

USDIMAGING_API HdContainerDataSourceHandle UsdImagingGeomModelAPIAdapter::GetImagingSubprimData ( UsdPrim const &  prim,
TfToken const &  subprim,
TfToken const &  appliedInstanceName,
const UsdImagingDataSourceStageGlobals stageGlobals 
)
overridevirtual

Returns an HdContainerDataSourceHandle representing the API schema's contributions to the primary prim (empty subprim value) or a specific subprim. The non-null results of the prim adapter and each applied API schema adapter are overlaid (in application order).

Ideally, data sources within this container are lazily evaluated to avoid doing work until some consumes the data.

Reimplemented from UsdImagingAPISchemaAdapter.

USDIMAGING_API HdDataSourceLocatorSet UsdImagingGeomModelAPIAdapter::InvalidateImagingSubprim ( UsdPrim const &  prim,
TfToken const &  subprim,
TfToken const &  appliedInstanceName,
TfTokenVector const &  properties,
UsdImagingPropertyInvalidationType  invalidationType 
)
overridevirtual

Given the names of USD properties which have changed, an adapter may provide a HdDataSourceLocatorSet describing which data sources should be flagged as dirty.

Reimplemented from UsdImagingAPISchemaAdapter.


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