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 only for graphics pipelines and is used in conjunction with SubCommandList The returned context is expected to be in a state to execute draw commands immediately, i.e. renderpasses must be created and state set.
Called by parallel worker threads, and the render thread. Platform implementations must be thread safe.
| Name | RHIGetParallelCommandContext |
| Type | function |
| Header File | /Engine/Source/Runtime/RHI/Public/DynamicRHI.h |
| Include Path | #include "DynamicRHI.h" |
virtual IRHIComputeContext * RHIGetParallelCommandContext
(
FRHIParallelRenderPassInfo const & ParallelRenderPass,
FRHIGPUMask GPUMask
)