HDK
|
#include <dataSourcePrimvars.h>
Public Member Functions | |
HD_DECLARE_DATASOURCE (UsdImagingDataSourcePrimvar) | |
TfTokenVector | GetNames () override |
HdDataSourceBaseHandle | Get (const TfToken &name) override |
Public Member Functions inherited from HdContainerDataSource | |
HD_DECLARE_DATASOURCE_ABSTRACT (HdContainerDataSource) | |
Public Member Functions inherited from HdDataSourceBase | |
virtual HD_API | ~HdDataSourceBase ()=0 |
Additional Inherited Members | |
Static Public Member Functions inherited from HdContainerDataSource | |
static HD_API HdDataSourceBaseHandle | Get (const Handle &container, const HdDataSourceLocator &locator) |
A data source representing a primvar. A primvar contains data, interpolation, and role, but data can be a flat value or a value/index pair. We also take location information for variability tracking.
Note: the schema for this specifies that you can return "primvarValue" for a flattened value, or "indexedPrimvarValue" and "indices" for an un-flattened value. Since we don't want to duplicate the flattening logic, we check whether indices are present and then return only one of "primvarValue" or "indexedPrimvarValue" from the result of valueQuery.
Definition at line 149 of file dataSourcePrimvars.h.
|
overridevirtual |
Returns the child datasource of the given name. This call is expected to be threadsafe.
Implements HdContainerDataSource.
|
overridevirtual |
Returns the list of names for which Get
(...) is expected to return a non-null value. This call is expected to be threadsafe.
Implements HdContainerDataSource.
UsdImagingDataSourcePrimvar::HD_DECLARE_DATASOURCE | ( | UsdImagingDataSourcePrimvar | ) |