Navigation
Unreal Engine C++ API Reference > Runtime > RHI
Inheritance Hierarchy
- FNoncopyable
- FRHICommandListBase
- FRHIComputeCommandList
- FRHICommandList
- FRHICommandList_RecursiveHazardous
- TRHICommandList_RecursiveHazardous
- FRHICommandListImmediate
- FRHIComputeCommandList_RecursiveHazardous
- TRHIComputeCommandList_RecursiveHazardous
References
Module | RHI |
Header | /Engine/Source/Runtime/RHI/Public/RHICommandList.h |
Include | #include "RHICommandList.h" |
Syntax
class FRHICommandListBase : public FNoncopyable
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
ERHIPipeline | ActivePipeline | The currently selected pipeline that RHI commands are directed to, during command list recording. |
![]() |
ERHIPipeline | AllowedPipelines | Used to check for valid pipelines passed to SwitchPipeline(). |
![]() |
bool | bExecuting | |
![]() |
FRHICommandBase ** | CommandLink | |
![]() |
IRHIComputeContext * | ComputeContext | The active compute context into which (possibly async) compute commands are recorded. |
![]() |
TRHIPipelineArray< IRHIComputeContext * > | Contexts | The RHI contexts available to the command list during execution. |
![]() |
FGraphEventRef | DispatchEvent | Graph event used to gate the execution of the command list on the completion of any dependent tasks e.g. PSO async compilation and parallel RHICmdList recording tasks. |
![]() |
TStatId | ExecuteStat | |
![]() |
IRHICommandContext * | GraphicsContext | The active context into which graphics commands are recorded. |
![]() |
FMemStackBase | MemManager | |
![]() |
uint32 | NumCommands | |
![]() |
FRHICommandListBase::FPersistentState | PersistentState | |
![]() |
TStaticArray< void *, 1 > | QueryBatchData | |
![]() |
FRHICommandBase * | Root | |
![]() |
FRHIBatchedShaderParameters | ScratchShaderParameters | |
![]() |
FRHIBatchedShaderUnbinds | ScratchShaderUnbinds | |
![]() |
uint32 | UID |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FRHICommandListBase
(
FRHICommandListBase&& Other |
||
![]() |
FRHICommandListBase
(
FRHIGPUMask InGPUMask, |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddDispatchPrerequisite
(
const FGraphEventRef& Prereq |
Adds a graph event as a dispatch dependency. |
![]() |
void * | Alloc () |
|
![]() |
void * | Alloc
(
int64 AllocSize, |
|
![]() |
const TArrayView< T > | AllocArray
(
const TArrayView< T > InArray |
|
![]() |
const TArrayView< T > | AllocArrayUninitialized
(
uint32 Num |
|
![]() |
void * | AllocCommand
(
int32 AllocSize, |
|
![]() |
void * | AllocCommand () |
|
![]() |
void * | AllocCopy
(
const void* InSourceData, |
|
![]() |
TCHAR * | AllocString
(
const TCHAR* Name |
|
![]() ![]() |
bool | ||
![]() ![]() |
bool | Bypass () |
|
![]() |
void | CacheActiveRenderTargets
(
const FRHIRenderPassInfo& Info |
|
![]() |
FBufferRHIRef | CreateBuffer
(
uint32 Size, |
|
![]() |
FBufferRHIRef | CreateIndexBuffer
(
uint32 Stride, |
|
![]() |
FBufferRHIRef | CreateIndexBuffer
(
uint32 Stride, |
|
![]() |
FShaderResourceViewRHIRef | CreateShaderResourceView
(
FRHITexture* Texture, |
|
![]() |
FShaderResourceViewRHIRef | CreateShaderResourceView
(
FRHIBuffer* Buffer, |
|
![]() |
FShaderResourceViewRHIRef | CreateShaderResourceView
(
const FShaderResourceViewInitializer& Initializer |
|
![]() |
FBufferRHIRef | CreateStructuredBuffer
(
uint32 Stride, |
|
![]() |
FBufferRHIRef | CreateStructuredBuffer
(
uint32 Stride, |
|
![]() |
FUnorderedAccessViewRHIRef | CreateUnorderedAccessView
(
FRHIBuffer* Buffer, |
|
![]() |
FUnorderedAccessViewRHIRef | CreateUnorderedAccessView
(
FRHITexture* Texture, |
|
![]() |
FBufferRHIRef | CreateVertexBuffer
(
uint32 Size, |
|
![]() |
FBufferRHIRef | CreateVertexBuffer
(
uint32 Size, |
|
![]() |
void | EnqueueLambda
(
const TCHAR* LambdaName, |
|
![]() |
void | EnqueueLambda
(
LAMBDA&& Lambda |
|
![]() |
void | Marks the RHI command list as completed, allowing it to be dispatched to the RHI / parallel translate threads. | |
![]() |
FMemStackBase & | GetAllocator () |
|
![]() |
FRHICommandListImmediate & | ||
![]() |
IRHIComputeContext & | ||
![]() |
IRHICommandContext & | GetContext () |
|
![]() ![]() |
FRHIGPUMask | GetGPUMask () |
|
![]() ![]() |
ERHIPipeline | GetPipeline () |
|
![]() |
FRHIBatchedShaderParameters & | ||
![]() |
FRHIBatchedShaderUnbinds & | ||
![]() ![]() |
uint32 | GetUID () |
|
![]() ![]() |
const int32 | ||
![]() ![]() |
bool | HasCommands () |
|
![]() |
void | ||
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() ![]() |
bool | IsExecuting () |
|
![]() ![]() |
bool | IsGraphics () |
|
![]() ![]() |
bool | IsImmediate () |
|
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() ![]() |
bool | IsTopOfPipe () |
|
![]() |
void * | LockBuffer
(
FRHIBuffer* Buffer, |
|
![]() |
void | ResetSubpass
(
ESubpassHint SubpassHint |
|
![]() |
FGraphEventRef | RHIThreadFence
(
bool bSetLockFence |
|
![]() |
void | SetCurrentStat
(
TStatId Stat |
|
![]() |
void | SetExecuteStat
(
TStatId Stat |
|
![]() |
ERHIPipeline | SwitchPipeline
(
ERHIPipeline Pipeline |
|
![]() |
void | UnlockBuffer
(
FRHIBuffer* Buffer |
|
![]() |
void | UpdateFromBufferTexture2D
(
FRHITexture2D* Texture, |
|
![]() |
void | UpdateTexture2D
(
FRHITexture2D* Texture, |
|
![]() |
void | UpdateTexture3D
(
FRHITexture3D* Texture, |
|
![]() |
void | UpdateUniformBuffer
(
FRHIUniformBuffer* UniformBufferRHI, |
|
![]() |
void | ValidateBoundShader
(
FRHIAmplificationShader* ShaderRHI |
|
![]() |
void | ValidateBoundShader
(
FRHIVertexShader* ShaderRHI |
|
![]() |
void | ValidateBoundShader
(
FRHIPixelShader* ShaderRHI |
|
![]() |
void | ValidateBoundShader
(
FRHIGeometryShader* ShaderRHI |
|
![]() |
void | ValidateBoundShader
(
FRHIComputeShader* ShaderRHI |
|
![]() |
void | ValidateBoundShader
(
FRHIMeshShader* ShaderRHI |
|
![]() |
void | ValidateBoundShader
(
FRHIGraphicsShader* ShaderRHI |
|
![]() |
void | Blocks the calling thread until the dispatch event is completed. |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FPersistentState | The values in this struct are preserved when the command list is moved or reset. |
Enums
Type | Name | Description | |
---|---|---|---|
![]() |
ERecordingThread |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() |
FShaderResourceViewRHIRef | CreateShaderResourceView
(
FRHITexture* Texture, |
Use the CreateShaderResourceView function that takes an FRHIViewDesc. |
![]() |
FShaderResourceViewRHIRef | CreateShaderResourceView
(
FRHIBuffer* Buffer, |
Use the CreateShaderResourceView function that takes an FRHIViewDesc. |
![]() |
FShaderResourceViewRHIRef | CreateShaderResourceView
(
FRHITexture* Texture, |
Use the CreateShaderResourceView function that takes an FRHIViewDesc. |
![]() |
FShaderResourceViewRHIRef | CreateShaderResourceView
(
FRHITexture* Texture, |
Use the CreateShaderResourceView function that takes an FRHIViewDesc. |
![]() |
FShaderResourceViewRHIRef | CreateShaderResourceView
(
FRHIBuffer* Buffer |
Use the CreateShaderResourceView function that takes an FRHIViewDesc. |
![]() |
FShaderResourceViewRHIRef | CreateShaderResourceViewFMask
(
FRHITexture2D* Texture2DRHI |
Use the CreateShaderResourceView function that takes an FRHIViewDesc. |
![]() |
FShaderResourceViewRHIRef | CreateShaderResourceViewWriteMask
(
FRHITexture2D* Texture2DRHI |
Use the CreateShaderResourceView function that takes an FRHIViewDesc. |
![]() |
FUnorderedAccessViewRHIRef | CreateUnorderedAccessView
(
FRHIBuffer* Buffer, |
Use the CreateUnorderedAccessView function that takes an FRHIViewDesc. |
![]() |
FUnorderedAccessViewRHIRef | CreateUnorderedAccessView
(
FRHIBuffer* Buffer, |
Use the CreateUnorderedAccessView function that takes an FRHIViewDesc. |
![]() |
FUnorderedAccessViewRHIRef | CreateUnorderedAccessView
(
FRHITexture* Texture, |
Use the CreateUnorderedAccessView function that takes an FRHIViewDesc. |
![]() |
FUnorderedAccessViewRHIRef | CreateUnorderedAccessView
(
FRHITexture* Texture, |
Use the CreateUnorderedAccessView function that takes an FRHIViewDesc. |