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

Classes

class  FReflectionTextureCubeResource
 

Macros

#define FACE_X_POS   0
 
#define FACE_X_NEG   1
 
#define FACE_Y_POS   2
 
#define FACE_Y_NEG   3
 
#define FACE_Z_POS   4
 
#define FACE_Z_NEG   5
 
#define EDGE_LEFT   0
 
#define EDGE_RIGHT   1
 
#define EDGE_TOP   2
 
#define EDGE_BOTTOM   3
 
#define CORNER_NNN   0
 
#define CORNER_NNP   1
 
#define CORNER_NPN   2
 
#define CORNER_NPP   3
 
#define CORNER_PNN   4
 
#define CORNER_PNP   5
 
#define CORNER_PPN   6
 
#define CORNER_PPP   7
 

Functions

 DEFINE_LOG_CATEGORY_STATIC (LogReflectionCaptureComponent, Log, All)
 
ENGINE_API TAutoConsoleVariable< int32CVarReflectionCaptureSize (TEXT("r.ReflectionCaptureResolution"), 128,)
 
bool IsEncodedHDRCubemapTextureRequired (EShaderPlatform ShaderPlatform)
 
FColor RGBMEncode (FLinearColor Color, float MaxValueRGBM)
 
void GenerateEncodedHDRData (const TArray< uint8 > &FullHDRData, int32 CubemapSize, TArray< uint8 > &OutEncodedHDRData)
 

Variables

TAutoConsoleVariable< int32CVarReflectionCaptureUpdateEveryFrame (TEXT("r.ReflectionCaptureUpdateEveryFrame"), 0,)
 

Macro Definition Documentation

◆ CORNER_NNN

#define CORNER_NNN   0

◆ CORNER_NNP

#define CORNER_NNP   1

◆ CORNER_NPN

#define CORNER_NPN   2

◆ CORNER_NPP

#define CORNER_NPP   3

◆ CORNER_PNN

#define CORNER_PNN   4

◆ CORNER_PNP

#define CORNER_PNP   5

◆ CORNER_PPN

#define CORNER_PPN   6

◆ CORNER_PPP

#define CORNER_PPP   7

◆ EDGE_BOTTOM

#define EDGE_BOTTOM   3

◆ EDGE_LEFT

#define EDGE_LEFT   0

◆ EDGE_RIGHT

#define EDGE_RIGHT   1

◆ EDGE_TOP

#define EDGE_TOP   2

◆ FACE_X_NEG

#define FACE_X_NEG   1

◆ FACE_X_POS

#define FACE_X_POS   0

◆ FACE_Y_NEG

#define FACE_Y_NEG   3

◆ FACE_Y_POS

#define FACE_Y_POS   2

◆ FACE_Z_NEG

#define FACE_Z_NEG   5

◆ FACE_Z_POS

#define FACE_Z_POS   4

Function Documentation

◆ CVarReflectionCaptureSize()

ENGINE_API TAutoConsoleVariable< int32 > CVarReflectionCaptureSize ( TEXT("r.ReflectionCaptureResolution")  ,
128   
)

Size of all reflection captures. Reflection capture derived data versions must be changed if modifying this

◆ DEFINE_LOG_CATEGORY_STATIC()

DEFINE_LOG_CATEGORY_STATIC ( LogReflectionCaptureComponent  ,
Log  ,
All   
)

◆ GenerateEncodedHDRData()

void GenerateEncodedHDRData ( const TArray< uint8 > &  FullHDRData,
int32  CubemapSize,
TArray< uint8 > &  OutEncodedHDRData 
)

◆ IsEncodedHDRCubemapTextureRequired()

bool IsEncodedHDRCubemapTextureRequired ( EShaderPlatform  ShaderPlatform)

◆ RGBMEncode()

FColor RGBMEncode ( FLinearColor  Color,
float  MaxValueRGBM 
)

Variable Documentation

◆ CVarReflectionCaptureUpdateEveryFrame

TAutoConsoleVariable< int32 > CVarReflectionCaptureUpdateEveryFrame(TEXT("r.ReflectionCaptureUpdateEveryFrame"), 0,) ( TEXT("r.ReflectionCaptureUpdateEveryFrame")  ,
 
)