24 #ifndef PXR_IMAGING_PLUGIN_HD_EMBREE_RENDER_PASS_H 25 #define PXR_IMAGING_PLUGIN_HD_EMBREE_RENDER_PASS_H 29 #include "pxr/imaging/hd/aov.h" 30 #include "pxr/imaging/hd/renderPass.h" 31 #include "pxr/imaging/hd/renderThread.h" 32 #include "pxr/imaging/plugin/hdEmbree/renderer.h" 33 #include "pxr/imaging/plugin/hdEmbree/renderBuffer.h" 40 PXR_NAMESPACE_OPEN_SCOPE
62 std::atomic<int> *sceneVersion);
83 void _Execute(HdRenderPassStateSharedPtr
const& renderPassState,
97 std::atomic<int> *_sceneVersion;
100 int _lastSceneVersion;
103 int _lastSettingsVersion;
116 HdRenderPassAovBindingVector _aovBindings;
120 HdEmbreeRenderBuffer _colorBuffer;
121 HdEmbreeRenderBuffer _depthBuffer;
127 PXR_NAMESPACE_CLOSE_SCOPE
129 #endif // PXR_IMAGING_PLUGIN_HD_EMBREE_RENDER_PASS_H
The Hydra render index is a flattened representation of the client scene graph, which may be composed...
HdEmbreeRenderPass(HdRenderIndex *index, HdRprimCollection const &collection, HdRenderThread *renderThread, HdEmbreeRenderer *renderer, std::atomic< int > *sceneVersion)
Renderpass constructor.
void _MarkCollectionDirty() override
Update internal tracking to reflect a dirty collection.
A 2D rectangle with integer coordinates.
void _Execute(HdRenderPassStateSharedPtr const &renderPassState, TfTokenVector const &renderTags) override
Draw the scene with the bound renderpass state.
An abstract class representing a single render iteration over a set of prims (the HdRprimCollection),...
Stores a 4x4 matrix of double elements.
HdRenderPass represents a single render iteration, rendering a view of the scene (the HdRprimCollecti...
std::vector< TfToken > TfTokenVector
Convenience types.
A named, semantic collection of objects.
bool IsConverged() const override
Determine whether the sample buffer has enough samples.
HdEmbreeRenderer implements a renderer on top of Embree's raycasting abilities.
~HdEmbreeRenderPass() override
Renderpass destructor.
HdRenderThread is a utility that specific render delegates can choose to use depending on their needs...