A task for setting up render pass state (camera, renderpass shader, GL states).
More...
#include <renderSetupTask.h>
|
|
static HDX_API void | SyncParamsHelper (const HdRenderPassStateSharedPtr &renderPassState, const HdxRenderTaskParams ¶ms) |
| |
|
| template<class T > |
| bool | _GetTaskParams (HdSceneDelegate *delegate, T *outValue) |
| | Extracts a typed value out of the task context at the given id.
|
| |
|
HD_API TfTokenVector | _GetTaskRenderTags (HdSceneDelegate *delegate) |
| |
| static HD_API bool | _HasTaskContextData (HdTaskContext const *ctx, TfToken const &id) |
| | Check if the shared context contains a value for the given id.
|
| |
| template<class T > |
| static bool | _GetTaskContextData (HdTaskContext const *ctx, TfToken const &id, T *outValue) |
| | Extracts a typed value out of the task context at the given id.
|
| |
| template<class T > |
| static T | _GetDriver (HdTaskContext const *ctx, TfToken const &driverName) |
| | Extract an object from a HdDriver inside the task context.
|
| |
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 52 of file renderSetupTask.h.
◆ TaskParams
◆ Execute()
| HDX_API void Execute |
( |
HdTaskContext * | ctx | ) |
|
|
overridevirtual |
Execute render pass task.
Implements HdTask.
◆ GetRenderPassState()
| HdRenderPassStateSharedPtr const & GetRenderPassState |
( |
| ) |
const |
|
inline |
◆ Prepare()
| HDX_API void Prepare |
( |
HdTaskContext * | ctx, |
|
|
HdRenderIndex * | renderIndex ) |
|
overridevirtual |
Prepare the tasks resources.
Implements HdTask.
◆ Sync()
| HDX_API void Sync |
( |
HdSceneDelegate * | delegate, |
|
|
HdTaskContext * | ctx, |
|
|
HdDirtyBits * | dirtyBits ) |
|
overridevirtual |
Sync the render pass resources.
Implements HdTask.
The documentation for this class was generated from the following file: