Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FLightMap2D
Description
Executes all pending light-map encoding requests. Executes all pending light-map encoding requests.
| Name | EncodeTextures |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/LightMap.h |
| Include Path | #include "LightMap.h" |
| Source | /Engine/Source/Runtime/Engine/Private/LightMap.cpp |
static void EncodeTextures
(
const FStaticLightingBuildContext * LightingContext,
bool bLightingSuccessful,
bool bMultithreadedEncode
)
Parameters
| Name | Remarks |
|---|---|
| bLightingSuccessful | Whether the lighting build was successful or not. |
| bForceCompletion | Force all encoding to be fully completed (they may be asynchronous). |
| bLightingSuccessful | Whether the lighting build was successful or not. |
| bMultithreadedEncode | encode textures on different threads ;) |