![]() |
|
Class for OIT render tasks to access the OIT buffers. More...
#include <oitBufferAccessor.h>
Public Member Functions | |
| HDX_API | HdxOitBufferAccessor (HdTaskContext *ctx) |
| HDX_API void | RequestOitBuffers () |
| Called during Prepare to indicate that OIT buffers are needed. | |
| HDX_API void | InitializeOitBuffersIfNecessary (Hgi *hgi) |
| Called during Excecute before writing to OIT buffers. | |
| HDX_API bool | AddOitBufferBindings (const HdStRenderPassShaderSharedPtr &) |
| Called during Execute to add necessary OIT buffer shader bindings. | |
Static Public Member Functions | |
| static bool | IsOitEnabled () |
Class for OIT render tasks to access the OIT buffers.
Definition at line 29 of file oitBufferAccessor.h.
| 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 | ( | Hgi * | hgi | ) |
Called during Excecute before writing to OIT buffers.
| HDX_API void RequestOitBuffers | ( | ) |
Called during Prepare to indicate that OIT buffers are needed.