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

#include <colorCorrectionTask.h>

+ Inheritance diagram for HdxColorCorrectionTask:

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...
 
- Public Member Functions inherited from HdxTask
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
 
- 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
 

Protected Member Functions

HDX_API void _Sync (HdSceneDelegate *delegate, HdTaskContext *ctx, HdDirtyBits *dirtyBits) override
 Sync the render pass resources. More...
 
- Protected Member Functions inherited from HdxTask
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
 
- Protected Member Functions inherited from HdTask
template<class T >
bool _GetTaskParams (HdSceneDelegate *delegate, T *outValue)
 
HD_API TfTokenVector _GetTaskRenderTags (HdSceneDelegate *delegate)
 

Friends

struct HdxColorCorrectionTask_UboBuilder
 

Additional Inherited Members

- 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 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.

Constructor & Destructor Documentation

HDX_API HdxColorCorrectionTask::HdxColorCorrectionTask ( HdSceneDelegate delegate,
SdfPath const id 
)
HDX_API HdxColorCorrectionTask::~HdxColorCorrectionTask ( )
override

Member Function Documentation

HDX_API void HdxColorCorrectionTask::_Sync ( HdSceneDelegate delegate,
HdTaskContext ctx,
HdDirtyBits dirtyBits 
)
overrideprotectedvirtual

Sync the render pass resources.

Implements HdxTask.

HDX_API void HdxColorCorrectionTask::Execute ( HdTaskContext ctx)
overridevirtual

Execute the color correction task.

Implements HdTask.

HDX_API void HdxColorCorrectionTask::Prepare ( HdTaskContext ctx,
HdRenderIndex renderIndex 
)
overridevirtual

Prepare the tasks resources.

Implements HdTask.

Friends And Related Function Documentation

friend struct HdxColorCorrectionTask_UboBuilder
friend

Definition at line 134 of file colorCorrectionTask.h.


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