HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UsdImaging_TestDriver Class Referencefinal

#include <unitTestHelper.h>

Public Member Functions

 UsdImaging_TestDriver (std::string const &usdFilePath)
 
 UsdImaging_TestDriver (std::string const &usdFilePath, TfToken const &collectionName, TfToken const &reprName, TfTokenVector const &renderTags)
 
 UsdImaging_TestDriver (UsdStageRefPtr const &usdStage)
 
 UsdImaging_TestDriver (UsdStageRefPtr const &usdStage, TfToken const &collectionName, TfToken const &reprName, TfTokenVector const &renderTags)
 
 UsdImaging_TestDriver (UsdStageRefPtr const &usdStage, HdRprimCollection const &collection, SdfPath const &delegateId, TfTokenVector const &renderTags)
 
 ~UsdImaging_TestDriver ()
 
void Draw ()
 
void SetTime (double time)
 
void MarkRprimDirty (SdfPath path, HdDirtyBits flag)
 Marks an rprim in the RenderIndex as dirty with the given dirty flags. More...
 
UsdImagingDelegateGetDelegate ()
 Returns the underlying delegate for this driver. More...
 
UsdStageRefPtr const & GetStage ()
 Returns the populated UsdStage for this driver. More...
 

Detailed Description

A unit test driver that exercises the core engine.

Note
This test driver uses a Null render delegate, so no images are produced. It just tests interaction between Hydra and UsdImaging during Hydra's Sync phase. of Hydra

Definition at line 93 of file unitTestHelper.h.

Constructor & Destructor Documentation

UsdImaging_TestDriver::UsdImaging_TestDriver ( std::string const &  usdFilePath)
inline

Definition at line 95 of file unitTestHelper.h.

UsdImaging_TestDriver::UsdImaging_TestDriver ( std::string const &  usdFilePath,
TfToken const &  collectionName,
TfToken const &  reprName,
TfTokenVector const &  renderTags 
)
inline

Definition at line 116 of file unitTestHelper.h.

UsdImaging_TestDriver::UsdImaging_TestDriver ( UsdStageRefPtr const &  usdStage)
inline

Definition at line 137 of file unitTestHelper.h.

UsdImaging_TestDriver::UsdImaging_TestDriver ( UsdStageRefPtr const &  usdStage,
TfToken const &  collectionName,
TfToken const &  reprName,
TfTokenVector const &  renderTags 
)
inline

Definition at line 155 of file unitTestHelper.h.

UsdImaging_TestDriver::UsdImaging_TestDriver ( UsdStageRefPtr const &  usdStage,
HdRprimCollection const &  collection,
SdfPath const &  delegateId,
TfTokenVector const &  renderTags 
)
inline

Definition at line 173 of file unitTestHelper.h.

UsdImaging_TestDriver::~UsdImaging_TestDriver ( )
inline

Definition at line 187 of file unitTestHelper.h.

Member Function Documentation

void UsdImaging_TestDriver::Draw ( )
inline

Definition at line 193 of file unitTestHelper.h.

UsdImagingDelegate& UsdImaging_TestDriver::GetDelegate ( )
inline

Returns the underlying delegate for this driver.

Definition at line 210 of file unitTestHelper.h.

UsdStageRefPtr const& UsdImaging_TestDriver::GetStage ( )
inline

Returns the populated UsdStage for this driver.

Definition at line 215 of file unitTestHelper.h.

void UsdImaging_TestDriver::MarkRprimDirty ( SdfPath  path,
HdDirtyBits  flag 
)
inline

Marks an rprim in the RenderIndex as dirty with the given dirty flags.

Definition at line 204 of file unitTestHelper.h.

void UsdImaging_TestDriver::SetTime ( double  time)
inline

Definition at line 199 of file unitTestHelper.h.


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