![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "Components/ReflectionCaptureComponent.h"#include "Misc/Compression.h"#include "UObject/Package.h"#include "RenderUtils.h"#include "UObject/ReflectionCaptureObjectVersion.h"#include "SceneInterface.h"#include "SceneProxies/ReflectionCaptureProxy.h"#include "UObject/UE5ReleaseStreamObjectVersion.h"#include "Stats/StatsTrace.h"#include "UObject/ConstructorHelpers.h"#include "Components/BillboardComponent.h"#include "Engine/CollisionProfile.h"#include "Engine/Texture2D.h"#include "PrimitiveDrawingUtils.h"#include "Engine/ReflectionCapture.h"#include "EngineModule.h"#include "Serialization/MemoryReader.h"#include "ShaderCompiler.h"#include "Engine/SphereReflectionCapture.h"#include "Components/SphereReflectionCaptureComponent.h"#include "Components/DrawSphereComponent.h"#include "Components/BoxReflectionCaptureComponent.h"#include "Engine/PlaneReflectionCapture.h"#include "Engine/BoxReflectionCapture.h"#include "EngineUtils.h"#include "Components/PlaneReflectionCaptureComponent.h"#include "Components/BoxComponent.h"#include "Engine/MapBuildDataRegistry.h"#include "Math/PackedVector.h"#include "GlobalRenderResources.h"#include "UObject/UObjectAnnotation.h"#include "DataDrivenShaderPlatformInfo.h"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< int32 > | CVarReflectionCaptureSize (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< int32 > | CVarReflectionCaptureUpdateEveryFrame (TEXT("r.ReflectionCaptureUpdateEveryFrame"), 0,) |
| #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 |
| #define EDGE_BOTTOM 3 |
| #define EDGE_LEFT 0 |
| #define EDGE_RIGHT 1 |
| #define EDGE_TOP 2 |
| #define FACE_X_NEG 1 |
| #define FACE_X_POS 0 |
| #define FACE_Y_NEG 3 |
| #define FACE_Y_POS 2 |
| #define FACE_Z_NEG 5 |
| #define FACE_Z_POS 4 |
| 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 | ( | LogReflectionCaptureComponent | , |
| Log | , | ||
| All | |||
| ) |
| void GenerateEncodedHDRData | ( | const TArray< uint8 > & | FullHDRData, |
| int32 | CubemapSize, | ||
| TArray< uint8 > & | OutEncodedHDRData | ||
| ) |
| bool IsEncodedHDRCubemapTextureRequired | ( | EShaderPlatform | ShaderPlatform | ) |
| FColor RGBMEncode | ( | FLinearColor | Color, |
| float | MaxValueRGBM | ||
| ) |
| TAutoConsoleVariable< int32 > CVarReflectionCaptureUpdateEveryFrame(TEXT("r.ReflectionCaptureUpdateEveryFrame"), 0,) | ( | TEXT("r.ReflectionCaptureUpdateEveryFrame") | , |
| 0 | |||
| ) |