HdxOitRenderTask Class Reference

A task for rendering transparent geometry into OIT buffers. More...

+ Inheritance diagram for HdxOitRenderTask:

Public Member Functions

HDX_API HdxOitRenderTask (HdSceneDelegate *delegate, SdfPath const &id)
 
HDX_API void Prepare (HdTaskContext *ctx, HdRenderIndex *renderIndex) override
 Prepare the tasks resources. More...
 
HDX_API void Execute (HdTaskContext *ctx) override
 Execute render pass task. More...
 
- Public Member Functions inherited from HdxRenderTask
HDX_API HdxRenderTask (HdSceneDelegate *delegate, SdfPath const &id)
 
HDX_API bool IsConverged () const override
 Hooks for progressive rendering (delegated to renderpasses). More...
 
HDX_API void Prepare (HdTaskContext *ctx, HdRenderIndex *renderIndex) override
 Prepare the tasks resources. More...
 
HDX_API void Execute (HdTaskContext *ctx) override
 Execute render pass task. More...
 
HDX_API const TfTokenVectorGetRenderTags () const override
 Collect Render Tags used by the task. More...
 
- Public Member Functions inherited from HdxTask
HDX_API HdxTask (SdfPath const &id)
 
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. More...
 

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 HdxRenderTask
HDX_API void _Sync (HdSceneDelegate *delegate, HdTaskContext *ctx, HdDirtyBits *dirtyBits) override
 Sync the render pass resources. More...
 
HDX_API HdRenderPassStateSharedPtr _GetRenderPassState (HdTaskContext *ctx) const
 
HDX_API bool _HasDrawItems () const
 
- Protected Member Functions inherited from HdxTask
void _ToggleRenderTarget (HdTaskContext *ctx)
 
HDX_API Hgi_GetHgi () const
 

Additional Inherited Members

- Protected Attributes inherited from HdxTask
Hgi_hgi
 

Detailed Description

A task for rendering transparent geometry into OIT buffers.

Its companion task, OITResolveTask, will blend the buffers to screen.

Definition at line 43 of file oitRenderTask.h.

Member Function Documentation

◆ _Sync()

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

Sync the render pass resources.

Implements HdxTask.

◆ Execute()

HDX_API void Execute ( HdTaskContext *  ctx)
override

Execute render pass task.

◆ Prepare()

HDX_API void Prepare ( HdTaskContext *  ctx,
HdRenderIndex renderIndex 
)
override

Prepare the tasks resources.


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