Loading...
Searching...
No Matches
HdxSelectionTask Class Reference

The SelectionTask is responsible for setting up render pass global buffers for selection and depositing those buffers into the task context for down stream consumption. More...

#include <selectionTask.h>

Inherits HdTask.

Public Member Functions

HDX_API HdxSelectionTask (HdSceneDelegate *delegate, SdfPath const &id)
 
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 tasks resources.
 
HDX_API void Execute (HdTaskContext *ctx) override
 Execute render pass task.
 

Detailed Description

The SelectionTask is responsible for setting up render pass global buffers for selection and depositing those buffers into the task context for down stream consumption.

Any render pass which wants to display selection may extract those buffers and bind them into the current render pass shader to enable selection highlighting.

Definition at line 62 of file selectionTask.h.

Member Function Documentation

◆ Execute()

HDX_API void Execute ( HdTaskContext *  ctx)
override

Execute render pass task.

◆ Prepare()

HDX_API void Prepare ( HdTaskContext *  ctx,
HdRenderIndex renderIndex 
)
override

Prepare the tasks resources.

◆ Sync()

HDX_API void Sync ( HdSceneDelegate delegate,
HdTaskContext *  ctx,
HdDirtyBits *  dirtyBits 
)
override

Sync the render pass resources.


The documentation for this class was generated from the following file: