HDK
|
#include <oitResolveTask.h>
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 TfTokenVector & | GetRenderTags () const |
SdfPath const & | GetId () 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) |
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.
HDX_API HdxOitResolveTask::HdxOitResolveTask | ( | HdSceneDelegate * | delegate, |
SdfPath const & | id | ||
) |
|
override |
|
overridevirtual |
|
static |
|
overridevirtual |
Prepare the tasks resources
Allocates OIT buffers if requested by OIT render task
Implements HdTask.
|
overridevirtual |
Sync the resolve pass resources.
Implements HdTask.