UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
GPUBenchmark.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3/*=============================================================================
4 GPUBenchmark.h: GPUBenchmark to compute performance index to set video options automatically
5=============================================================================*/
6
7#pragma once
8
9#include "CoreMinimal.h"
10
12class FSceneView;
14
15// @param >0, WorkScale 10 for normal precision and runtime of less than a second
16// @param bDebugOut has no effect in shipping
17void RendererGPUBenchmark(FRHICommandListImmediate& RHICmdList, FSynthBenchmarkResults& InOut, const FSceneView& View, float WorkScale, bool bDebugOut = false);
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
void RendererGPUBenchmark(FRHICommandListImmediate &RHICmdList, FSynthBenchmarkResults &InOut, const FSceneView &View, float WorkScale, bool bDebugOut=false)
Definition GPUBenchmark.cpp:395
Definition RHICommandList.h:4626
Definition SceneView.h:1425
Definition GenericPlatformSurvey.h:124