24 #ifndef PXR_IMAGING_HD_UNIT_TEST_HELPER_H 25 #define PXR_IMAGING_HD_UNIT_TEST_HELPER_H 28 #include "pxr/imaging/hd/api.h" 29 #include "pxr/imaging/hd/engine.h" 30 #include "pxr/imaging/hd/renderPass.h" 31 #include "pxr/imaging/hd/renderPassState.h" 32 #include "pxr/imaging/hd/unitTestDelegate.h" 33 #include "pxr/imaging/hd/unitTestNullRenderDelegate.h" 40 PXR_NAMESPACE_OPEN_SCOPE
51 class Hd_TestDriver final
63 void Draw(
bool withGuides=
false);
67 void Draw(HdRenderPassSharedPtr
const &renderPass,
bool withGuides);
77 void SetCullStyle(HdCullStyle cullStyle);
81 HdRenderPassSharedPtr
const &GetRenderPass();
84 HdRenderPassStateSharedPtr
const &GetRenderPassState()
const {
85 return _renderPassState;
100 Hd_UnitTestNullRenderDelegate _renderDelegate;
104 HdRenderPassSharedPtr _renderPass;
105 HdRenderPassStateSharedPtr _renderPassState;
109 PXR_NAMESPACE_CLOSE_SCOPE
111 #endif // PXR_IMAGING_HD_UNIT_TEST_HELPER_H The Hydra render index is a flattened representation of the client scene graph, which may be composed...
Stores a 4x4 matrix of double elements.
The application-facing entry point top-level entry point for accessing Hydra.
A named, semantic collection of objects.
A path value used to locate objects in layers or scenegraphs.
Describes one or more authored display representations for an rprim.
A simple delegate class for unit test driver.