FRHICommandListBase

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

RHI

Header

/Engine/Source/Runtime/RHI/Public/RHICommandList.h

Include

#include "RHICommandList.h"

Syntax

class FRHICommandListBase : public FNoncopyable

Variables

Name Description

Protected variable

bool

 

bAsyncPSOCompileAllowed

Protected variable

FRHIComputeShad...

 

BoundComputeShaderRHI

Protected variable

FBoundShaderSta...

 

BoundShaderInput

Public variable

FCommonData

 

Data

Public variable

TStatId

 

ExecuteStat

Protected variable

FRHIGPUMask

 

GPUMask

Protected variable

FRHIGPUMask

 

InitialGPUMask

GPUMask that was set at the time the command list was last Reset.

Protected variable

FRHICommandList...

 

PSOContext

Constructors

Name Description

Protected function

FRHICommandListBase

(
    FRHIGPUMask InGPUMask
)

Destructors

Name Description

Public function

~FRHICommandListBase()

Functions

Name Description

Public function

void

 

AddDispatchPrerequisite

(
    const FGraphEventRef& Prereq
)

Public function

void *

 

Alloc

(
    int64 AllocSize,
    int64 Alignment
)

Public function

void *

 

Alloc()

Public function

const TArray...

 

AllocArray

(
    const TArrayView< T > InArray
)

Public function

void *

 

AllocCommand

(
    int32 AllocSize,
    int32 Alignment
)

Public function

void *

 

AllocCommand()

Public function

TCHAR *

 

AllocString

(
    const TCHAR* Name
)

Public function Const

bool

 

AsyncPSOCompileAllowed()

Public function Const

bool

 

Bypass()

Protected function

void

 

CacheActiveRenderTargets

(
    const FRHIRenderPassInfo& Info
)

Protected function

void

 

CacheActiveRenderTargets

(
    uint32 NewNumSimultaneousRenderTarg...,
    const FRHIRenderTargetView* Ne...,
    const FRHIDepthRenderTargetView...,
    const bool HasFragmentDensityAttach...,
    const uint8 MultiViewCount
)

Public function

void

 

CopyContext

(
    FRHICommandListBase& ParentCommand...
)

Public function Const

bool

 

DoValidation()

Public function

void

 

ExchangeCmdList

(
    FRHICommandListBase& Other
)

Public function

void

 

Flush()

Protected function

FMemStackBas...

 

GetAllocator()

Public function

IRHIComputeC...

 

GetComputeContext()

Public function

IRHICommandC...

 

GetContext()

Public function Const

const FRHIGP...

 

GetGPUMask()

Public function Const

ERHIPipeline

 

GetPipeline()

Public function Const

uint32

 

GetUID()

Public function Const

const int32

 

GetUsedMemory()

Public function

void

 

HandleRTThreadTaskCompletion

(
    const FGraphEventRef& MyCompletion...
)

Public function Const

bool

 

HasCommands()

Protected function

void

 

IncrementSubpass()

Public function Const

bool

 

IsAsyncCompute()

Public function Const

bool

 

IsBottomOfPipe()

Public function Const

bool

 

IsExecuting()

Public function Const

bool

 

IsGraphics()

Public function Const

bool

 

IsImmediate()

Public function Const

bool

 

IsImmediateAsyncCompute()

Public function Const

bool

 

IsInsideComputePass()

Public function Const

bool

 

IsInsideRenderPass()

Public function Const

bool

 

IsOutsideRenderPass()

Public function Const

bool

 

IsTopOfPipe()

Public function

void

 

MaybeDispatchToRHIThread()

Public function

void

 

MaybeDispatchToRHIThreadInner()

Public function

void

 

QueueAsyncCommandListSubmit

(
    FGraphEventRef& AnyThreadCompletio...,
    FRHICommandList* CmdList
)

Public function

void

 

QueueCommandListSubmit

(
    FRHICommandList* CmdList
)

Public function

void

 

QueueParallelAsyncCommandListSubmit

(
    FGraphEventRef* AnyThreadCompl...,
    bool bIsPrepass,
    FRHICommandList** CmdLists,
    int32* NumDrawsIfKnown,
    int32 Num,
    int32 MinDrawsPerTranslate,
    bool bSpewMerge
)

Public function

void

 

QueueRenderThreadCommandListSubmit

(
    FGraphEventRef& RenderThreadComple...,
    FRHICommandList* CmdList
)

Protected function

void

 

Reset()

Protected function

void

 

ResetSubpass

(
    ESubpassHint SubpassHint
)

Public function

void

 

SetComputeContext

(
    IRHIComputeContext* InComputeC...
)

Public function

void

 

SetContext

(
    IRHICommandContext* InContext
)

Public function

void

 

SetCurrentStat

(
    TStatId Stat
)

Protected function

void

 

ValidateBoundShader

(
    FRHIAmplificationShader* Shade...
)

Protected function

void

 

ValidateBoundShader

(
    FRHIVertexShader* ShaderRHI
)

Protected function

void

 

ValidateBoundShader

(
    FRHIPixelShader* ShaderRHI
)

Protected function

void

 

ValidateBoundShader

(
    FRHIGeometryShader* ShaderRHI
)

Protected function

void

 

ValidateBoundShader

(
    FRHIComputeShader* ShaderRHI
)

Protected function

void

 

ValidateBoundShader

(
    FRHIMeshShader* ShaderRHI
)

Protected function

void

 

ValidateBoundShader

(
    FRHIGraphicsShader* ShaderRHI
)

Public function

void

 

WaitForDispatch()

Public function

void

 

WaitForRHIThreadTasks()

Public function

void

 

WaitForTasks

(
    bool bKnownToBeComplete
)

Operators

Name Description

Public function

void

 

operator delete

(
    void* RawMemory
)

Public function

void *

 

operator new

(
    size_t Size
)

Custom new/delete with recycling

Classes

Name

Description

Public struct

FCommonData

Protected struct

FPSOContext

The values of this struct must be copied when the commandlist is split