UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FoveatedImageGenerator.cpp File Reference
#include "FoveatedImageGenerator.h"
#include "SystemTextures.h"
#include "GlobalShader.h"
#include "IXRTrackingSystem.h"
#include "StereoRendering.h"
#include "SceneView.h"
#include "UnrealClient.h"
#include "DataDrivenShaderPlatformInfo.h"
#include "SceneTexturesConfig.h"
#include "IEyeTracker.h"
#include "IHeadMountedDisplay.h"
#include "SceneRendering.h"

Classes

class  FComputeVariableRateShadingImageGeneration
 

Enumerations

enum class  EVRSGenerationFlags : uint32 { None = 0x0 , StereoRendering = 0x1 , SideBySideStereo = 0x2 }
 

Functions

 ENUM_CLASS_FLAGS (EVRSGenerationFlags)
 
 IMPLEMENT_GLOBAL_SHADER (FComputeVariableRateShadingImageGeneration, "/Engine/Private/VariableRateShading/VRSShadingRateFoveated.usf", "GenerateShadingRateTexture", SF_Compute)
 

Variables

FVector2f HMDFieldOfView = FVector2f(90.0f, 90.0f)
 
constexpr int32 kComputeGroupSize = FComputeShaderUtils::kGolden2DGroupSize
 
constexpr int32 kMaxCombinedSources = 4
 

Enumeration Type Documentation

◆ EVRSGenerationFlags

Enumerator
None 
StereoRendering 
SideBySideStereo 

Function Documentation

◆ ENUM_CLASS_FLAGS()

ENUM_CLASS_FLAGS ( EVRSGenerationFlags  )

◆ IMPLEMENT_GLOBAL_SHADER()

IMPLEMENT_GLOBAL_SHADER ( FComputeVariableRateShadingImageGeneration  ,
"/Engine/Private/VariableRateShading/VRSShadingRateFoveated.usf"  ,
"GenerateShadingRateTexture"  ,
SF_Compute   
)

Variable Documentation

◆ HMDFieldOfView

FVector2f HMDFieldOfView = FVector2f(90.0f, 90.0f)

◆ kComputeGroupSize

constexpr int32 kComputeGroupSize = FComputeShaderUtils::kGolden2DGroupSize
constexpr

◆ kMaxCombinedSources

constexpr int32 kMaxCombinedSources = 4
constexpr