|
HDK
|
#include <unitTestHelper.h>
Public Member Functions | |
| HD_API | Hd_TestDriver () |
| HD_API | Hd_TestDriver (HdReprSelector const &reprToken) |
| HD_API | ~Hd_TestDriver () |
| HD_API void | Draw (bool withGuides=false) |
| Draw. More... | |
| HD_API void | Draw (HdRenderPassSharedPtr const &renderPass, bool withGuides) |
| Draw with external renderPass. More... | |
| HD_API void | SetCamera (GfMatrix4d const &viewMatrix, GfMatrix4d const &projectionMatrix, CameraUtilFraming const &framing) |
| Set camera to renderpass. More... | |
| HD_API void | SetCullStyle (HdCullStyle cullStyle) |
| Set cull style. More... | |
| HD_API HdRenderPassSharedPtr const & | GetRenderPass () |
| Returns the renderpass. More... | |
| HdRenderPassStateSharedPtr const & | GetRenderPassState () const |
| Returns the renderPassState. More... | |
| HdUnitTestDelegate & | GetDelegate () |
| Returns the UnitTest delegate. More... | |
| HD_API void | SetRepr (HdReprSelector const &reprSelector) |
| Switch repr. More... | |
A unit test driver that exercises the core engine.
Definition at line 34 of file unitTestHelper.h.
| HD_API Hd_TestDriver::Hd_TestDriver | ( | ) |
| HD_API Hd_TestDriver::Hd_TestDriver | ( | HdReprSelector const & | reprToken | ) |
| HD_API Hd_TestDriver::~Hd_TestDriver | ( | ) |
| HD_API void Hd_TestDriver::Draw | ( | HdRenderPassSharedPtr const & | renderPass, |
| bool | withGuides | ||
| ) |
Draw with external renderPass.
|
inline |
Returns the UnitTest delegate.
Definition at line 72 of file unitTestHelper.h.
| HD_API HdRenderPassSharedPtr const& Hd_TestDriver::GetRenderPass | ( | ) |
Returns the renderpass.
|
inline |
Returns the renderPassState.
Definition at line 67 of file unitTestHelper.h.
| HD_API void Hd_TestDriver::SetCamera | ( | GfMatrix4d const & | viewMatrix, |
| GfMatrix4d const & | projectionMatrix, | ||
| CameraUtilFraming const & | framing | ||
| ) |
Set camera to renderpass.
| HD_API void Hd_TestDriver::SetCullStyle | ( | HdCullStyle | cullStyle | ) |
Set cull style.
| HD_API void Hd_TestDriver::SetRepr | ( | HdReprSelector const & | reprSelector | ) |
Switch repr.