HdDataSourceLegacyPrim Class Reference

This is an HdContainerDataSource which represents a prim-level data source for adapting HdSceneDelegate calls into the forms defined by HdSchemas during emulation of legacy scene delegates. More...

+ Inheritance diagram for HdDataSourceLegacyPrim:

Public Member Functions

 HD_DECLARE_DATASOURCE (HdDataSourceLegacyPrim)
 
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...
 
void PrimDirtied (const HdDataSourceLocatorSet &locators)
 This clears internal cached values and is currently called only by HdLegacyPrimSceneIndex in response to its own DirtyPrims method. More...
 
- Public Member Functions inherited from HdContainerDataSource
 HD_DECLARE_DATASOURCE_ABSTRACT (HdContainerDataSource)
 

Static Public Member Functions

static const HdDataSourceLocatorSet & GetCachedLocators ()
 Return which locators PrimDirtied will respond to... More...
 
- 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

This is an HdContainerDataSource which represents a prim-level data source for adapting HdSceneDelegate calls into the forms defined by HdSchemas during emulation of legacy scene delegates.

Definition at line 76 of file dataSourceLegacyPrim.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.

◆ GetCachedLocators()

static const HdDataSourceLocatorSet& GetCachedLocators ( )
static

Return which locators PrimDirtied will respond to...

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

◆ PrimDirtied()

void PrimDirtied ( const HdDataSourceLocatorSet &  locators)

This clears internal cached values and is currently called only by HdLegacyPrimSceneIndex in response to its own DirtyPrims method.


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