Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FDynamicRHI
Description
Retrieves a new command context to begin the recording of a new platform command list. The returned context is specific to the given pipeline. It can later be converted to an IRHIPlatformCommandList by calling RHIFinalizeContext(), and then submitted to the GPU by calling RHISubmitCommandLists().
Called by parallel worker threads, and the render thread. Platform implementations must be thread safe.
| Name | RHIGetCommandContext |
| Type | function |
| Header File | /Engine/Source/Runtime/RHI/Public/DynamicRHI.h |
| Include Path | #include "DynamicRHI.h" |
IRHIComputeContext * RHIGetCommandContext
(
ERHIPipeline Pipeline,
FRHIGPUMask GPUMask
)