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

Class for OIT render tasks to access the OIT buffers. More...

Public Member Functions

HDX_API HdxOitBufferAccessor (HdTaskContext *ctx)
 
HDX_API void RequestOitBuffers ()
 Called during Prepare to indicate that OIT buffers are needed. More...
 
HDX_API void InitializeOitBuffersIfNecessary ()
 Called during Excecute before writing to OIT buffers. More...
 
HDX_API bool AddOitBufferBindings (const HdStRenderPassShaderSharedPtr &)
 Called during Execute to add necessary OIT buffer shader bindings. More...
 

Static Public Member Functions

static bool IsOitEnabled ()
 

Detailed Description

Class for OIT render tasks to access the OIT buffers.

Definition at line 46 of file oitBufferAccessor.h.

Member Function Documentation

HDX_API bool AddOitBufferBindings ( const HdStRenderPassShaderSharedPtr &  )

Called during Execute to add necessary OIT buffer shader bindings.

Returns false if the OIT buffers were not allocated.

HDX_API void InitializeOitBuffersIfNecessary ( )

Called during Excecute before writing to OIT buffers.

HDX_API void RequestOitBuffers ( )

Called during Prepare to indicate that OIT buffers are needed.


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