All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HdxOitResolveTask Class Reference

#include <oitResolveTask.h>

+ Inheritance diagram for HdxOitResolveTask:

Public Member Functions

HDX_API HdxOitResolveTask (HdSceneDelegate *delegate, SdfPath const &id)
HDX_API ~HdxOitResolveTask () override
HDX_API void Sync (HdSceneDelegate *delegate, HdTaskContext *ctx, HdDirtyBits *dirtyBits) override
 Sync the resolve pass resources. More...
HDX_API void Prepare (HdTaskContext *ctx, HdRenderIndex *renderIndex) override
HDX_API void Execute (HdTaskContext *ctx) override
- Public Member Functions inherited from HdTask
HD_API HdTask (SdfPath const &id)
virtual HD_API ~HdTask ()
virtual HD_API const
GetRenderTags () const
SdfPath constGetId () const
virtual HD_API HdDirtyBits GetInitialDirtyBitsMask () const

Static Public Member Functions

static HDX_API bool IsOitEnabled ()

Additional Inherited Members

- Protected Member Functions inherited from HdTask
template<class T >
bool _GetTaskParams (HdSceneDelegate *delegate, T *outValue)
HD_API TfTokenVector _GetTaskRenderTags (HdSceneDelegate *delegate)
- Static Protected Member Functions inherited from HdTask
static HD_API bool _HasTaskContextData (HdTaskContext const *ctx, TfToken const &id)
 Check if the shared context contains a value for the given id. More...
template<class T >
static bool _GetTaskContextData (HdTaskContext const *ctx, TfToken const &id, T *outValue)
template<class T >
static T _GetDriver (HdTaskContext const *ctx, TfToken const &driverName)

Detailed Description

A task for resolving previous passes to pixels.

It is also responsible for allocating the OIT buffers, but it leaves the clearing of the OIT buffers to the OIT render tasks. OIT render tasks coordinate with the resolve task through HdxOitResolveTask::OitBufferAccessor.

Definition at line 68 of file oitResolveTask.h.

Constructor & Destructor Documentation

HDX_API HdxOitResolveTask::HdxOitResolveTask ( HdSceneDelegate delegate,
SdfPath const id 
HDX_API HdxOitResolveTask::~HdxOitResolveTask ( )

Member Function Documentation

HDX_API void HdxOitResolveTask::Execute ( HdTaskContext ctx)

Execute render pass task

Resolves OIT buffers

Implements HdTask.

static HDX_API bool HdxOitResolveTask::IsOitEnabled ( )
HDX_API void HdxOitResolveTask::Prepare ( HdTaskContext ctx,
HdRenderIndex renderIndex 

Prepare the tasks resources

Allocates OIT buffers if requested by OIT render task

Implements HdTask.

HDX_API void HdxOitResolveTask::Sync ( HdSceneDelegate delegate,
HdTaskContext ctx,
HdDirtyBits dirtyBits 

Sync the resolve pass resources.

Implements HdTask.

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