Loading...
Searching...
No Matches
HdxRenderSetupTask Class Reference

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

#include <renderSetupTask.h>

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.
 
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

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 69 of file renderSetupTask.h.

Member Function Documentation

◆ Execute()

HDX_API void Execute ( HdTaskContext *  ctx)
override

Execute render pass task.

◆ GetRenderPassState()

HdRenderPassStateSharedPtr const & GetRenderPassState ( ) const
inline

Definition at line 86 of file renderSetupTask.h.

◆ 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: