HDK
|
#include <colorCorrectionTask.h>
Public Member Functions | |
HDX_API | HdxColorCorrectionTask (HdSceneDelegate *delegate, SdfPath const &id) |
HDX_API | ~HdxColorCorrectionTask () override |
HDX_API void | Prepare (HdTaskContext *ctx, HdRenderIndex *renderIndex) override |
Prepare the tasks resources. More... | |
HDX_API void | Execute (HdTaskContext *ctx) override |
Execute the color correction task. More... | |
![]() | |
HDX_API | HdxTask (SdfPath const &id) |
HDX_API | ~HdxTask () override |
virtual HDX_API bool | IsConverged () const |
HDX_API void | Sync (HdSceneDelegate *delegate, HdTaskContext *ctx, HdDirtyBits *dirtyBits) overridefinal |
![]() | |
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 |
Protected Member Functions | |
HDX_API void | _Sync (HdSceneDelegate *delegate, HdTaskContext *ctx, HdDirtyBits *dirtyBits) override |
Sync the render pass resources. More... | |
![]() | |
HDX_API void | _ToggleRenderTarget (HdTaskContext *ctx) |
HDX_API void | _ToggleDepthTarget (HdTaskContext *ctx) |
HDX_API void | _SwapTextures (HdTaskContext *ctx, const TfToken &textureToken, const TfToken &textureIntermediateToken) |
HDX_API Hgi * | _GetHgi () const |
![]() | |
template<class T > | |
bool | _GetTaskParams (HdSceneDelegate *delegate, T *outValue) |
HD_API TfTokenVector | _GetTaskRenderTags (HdSceneDelegate *delegate) |
Friends | |
struct | HdxColorCorrectionTask_UboBuilder |
Additional Inherited Members | |
![]() | |
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 performing color correction (and optionally color grading) on a color buffer to transform its color for display.
Definition at line 89 of file colorCorrectionTask.h.
HDX_API HdxColorCorrectionTask::HdxColorCorrectionTask | ( | HdSceneDelegate * | delegate, |
SdfPath const & | id | ||
) |
|
override |
|
overrideprotectedvirtual |
Sync the render pass resources.
Implements HdxTask.
|
overridevirtual |
Execute the color correction task.
Implements HdTask.
|
overridevirtual |
Prepare the tasks resources.
Implements HdTask.
|
friend |
Definition at line 134 of file colorCorrectionTask.h.