![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "RHICommandList.h"#include "Misc/App.h"#include "Async/TaskGraphInterfaces.h"#include "Containers/ConsumeAllMpmcQueue.h"#include "Containers/ResourceArray.h"#include "RHI.h"#include "ProfilingDebugging/CsvProfiler.h"#include "ProfilingDebugging/MemoryTrace.h"#include "GenericPlatform/GenericPlatformCrashContext.h"#include "RHIBreadcrumbs.h"#include "RHIResourceReplace.h"#include "RHIContext.h"#include "RHIFwd.h"#include "RHITransition.h"#include "Stats/StatsSystem.h"#include "Stats/StatsTrace.h"#include "Stats/ThreadIdleStats.h"#include "HAL/PlatformMisc.h"#include "RHICommandListCommandExecutes.inl"Classes | |
| struct | FRHICommandListExecutor::FTaskPipe::FTask |
| CSV_DEFINE_CATEGORY_MODULE | ( | RHI_API | , |
| RHITFlushes | , | ||
| false | |||
| ) |
| CSV_DEFINE_CATEGORY_MODULE | ( | RHI_API | , |
| RHITStalls | , | ||
| false | |||
| ) |
| DECLARE_CYCLE_STAT | ( | TEXT("All Command List Execute") | , |
| STAT_ImmedCmdListExecuteTime | , | ||
| STATGROUP_RHICMDLIST | |||
| ) |
| DECLARE_CYCLE_STAT | ( | TEXT("Explicit wait for RHI thread") | , |
| STAT_ExplicitWaitRHIThread | , | ||
| STATGROUP_RHICMDLIST | |||
| ) |
| DECLARE_CYCLE_STAT | ( | TEXT("Explicit wait for tasks") | , |
| STAT_ExplicitWait | , | ||
| STATGROUP_RHICMDLIST | |||
| ) |
| DECLARE_CYCLE_STAT | ( | TEXT("Nonimmed. Command List Execute") | , |
| STAT_NonImmedCmdListExecuteTime | , | ||
| STATGROUP_RHICMDLIST | |||
| ) |
| DECLARE_CYCLE_STAT | ( | TEXT("Parallel Translate") | , |
| STAT_ParallelTranslate | , | ||
| STATGROUP_RHICMDLIST | |||
| ) |
| DECLARE_CYCLE_STAT | ( | TEXT("RHI Thread Execute") | , |
| STAT_RHIThreadExecute | , | ||
| STATGROUP_RHICMDLIST | |||
| ) |
| DECLARE_CYCLE_STAT | ( | TEXT("RHI Thread Parallel Translate Wait") | , |
| STAT_ParallelTranslateWait | , | ||
| STATGROUP_RHICMDLIST | |||
| ) |
| DECLARE_CYCLE_STAT | ( | TEXT("Spin RHIThread wait for stall") | , |
| STAT_SpinWaitRHIThreadStall | , | ||
| STATGROUP_RHICMDLIST | |||
| ) |
| DECLARE_DWORD_COUNTER_STAT | ( | TEXT("Immed. Command count") | , |
| STAT_ImmedCmdListCount | , | ||
| STATGROUP_RHICMDLIST | |||
| ) |
| DECLARE_DWORD_COUNTER_STAT | ( | TEXT("Immed. Command List memory") | , |
| STAT_ImmedCmdListMemory | , | ||
| STATGROUP_RHICMDLIST | |||
| ) |
| DECLARE_DWORD_COUNTER_STAT | ( | TEXT("Nonimmed. Command count") | , |
| STAT_NonImmedCmdListCount | , | ||
| STATGROUP_RHICMDLIST | |||
| ) |
| DECLARE_DWORD_COUNTER_STAT | ( | TEXT("Nonimmed. Command List memory") | , |
| STAT_NonImmedCmdListMemory | , | ||
| STATGROUP_RHICMDLIST | |||
| ) |
| FRHICOMMAND_MACRO | ( | FRHICommandRHIThreadFence | ) |
| UE_TRACE_CHANNEL_DEFINE | ( | RHICommandsChannel | ) |
| FAutoConsoleTaskPriority CPrio_SceneRenderingTask(TEXT("TaskGraph.TaskPriorities.SceneRenderingTask"), TEXT("Task and thread priority for various scene rendering tasks."), ENamedThreads::NormalThreadPriority, ENamedThreads::HighTaskPriority) | ( | TEXT("TaskGraph.TaskPriorities.SceneRenderingTask") | , |
| TEXT("Task and thread priority for various scene rendering tasks.") | , | ||
| ENamedThreads::NormalThreadPriority | , | ||
| ENamedThreads::HighTaskPriority | |||
| ) |
| TAutoConsoleVariable< bool > CVarRHICmdParallelTranslateCombineSingleAndParallel(TEXT("r.RHICmd.ParallelTranslate.CombineSingleAndParallel"), false, TEXT("Enabling this may trade reduced parallelism for reduced dispatch overhead.")) | ( | TEXT("r.RHICmd.ParallelTranslate.CombineSingleAndParallel") | , |
| false | , | ||
| TEXT("Enabling this may trade reduced parallelism for reduced dispatch overhead.") | |||
| ) |
| TAutoConsoleVariable< bool > CVarRHICmdParallelTranslateEnable(TEXT("r.RHICmd.ParallelTranslate.Enable"), true, TEXT("Setting this to false will make all command lists translate on the RHI thread.")) | ( | TEXT("r.RHICmd.ParallelTranslate.Enable") | , |
| true | , | ||
| TEXT("Setting this to false will make all command lists translate on the RHI thread.") | |||
| ) |
| TAutoConsoleVariable< int32 > CVarRHICmdParallelTranslateMaxCommandsPerTranslate(TEXT("r.RHICmd.ParallelTranslate.MaxCommandsPerTranslate"), 256, TEXT("A value less than 0 means 'always split'. Command lists will never be batched together in the same translate job.")) | ( | TEXT("r.RHICmd.ParallelTranslate.MaxCommandsPerTranslate") | , |
| 256 | , | ||
| TEXT("A value less than 0 means 'always split'. Command lists will never be batched together in the same translate job.") | |||
| ) |
| TAutoConsoleVariable< int32 > CVarRHICmdWidth(TEXT("r.RHICmdWidth"), 8, TEXT("Controls the task granularity of a great number of things in the parallel renderer.")) | ( | TEXT("r.RHICmdWidth") | , |
| 8 | , | ||
| TEXT("Controls the task granularity of a great number of things in the parallel renderer.") | |||
| ) |
| uint64 GInputLatencyTime = 0 |
How many cycles the from sampling input to the frame being flipped.
| RHI_API TOptional<ERHIThreadMode> GPendingRHIThreadMode |
|
extern |
| uint32 GRenderThreadIdle[ERenderThreadIdleTypes::Num] = { 0 } |
Accumulates how many cycles the renderthread has been idle.
| FRHICommandListExecutor GRHICommandList |