![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MetalCommandList.h>
Public Member Functions | |
| FMetalCommandList (FMetalCommandQueue &InCommandQueue) | |
| ~FMetalCommandList (void) | |
| void | FinalizeCommandBuffer (FMetalCommandBuffer *Buffer) |
| uint32 | GetParallelIndex (void) const |
| FMetalCommandQueue & | GetCommandQueue (void) const |
Static Public Member Functions | |
| static void | HandleMetalCommandBufferFailure (MTL::CommandBuffer *CompletedBuffer) |
FMetalCommandList: Encapsulates multiple command-buffers into an ordered list for submission. For the immediate context this is irrelevant and is merely a pass-through into the CommandQueue, but for deferred/parallel contexts it is required as they must queue their command buffers until they can be committed to the command-queue in the proper order which is only known at the end of parallel encoding.
| FMetalCommandList::FMetalCommandList | ( | FMetalCommandQueue & | InCommandQueue | ) |
Constructor
| InCommandQueue | The command-queue to which the command-list's buffers will be submitted. |
| FMetalCommandList::~FMetalCommandList | ( | void | ) |
Destructor
| void FMetalCommandList::FinalizeCommandBuffer | ( | FMetalCommandBuffer * | Buffer | ) |
Finalizes the command buffer ready for submission
| Buffer | The buffer to submit to the command-list. |
|
inline |
The index of this command-list within the parallel pass.
|
static |
Command buffer failure reporting function.
| CompletedBuffer | The buffer to check for failure. |