FRHICommandListBase

Inheritance Hierarchy

Syntax

class FRHICommandListBase : public FNoncopyable

Variables

Name Description

Protected variable

bool

 

bAsyncPSOCompileAllowed

Public variable

FCommonData

 

Data

Public variable

FDrawUpData

 

DrawUPData

Public variable

TStatId

 

ExecuteStat

Protected variable

FRHIGPUMask

 

GPUMask

Protected variable

FRHICommandList ...

 

PSOContext

Public variable

void *[(int...

 

RenderThreadContexts

Constructors

Name Description

Public function

FRHICommandListBase

(
    FRHIGPUMask InGPUMask
)

Destructors

Name Description

Public function

~FRHICommandListBase()

Functions

Name Description

Public function

void

 

AddDispatchPrerequisite

(
    const FGraphEventRef & Prereq
)

Public function

void *

 

Alloc

(
    int32 AllocSize,
    int32 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

bool

 

Bypass()

Protected function

void

 

CacheActiveRenderTargets

(
    const FRHIRenderPassInfo & Info
)

Protected function

void

 

CacheActiveRenderTargets

(
    uint32 NewNumSimultaneousRenderTarg...,
    const FRHIRenderTargetView * Ne...,
    const FRHIDepthRenderTargetView ...
)

Public function

void

 

CopyContext

(
    FRHICommandListBase & ParentCommand...
)

Public function

void

 

CopyRenderThreadContexts

(
    const FRHICommandListBase & ParentC...
)

Public function Const

bool

 

DoValidation()

Public function

void

 

ExchangeCmdList

(
    FRHICommandListBase & Other
)

Public function

void

 

Flush()

Public function

IRHIComputeC ...

 

GetComputeContext()

Public function

IRHICommandC ...

 

GetContext()

Public function Const

const FRHIGP ...

 

GetGPUMask()

Public function

void *

 

GetRenderThreadContext

(
    ERenderThreadContext Slot
)

Public function

uint32

 

GetUID()

Public function Const

const int32

 

GetUsedMemory()

Public function

void

 

HandleRTThreadTaskCompletion

(
    const FGraphEventRef & MyCompletion...
)

Public function Const

bool

 

HasCommands()

Public function Const

bool

 

IsExecuting()

Public function

bool

 

IsImmediate()

Public function

bool

 

IsImmediateAsyncCompute()

Public function Const

bool

 

IsInsideComputePass()

Public function Const

bool

 

IsInsideRenderPass()

Public function Const

bool

 

IsOutsideRenderPass()

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()

Public function

void

 

SetComputeContext

(
    IRHIComputeContext * InContext
)

Public function

void

 

SetContext

(
    IRHICommandContext * InContext
)

Public function

void

 

SetRenderThreadContext

(
    void* InContext,
    ERenderThreadContext Slot
)

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

Public struct

FDrawUpData

Protected struct

FPSOContext

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

Enums

Name

Description

Public enum

ERenderThreadContext

References

Module

RHI

Header

Runtime/RHI/Public/RHICommandList.h