UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
LensDistortion Namespace Reference

Enumerations

enum class  EPassLocation : uint8 { TSR , PrimaryUpscale }
 

Functions

EPassLocation GetPassLocation (const FViewInfo &InViewInfo)
 
RENDERER_API EPassLocation GetPassLocationUnsafe (const FSceneView &InView)
 
RENDERER_API const FLensDistortionLUTGetLUTUnsafe (const FSceneView &InView)
 
RENDERER_API void SetLUTUnsafe (FSceneView &InView, const FLensDistortionLUT &DistortionLUT)
 

Enumeration Type Documentation

◆ EPassLocation

Enumerator
TSR 
PrimaryUpscale 

Function Documentation

◆ GetLUTUnsafe()

const FLensDistortionLUT & LensDistortion::GetLUTUnsafe ( const FSceneView InView)

Get the view lens distortion LUT. Unsafe to due internal argument cast from "FSceneView" to "FViewInfo".

Parameters
InViewActive view info.
Returns
FLensDistortionLUT texture struct.

◆ GetPassLocation()

LensDistortion::EPassLocation LensDistortion::GetPassLocation ( const FViewInfo InViewInfo)

Get the pass location of the lens distortion application in post-processing.

Parameters
InViewInfoActive view info.
Returns
Location enum.

◆ GetPassLocationUnsafe()

LensDistortion::EPassLocation LensDistortion::GetPassLocationUnsafe ( const FSceneView InView)

Get the pass location of the lens distortion application in post-processing. Unsafe to due internal argument cast from "FSceneView" to "FViewInfo".

Parameters
InViewActive view info.
Returns
EPassLocation enum.

◆ SetLUTUnsafe()

void LensDistortion::SetLUTUnsafe ( FSceneView InView,
const FLensDistortionLUT DistortionLUT 
)

Set the view lens distortion LUT. Unsafe to due internal argument cast from "FSceneView" to "FViewInfo".

Parameters
InViewActive view info.
DistortionLUTThe LUT object to set on the FViewInfo