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...
 
UsdImagingDelegate & GetDelegate ()
 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 76 of file unitTestHelper.h.

Constructor & Destructor Documentation

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

Definition at line 78 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 99 of file unitTestHelper.h.

UsdImaging_TestDriver::UsdImaging_TestDriver ( UsdStageRefPtr const &  usdStage)
inline

Definition at line 120 of file unitTestHelper.h.

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

Definition at line 138 of file unitTestHelper.h.

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

Definition at line 156 of file unitTestHelper.h.

UsdImaging_TestDriver::~UsdImaging_TestDriver ( )
inline

Definition at line 170 of file unitTestHelper.h.

Member Function Documentation

void UsdImaging_TestDriver::Draw ( )
inline

Definition at line 176 of file unitTestHelper.h.

UsdImagingDelegate& UsdImaging_TestDriver::GetDelegate ( )
inline

Returns the underlying delegate for this driver.

Definition at line 193 of file unitTestHelper.h.

UsdStageRefPtr const& UsdImaging_TestDriver::GetStage ( )
inline

Returns the populated UsdStage for this driver.

Definition at line 198 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 187 of file unitTestHelper.h.

void UsdImaging_TestDriver::SetTime ( double  time)
inline

Definition at line 182 of file unitTestHelper.h.


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