UsdImagingDataSourcePurpose Class Reference

Data source representing prim purpose for a USD imageable. More...

+ Inheritance diagram for UsdImagingDataSourcePurpose:

Public Member Functions

 HD_DECLARE_DATASOURCE (UsdImagingDataSourcePurpose)
 
bool Has (const TfToken &name) override
 Returns whether or not this container can return something meaningful for name. More...
 
TfTokenVector GetNames () override
 Returns the names contained in this data source. More...
 
HdDataSourceBaseHandle Get (const TfToken &name) override
 Returns the data source for the given 'name'. More...
 
- Public Member Functions inherited from HdContainerDataSource
 HD_DECLARE_DATASOURCE_ABSTRACT (HdContainerDataSource)
 

Additional Inherited Members

- 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. More...
 

Detailed Description

Data source representing prim purpose for a USD imageable.

Definition at line 91 of file dataSourcePrim.h.

Member Function Documentation

◆ Get()

HdDataSourceBaseHandle Get ( const TfToken name)
overridevirtual

Returns the data source for the given 'name'.

Only 'purpose' returns anything for this class.

Implements HdContainerDataSource.

◆ GetNames()

TfTokenVector GetNames ( )
overridevirtual

Returns the names contained in this data source.

This class only returns 'purpose'.

Implements HdContainerDataSource.

◆ Has()

bool Has ( const TfToken name)
overridevirtual

Returns whether or not this container can return something meaningful for name.

This class returns true for 'purpose' only.

Implements HdContainerDataSource.


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