FRHICommandListBase

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

Public variable

void *[(int...

 

RenderThreadContexts

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

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

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 Const

ERHIPipeline

 

GetPipeline()

Public function

void *

 

GetRenderThreadContext

(
    ERenderThreadContext Slot
)

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

bool

 

IsImmediate()

Public function

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

 

SetRenderThreadContext

(
    void* InContext,
    ERenderThreadContext Slot
)

Protected function

void

 

ValidateBoundShader

(
    FRHIComputeShader* ShaderRHI
)

Protected function

void

 

ValidateBoundShader

(
    FRHIVertexShader* ShaderRHI
)

Protected function

void

 

ValidateBoundShader

(
    FRHIPixelShader* ShaderRHI
)

Protected function

void

 

ValidateBoundShader

(
    FRHIGeometryShader* ShaderRHI
)

Protected function

void

 

ValidateBoundShader

(
    FRHIHullShader* ShaderRHI
)

Protected function

void

 

ValidateBoundShader

(
    FRHIDomainShader* 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

Enums

Name

Description

Public enum

ERenderThreadContext

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss