24#ifndef PXR_IMAGING_HDX_PICK_FROM_RENDER_BUFFER_TASK_H
25#define PXR_IMAGING_HDX_PICK_FROM_RENDER_BUFFER_TASK_H
28#include "pxr/imaging/hdx/api.h"
29#include "pxr/imaging/hdx/task.h"
31#include "pxr/imaging/hd/camera.h"
32#include "pxr/imaging/hd/renderBuffer.h"
33#include "pxr/imaging/hdx/pickTask.h"
35PXR_NAMESPACE_OPEN_SCOPE
43 , instanceIdBufferPath()
44 , elementIdBufferPath()
48 , overrideWindowPolicy{
false, CameraUtilFit}
65 std::pair<bool, CameraUtilConformWindowPolicy> overrideWindowPolicy;
98 void Execute(HdTaskContext* ctx)
override;
105 HdDirtyBits* dirtyBits)
override;
141PXR_NAMESPACE_CLOSE_SCOPE
Stores a 4x4 matrix of double elements.
Basic type for a vector of 4 double components.
Hydra schema for a camera that pulls the params (see above) during Sync.
A render buffer is a handle to a data resource that can be rendered into, such as a 2d image for a dr...
The Hydra render index is a flattened representation of the client scene graph, which may be composed...
Adapter class providing data exchange with the client scene graph.
A task for running picking queries against pre-existing id buffers.
bool IsConverged() const override
Hooks for progressive rendering.
HDX_API void _Sync(HdSceneDelegate *delegate, HdTaskContext *ctx, HdDirtyBits *dirtyBits) override
Sync the render pass resources.
HDX_API void Prepare(HdTaskContext *ctx, HdRenderIndex *renderIndex) override
Prepare the pick task.
HDX_API void Execute(HdTaskContext *ctx) override
Execute the pick task.
Base class for (some) tasks in Hdx that provides common progressive rendering and Hgi functionality.
A path value used to locate objects in layers or scenegraphs.
GF_API std::ostream & operator<<(std::ostream &, const GfBBox3d &)
Output a GfBBox3d using the format [(range) matrix zeroArea].
Pick task context params.