Navigation
API > API/Runtime > API/Runtime/Engine
Inheritance Hierarchy
- FDeferredCleanupInterface
- FShadowMap
- FShadowMap2D
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/ShadowMap.h |
| Include | #include "ShadowMap.h" |
Syntax
class FShadowMap2D : public FShadowMap
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool[4] | bChannelValid | Tracks which of the 4 channels has valid texture data. | |
| FVector2D | CoordinateBias | The bias which is applied to the shadow-map coordinates before sampling the shadow-map textures. | |
| FVector2D | CoordinateScale | The scale which is applied to the shadow-map coordinates before sampling the shadow-map textures. | |
| FVector4f | InvUniformPenumbraSize | Stores the inverse of the penumbra size, normalized. | |
| TObjectPtr< UShadowMapTexture2D > | Texture | The texture which contains the shadow-map data. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FShadowMap2D () |
|||
FShadowMap2D
(
const TMap< ULightComponent*, FShadowMapData2D* >& ShadowMapData |
|||
FShadowMap2D
(
TArray< FGuid > LightGuids |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TRefCountPtr< FShadowMap2D > | AllocateInstancedShadowMap
(
UObject* LightMapOuter, |
Allocates texture space for the shadow-map and stores the shadow-map's raw data for deferred encoding. | |
| TRefCountPtr< FShadowMap2D > | AllocateShadowMap
(
UObject* LightMapOuter, |
||
| int32 | EncodeSingleTexture
(
ULevel* LightingScenario, |
Constructs mip maps for a single shadowmap texture. | |
| void | EncodeTextures
(
UWorld* InWorld, |
Executes all pending shadow-map encoding requests. | |
| const FVector2D & | |||
| const FVector2D & | |||
| bool | |||
| const UTexture2D * | GetTexture () |
Accessors. | |
| UTexture2D * | GetTexture () |
Accessors. | |
| bool | |||
| bool | IsValid () |
||
| void | SetStatusUpdate
(
bool bInEnable |
Call to enable/disable status update of LightMap encoding |
Overridden from FShadowMap
| Type | Name | Description | |
|---|---|---|---|
| void | AddReferencedObjects
(
FReferenceCollector& Collector |
||
| FShadowMapInteraction | |||
| const FShadowMap2D * | |||
| FShadowMap2D * | Runtime type casting. | ||
| void |
Constants
| Name | Description |
|---|---|
| bUpdateStatus | If true, update the status when encoding light maps |