HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UsdImagingDataSourceStageGlobals Class Referenceabstract

#include <dataSourceStageGlobals.h>

Public Member Functions

virtual ~UsdImagingDataSourceStageGlobals ()
 
virtual UsdTimeCode GetTime () const =0
 Returns the current time represented in this instance. More...
 
virtual void FlagAsTimeVarying (const SdfPath &hydraPath, const HdDataSourceLocator &locator) const =0
 Flags the given hydraPath as time varying at the given locator. More...
 
virtual void FlagAsAssetPathDependent (const SdfPath &usdPath) const =0
 

Detailed Description

This class is used as a context object with global stage information, that gets passed down to datasources to help them answer scene queries.

It's a pure virtual interface to allow for different use cases to override certain behaviors (like getting the time coordinate, or whether we support time-varying tracking).

Definition at line 45 of file dataSourceStageGlobals.h.

Constructor & Destructor Documentation

virtual UsdImagingDataSourceStageGlobals::~UsdImagingDataSourceStageGlobals ( )
virtual

Member Function Documentation

virtual void UsdImagingDataSourceStageGlobals::FlagAsAssetPathDependent ( const SdfPath usdPath) const
pure virtual

Flags the object at usdPath as dependent on an asset path. usdPath may point to a prim (e.g., if the prim has asset path metadata) or an attribute (e.g., if the attribute has an asset path value).

virtual void UsdImagingDataSourceStageGlobals::FlagAsTimeVarying ( const SdfPath hydraPath,
const HdDataSourceLocator locator 
) const
pure virtual

Flags the given hydraPath as time varying at the given locator.

virtual UsdTimeCode UsdImagingDataSourceStageGlobals::GetTime ( ) const
pure virtual

Returns the current time represented in this instance.


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