Files
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

18 lines
718 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
/*=============================================================================
GPUBenchmark.h: GPUBenchmark to compute performance index to set video options automatically
=============================================================================*/
#pragma once
#include "CoreMinimal.h"
class FRHICommandListImmediate;
class FSceneView;
struct FSynthBenchmarkResults;
// @param >0, WorkScale 10 for normal precision and runtime of less than a second
// @param bDebugOut has no effect in shipping
void RendererGPUBenchmark(FRHICommandListImmediate& RHICmdList, FSynthBenchmarkResults& InOut, const FSceneView& View, float WorkScale, bool bDebugOut = false);