Loading...
Searching...
No Matches
HdxAovInputTask Class Reference

A task for taking input AOV data comming from a render buffer that was filled by render tasks and converting it to a HgiTexture. More...

#include <aovInputTask.h>

+ Inheritance diagram for HdxAovInputTask:

Public Member Functions

HDX_API HdxAovInputTask (HdSceneDelegate *delegate, SdfPath const &id)
 
bool IsConverged () const override
 Hooks for progressive rendering.
 
HDX_API void Prepare (HdTaskContext *ctx, HdRenderIndex *renderIndex) override
 
HDX_API void Execute (HdTaskContext *ctx) override
 
- Public Member Functions inherited from HdxTask
HDX_API HdxTask (SdfPath const &id)
 
virtual HDX_API bool IsConverged () const
 This function returns true when a (progressive) task considers its execution results converged.
 
HDX_API void Sync (HdSceneDelegate *delegate, HdTaskContext *ctx, HdDirtyBits *dirtyBits) override final
 We override HdTask::Sync, but make it 'final' to make sure derived classes can't override it and instead override _Sync.
 

Protected Member Functions

HDX_API void _Sync (HdSceneDelegate *delegate, HdTaskContext *ctx, HdDirtyBits *dirtyBits) override
 
- Protected Member Functions inherited from HdxTask
virtual void _Sync (HdSceneDelegate *delegate, HdTaskContext *ctx, HdDirtyBits *dirtyBits)=0
 
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
 

Detailed Description

A task for taking input AOV data comming from a render buffer that was filled by render tasks and converting it to a HgiTexture.

The aov render buffer can be a GPU or CPU buffer, while the resulting output HgiTexture will always be a GPU texture.

The HgiTexture is placed in the shared task context so that following tasks maybe operate on this HgiTexture without having to worry about converting the aov data from CPU to GPU.

Definition at line 45 of file aovInputTask.h.

Member Function Documentation

◆ _Sync()

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

Implements HdxTask.

◆ IsConverged()

bool IsConverged ( ) const
overridevirtual

Hooks for progressive rendering.

Reimplemented from HdxTask.


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