HDK
 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)
 
virtual HDX_API ~HdxOitResolveTask ()
 
virtual HDX_API void Sync (HdSceneDelegate *delegate, HdTaskContext *ctx, HdDirtyBits *dirtyBits) override
 Sync the resolve pass resources. More...
 
virtual HDX_API void Prepare (HdTaskContext *ctx, HdRenderIndex *renderIndex) override
 
virtual 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
TfTokenVector
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 54 of file oitResolveTask.h.

Constructor & Destructor Documentation

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

Member Function Documentation

virtual HDX_API void HdxOitResolveTask::Execute ( HdTaskContext ctx)
overridevirtual

Execute render pass task

Resolves OIT buffers

Implements HdTask.

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

Prepare the tasks resources

Allocates OIT buffers if requested by OIT render task

Implements HdTask.

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

Sync the resolve pass resources.

Implements HdTask.


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