UsdImagingDataSourcePrimvars Class Reference

Data source representing USD primvars. More...

+ Inheritance diagram for UsdImagingDataSourcePrimvars:

Public Types

using CustomPrimvarMapping = std::vector< std::pair< TfToken, TfToken > >
 

Public Member Functions

 HD_DECLARE_DATASOURCE (UsdImagingDataSourcePrimvars)
 
bool Has (const TfToken &name) override
 Returns true if the container has a child datasource of the given name, in which case Get(name) is expected to be non-null. More...
 
TfTokenVector GetNames () override
 Returns the list of names for which Get(...) is expected to return a non-null value. More...
 
HdDataSourceBaseHandle Get (const TfToken &name) override
 Returns the child datasource of 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 USD primvars.

This is a container for all primvars.

Definition at line 41 of file dataSourcePrimvars.h.

Member Function Documentation

◆ Get()

HdDataSourceBaseHandle Get ( const TfToken name)
overridevirtual

Returns the child datasource of the given name.

This call is expected to be threadsafe.

Implements HdContainerDataSource.

◆ GetNames()

TfTokenVector GetNames ( )
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.

◆ Has()

bool Has ( const TfToken name)
overridevirtual

Returns true if the container has a child datasource of the given name, in which case Get(name) is expected to be non-null.

This call is expected to be threadsafe.

Implements HdContainerDataSource.


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