HdxRenderSetupTask Class Reference

A task for setting up render pass state (camera, renderpass shader, GL states). More...

Inherits HdTask.

Public Member Functions

HDX_API HdxRenderSetupTask (HdSceneDelegate *delegate, SdfPath const &id)
 
HDX_API void SyncParams (HdSceneDelegate *delegate, HdxRenderTaskParams const &params)
 
HDX_API void PrepareCamera (HdRenderIndex *renderIndex)
 
HdRenderPassStateSharedPtr const & GetRenderPassState () const
 
HDX_API void Sync (HdSceneDelegate *delegate, HdTaskContext *ctx, HdDirtyBits *dirtyBits) override
 Sync the render pass resources. More...
 
HDX_API void Prepare (HdTaskContext *ctx, HdRenderIndex *renderIndex) override
 Prepare the tasks resources. More...
 
HDX_API void Execute (HdTaskContext *ctx) override
 Execute render pass task. More...
 

Detailed Description

A task for setting up render pass state (camera, renderpass shader, GL states).

HdxRenderTask depends on the output of this task. Applications can choose to create a render setup task, and pass it the HdxRenderTaskParams; or they can pass the HdxRenderTaskParams directly to the render task, which will create a render setup task internally. See the HdxRenderTask documentation for details.

Definition at line 68 of file renderSetupTask.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: