UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MobileReflectionEnvironmentCapture.cpp File Reference

Classes

class  FMobileCubeDownsamplePS
 

Namespaces

namespace  MobileReflectionEnvironmentCapture
 

Functions

void ComputeSingleAverageBrightnessFromCubemap (FRDGBuilder &GraphBuilder, FGlobalShaderMap *ShaderMap, FRDGTexture *CubemapTexture, float *OutAverageBrightness)
 
FRDGTextureFilterCubeMap (FRDGBuilder &GraphBuilder, FGlobalShaderMap *ShaderMap, FRDGTexture *SourceTexture)
 
void PremultiplyCubeMipAlpha (FRDGBuilder &GraphBuilder, FGlobalShaderMap *ShaderMap, FRDGTexture *CubemapTexture, int32 MipIndex)
 
 IMPLEMENT_GLOBAL_SHADER (FMobileCubeDownsamplePS, "/Engine/Private/ReflectionEnvironmentShaders.usf", "DownsamplePS_Mobile", SF_Pixel)
 

Function Documentation

◆ ComputeSingleAverageBrightnessFromCubemap()

void ComputeSingleAverageBrightnessFromCubemap ( FRDGBuilder GraphBuilder,
FGlobalShaderMap ShaderMap,
FRDGTexture CubemapTexture,
float OutAverageBrightness 
)
extern

Computes the average brightness of the given reflection capture and stores it in the scene.

◆ FilterCubeMap()

FRDGTexture * FilterCubeMap ( FRDGBuilder GraphBuilder,
FGlobalShaderMap ShaderMap,
FRDGTexture SourceTexture 
)
extern

◆ IMPLEMENT_GLOBAL_SHADER()

IMPLEMENT_GLOBAL_SHADER ( FMobileCubeDownsamplePS  ,
"/Engine/Private/ReflectionEnvironmentShaders.usf"  ,
"DownsamplePS_Mobile"  ,
SF_Pixel   
)

◆ PremultiplyCubeMipAlpha()

void PremultiplyCubeMipAlpha ( FRDGBuilder GraphBuilder,
FGlobalShaderMap ShaderMap,
FRDGTexture CubemapTexture,
int32  MipIndex 
)
extern