HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
unitTestNullRenderPass.h
Go to the documentation of this file.
1 //
2 // Copyright 2016 Pixar
3 //
4 // Licensed under the terms set forth in the LICENSE.txt file available at
5 // https://openusd.org/license.
6 //
7 #ifndef PXR_IMAGING_HD_UNIT_TEST_NULL_RENDER_PASS_H
8 #define PXR_IMAGING_HD_UNIT_TEST_NULL_RENDER_PASS_H
9 
10 #include "pxr/pxr.h"
11 #include "pxr/imaging/hd/api.h"
12 #include "pxr/imaging/hd/version.h"
13 
15 
17 
18 ///
19 /// \class Hd_UnitTestNullRenderPass
20 /// Implements the sync part of the render pass, but not the draw part, for
21 /// core hydra unit tests.
23 {
24 public:
26  HdRprimCollection const &collection)
27  : HdRenderPass(index, collection)
28  {}
30 
31  void _Execute(HdRenderPassStateSharedPtr const &renderPassState,
32  TfTokenVector const &renderTags) override {}
33 };
34 
36 
37 #endif // PXR_IMAGING_HD_UNIT_TEST_NULL_RENDER_PASS_H
std::shared_ptr< class HdRenderPassState > HdRenderPassStateSharedPtr
Definition: engine.h:25
void _Execute(HdRenderPassStateSharedPtr const &renderPassState, TfTokenVector const &renderTags) override
std::vector< TfToken > TfTokenVector
Convenience types.
Definition: token.h:440
Hd_UnitTestNullRenderPass(HdRenderIndex *index, HdRprimCollection const &collection)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition: path.h:1425
GLuint index
Definition: glcorearb.h:786
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74