Navigation
API > API/Runtime > API/Runtime/RHI
Inheritance Hierarchy
- FNoncopyable
- FRHICommandListBase
- FRHIComputeCommandList
- FRHICommandList
- FRHICommandListImmediate
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/RHICommandList.h |
| Include | #include "RHICommandList.h" |
Syntax
class FRHICommandListImmediate : public FRHICommandList
Constructors
No constructors are accessible with public or protected access.
Destructors
No destructors are accessible with public or protected access.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| FTexture2DRHIRef | AsyncReallocateTexture2D
(
FRHITexture2D* Texture2D, |
||
| void | BeginDrawingViewport
(
FRHIViewport* Viewport, |
||
| void | BeginFrame () |
||
| void | BeginScene () |
||
| FUpdateTexture3DData | BeginUpdateTexture3D
(
FRHITexture3D* Texture, |
||
| void | |||
| ETextureReallocationStatus | CancelAsyncReallocateTexture2D
(
FRHITexture2D* Texture2D, |
||
| void | Global graph events must be destroyed explicitly to avoid undefined order of static destruction, as they can be destroyed after their allocator. | ||
| void | CopyBuffer
(
FRHIBuffer* SourceBuffer, |
||
| void | EndDrawingViewport
(
FRHIViewport* Viewport, |
||
| void | EndFrame () |
||
| void | EndMultiUpdateTexture3D
(
TArray< FUpdateTexture3DData >& UpdateDataArray |
||
| void | EndScene () |
||
| void | EndUpdateTexture3D
(
FUpdateTexture3DData& UpdateData |
||
| void | EnqueueLambda
(
const TCHAR* LambdaName, |
||
| void | EnqueueLambda
(
LAMBDA&& Lambda |
||
| ETextureReallocationStatus | FinalizeAsyncReallocateTexture2D
(
FRHITexture2D* Texture2D, |
||
| int32 | |||
| void | |||
| void | GenerateMips
(
FRHITexture* Texture |
||
| FRHICommandListImmediate & | Get
(
FRHICommandListBase& RHICmdList |
||
| FRHICommandListImmediate & | Get () |
||
| uint32 | |||
| void * | |||
| void * | |||
| void * | |||
| void * | |||
| void * | |||
| void * | |||
| FGraphEventArray & | |||
| bool | |||
| void | ImmediateFlush
(
EImmediateFlushType::Type FlushType |
Dispatches work to the RHI thread and the GPU. | |
| void | |||
| bool | |||
| bool | IsStalled () |
||
| void * | LockBufferMGPU
(
FRHIBuffer* Buffer, |
LockBufferMGPU / UnlockBufferMGPU may ONLY be called for buffers with the EBufferUsageFlags::MultiGPUAllocate flag set! And buffers with that flag set may not call the regular (single GPU) LockBuffer / UnlockBuffer. | |
| void * | LockStagingBuffer
(
FRHIStagingBuffer* StagingBuffer, |
||
| void * | LockTexture2D
(
FRHITexture2D* Texture, |
||
| void * | LockTexture2DArray
(
FRHITexture2DArray* Texture, |
||
| void * | LockTextureCubeFace
(
FRHITexture* Texture, |
||
| void | MapStagingSurface
(
FRHITexture* Texture, |
||
| void | MapStagingSurface
(
FRHITexture* Texture, |
||
| void | |||
| void | QueueAsyncCommandListSubmit
(
TArrayView< FQueuedCommandList > CommandLists, |
Chains together one or more RHI command lists into the immediate command list, allowing in-order submission of parallel rendering work. | |
| void | QueueAsyncCommandListSubmit
(
FQueuedCommandList QueuedCommandList, |
||
| void | Read3DSurfaceFloatData
(
FRHITexture* Texture, |
||
| void | ReadSurfaceData
(
FRHITexture* Texture, |
ReadSurfaceFloatData reads texture data into FColor pixels in other formats are converted to FColor | |
| void | ReadSurfaceData
(
FRHITexture* Texture, |
ReadSurfaceFloatData reads texture data into FLinearColor pixels in other formats are converted to FLinearColor reading from float surfaces remaps the values into an interpolation of their {min,max} ; use RCM_MinMax to prevent that | |
| void | ReadSurfaceFloatData
(
FRHITexture* Texture, |
ReadSurfaceFloatData reads texture data into FFloat16Color it only works if Texture is exactly PF_FloatRGBA (RGBA16F) ! no conversion is done | |
| void | ReadSurfaceFloatData
(
FRHITexture* Texture, |
||
| void | |||
| bool | |||
| void | |||
| void | |||
| void | Transition
(
TArrayView< const FRHITransitionInfo > Infos |
||
| void | Transition
(
TArrayView< const FRHITransitionInfo > Infos, |
Performs an immediate transition with the option of broadcasting to multiple pipelines. | |
| void | Transition
(
const FRHITransitionInfo& Info |
||
| void | UnlockBufferMGPU
(
FRHIBuffer* Buffer, |
||
| void | UnlockStagingBuffer
(
FRHIStagingBuffer* StagingBuffer |
||
| void | UnlockTexture2D
(
FRHITexture2D* Texture, |
||
| void | UnlockTexture2DArray
(
FRHITexture2DArray* Texture, |
||
| void | UnlockTextureCubeFace
(
FRHITexture* Texture, |
||
| void | UnmapStagingSurface
(
FRHITexture* Texture, |
||
| void | |||
| void | UpdateRHIResources
(
FRHIResourceUpdateInfo* UpdateInfos, |
||
| void | VirtualTextureSetFirstMipInMemory
(
FRHITexture2D* Texture, |
||
| void | VirtualTextureSetFirstMipVisible
(
FRHITexture2D* Texture, |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FQueuedCommandList |
Enums
| Type | Name | Description | |
|---|---|---|---|
| ETranslatePriority |
Constants
| Name | Description |
|---|---|
| FrameDrawStats | |
| RHIThreadTask | |
| WaitOutstandingTasks |