24 #ifndef PXR_IMAGING_HD_UNIT_TEST_HELPER_H
25 #define PXR_IMAGING_HD_UNIT_TEST_HELPER_H
28 #include "pxr/imaging/hd/engine.h"
29 #include "pxr/imaging/hd/renderPass.h"
30 #include "pxr/imaging/hd/renderPassState.h"
31 #include "pxr/imaging/hd/unitTestDelegate.h"
32 #include "pxr/imaging/hd/unitTestNullRenderDelegate.h"
39 PXR_NAMESPACE_OPEN_SCOPE
50 class Hd_TestDriver final {
57 void Draw(
bool withGuides=
false);
60 void Draw(HdRenderPassSharedPtr
const &renderPass,
bool withGuides);
63 void SetCamera(
GfMatrix4d const &modelViewMatrix,
68 void SetCullStyle(HdCullStyle cullStyle);
71 HdRenderPassSharedPtr
const &GetRenderPass();
74 HdRenderPassStateSharedPtr
const &GetRenderPassState()
const {
75 return _renderPassState;
89 Hd_UnitTestNullRenderDelegate _renderDelegate;
93 HdRenderPassSharedPtr _renderPass;
94 HdRenderPassStateSharedPtr _renderPassState;
98 PXR_NAMESPACE_CLOSE_SCOPE
100 #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...
Basic type for a vector of 4 double components.
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.