#include <FrameGraphExecuteGroupPrimary.h>
Inherits AZ::Metal::FrameGraphExecuteGroup.
Public Member Functions | |
| AZ_CLASS_ALLOCATOR (FrameGraphExecuteGroupPrimary, AZ::PoolAllocator) | |
| AZ_RTTI (FrameGraphExecuteGroupPrimary, "{1D5D2D6F-F4E6-4EF0-8E55-3E4E201B6358}", Base) | |
| void | Init (Device &device, AZStd::vector< Scope * > &&scopes) |
| void | SetRenderPasscontexts (AZStd::span< const RenderPassContext > renderPassContexts) |
| Set the list of renderpasses that the group will use. | |
| AZStd::span< const Scope *const > | GetScopes () const override |
| AZStd::span< Scope *const > | GetScopes () override |
Public Member Functions inherited from AZ::Metal::FrameGraphExecuteGroup | |
| void | InitBase (Device &device, const RHI::GraphGroupId &groupId, RHI::HardwareQueueClass hardwareQueueClass) |
| Device & | GetDevice () const |
| ExecuteWorkRequest && | AcquireWorkRequest () |
| RHI::HardwareQueueClass | GetHardwareQueueClass () |
| const RHI::GraphGroupId & | GetGroupId () const |
| Returns the group id of this FrameGraphExecuteGroup (used for subpass grouping) | |
| void | SetCommandBuffer (CommandQueueCommandBuffer *commandBuffer) |
| Set the command buffer that the group will use. | |
| void | SetHandler (FrameGraphExecuteGroupHandler *handler) |
| Set the FrameGraphExecuteGroupHandler that this group belongs. | |
Public Member Functions inherited from AZ::RHI::FrameGraphExecuteGroup | |
| AZ_RTTI (FrameGraphExecuteGroup, "{159FAD55-17EC-4B09-986F-01B740F96448}") | |
| bool | IsComplete () const |
| bool | IsSubmittable () const |
| uint32_t | GetContextCount () const |
| Returns the number of execute contexts in the group. | |
| FrameGraphExecuteContext * | BeginContext (uint32_t contextindex) |
| Begins the context at index. | |
| void | EndContext (uint32_t contextIndex) |
| JobPolicy | GetJobPolicy () const |
Additional Inherited Members | |
Public Types inherited from AZ::Metal::FrameGraphExecuteGroup | |
| using | CallbackFunc = AZStd::function< void(const FrameGraphExecuteGroup *groupBase)> |
Protected Member Functions inherited from AZ::Metal::FrameGraphExecuteGroup | |
| CommandList * | AcquireCommandList () const |
| void | EncodeWaitEvents () const |
| Go through all the wait fences across all queues and encode them if needed. | |
Protected Member Functions inherited from AZ::RHI::FrameGraphExecuteGroup | |
| void | Init (const InitRequest &request) |
| void | Init (const InitMergedRequest &request) |
Protected Attributes inherited from AZ::Metal::FrameGraphExecuteGroup | |
| ExecuteWorkRequest | m_workRequest |
| RHI::HardwareQueueClass | m_hardwareQueueClass = RHI::HardwareQueueClass::Graphics |
| CommandQueueCommandBuffer * | m_commandBuffer = nullptr |
Execute group that uses one command buffer to record the work of multiple scopes. The renderpasses (if needed) are created by the FrameGraphExecuteGroupPrimaryHandler but they are managed (start and end) by the class itself.
|
overridevirtual |
Implements AZ::Metal::FrameGraphExecuteGroup.
|
overridevirtual |
Implements AZ::Metal::FrameGraphExecuteGroup.