Loading...
Searching...
No Matches
unitTestNullRenderPass.h
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
14#include "pxr/imaging/hd/renderPass.h"
15
16PXR_NAMESPACE_OPEN_SCOPE
17
22class Hd_UnitTestNullRenderPass : public HdRenderPass
23{
24public:
25 Hd_UnitTestNullRenderPass(HdRenderIndex *index,
26 HdRprimCollection const &collection)
27 : HdRenderPass(index, collection)
28 {}
29 virtual ~Hd_UnitTestNullRenderPass() {}
30
31 void _Execute(HdRenderPassStateSharedPtr const &renderPassState,
32 TfTokenVector const &renderTags) override {}
33};
34
35PXR_NAMESPACE_CLOSE_SCOPE
36
37#endif // PXR_IMAGING_HD_UNIT_TEST_NULL_RENDER_PASS_H
The Hydra render index is a flattened representation of the client scene graph, which may be composed...
Definition: renderIndex.h:105
An abstract class representing a single render iteration over a set of prims (the HdRprimCollection),...
Definition: renderPass.h:53
virtual void _Execute(HdRenderPassStateSharedPtr const &renderPassState, TfTokenVector const &renderTags)=0
Virtual API: Execute the buckets corresponding to renderTags; renderTags.empty() implies execute ever...
A named, semantic collection of objects.
std::vector< TfToken > TfTokenVector
Convenience types.
Definition: token.h:440