#include <FrameGraphExecuteGroupHandler.h>
Inherited by AZ::Metal::FrameGraphExecuteGroupPrimaryHandler, and AZ::Metal::FrameGraphExecuteGroupSecondaryHandler.
Public Member Functions | |
| AZ_CLASS_ALLOCATOR (FrameGraphExecuteGroupHandler, AZ::SystemAllocator) | |
| RHI::ResultCode | Init (Device &device, const AZStd::vector< RHI::FrameGraphExecuteGroup * > &executeGroups) |
| void | Shutdown () |
| void | End () |
| bool | IsComplete () const |
| Returns true if all FrameGraphExecuteGroup of this handler have finished. | |
| bool | IsExecuted () const |
| Returns true if the work has been submitted to the queue. | |
| void | BeginGroup (const FrameGraphExecuteGroup *group) |
| Callback from a FrameGraphExecuteGroup signaling that has begun it's execution. | |
| void | EndGroup (const FrameGraphExecuteGroup *group) |
| Callback from a FrameGraphExecuteGroup signaling that has ended it's execution. | |
Protected Member Functions | |
| void | AddWorkRequest (const ExecuteWorkRequest &workRequest) |
| Adds the workRequest to the handler's workRequest. | |
| void | UpdateSwapChain (RenderPassContext &context) |
| Request the next drawable from the Swapchain and updates the MTLRenderPassDescriptor. | |
Protected Attributes | |
| Device * | m_device = nullptr |
| ExecuteWorkRequest | m_workRequest |
| RHI::HardwareQueueClass | m_hardwareQueueClass = RHI::HardwareQueueClass::Graphics |
| AZStd::vector< RHI::FrameGraphExecuteGroup * > | m_executeGroups |
| bool | m_isExecuted = false |
| CommandQueueCommandBuffer | m_commandBuffer |
| AZStd::atomic_bool | m_hasBegun {false} |
Base class for handler classes that manage frame graph execute groups. Contains common functionality for all types of handlers including how execute groups are handled and how work requests are sent to the command queue.