Navigation
API > API/Runtime > API/Runtime/RHI
Helper to activate a specific RHI pipeline within a block of renderer code. Allows command list recording code to switch between graphics / async compute etc. Restores the previous active pipeline when the scope is ended.
| Name | FRHICommandListScopedPipeline |
| Type | class |
| Header File | /Engine/Source/Runtime/RHI/Public/RHICommandList.h |
| Include Path | #include "RHICommandList.h" |
Syntax
class FRHICommandListScopedPipeline
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRHICommandListScopedPipeline
(
FRHICommandListBase& RHICmdList, |
RHICommandList.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FRHICommandListScopedPipeline() |
RHICommandList.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PreviousPipeline | ERHIPipeline | RHICommandList.h | ||
| RHICmdList | FRHICommandListBase & | RHICommandList.h |