Navigation
API > API/Runtime > API/Runtime/Engine
The abstract base class of 1D and 2D shadow-maps.
| Name | FShadowMap |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/ShadowMap.h |
| Include Path | #include "ShadowMap.h" |
Syntax
class FShadowMap : private FDeferredCleanupInterface
Inheritance Hierarchy
- FDeferredCleanupInterface → FShadowMap
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FShadowMap () |
Default constructor. | ShadowMap.h | |
FShadowMap
(
TArray< FGuid > InLightGuids |
ShadowMap.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FShadowMap() |
Destructor. | ShadowMap.h |
Enums
Public
| Name | Remarks |
|---|---|
| FShadowMap |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LightGuids | TArray< FGuid > | The GUIDs of lights which this shadow-map stores. | ShadowMap.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| NumRefs | int32 | ShadowMap.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddRef() |
Reference counting. | ShadowMap.h | |
virtual void AddReferencedObjects
(
FReferenceCollector& Collector |
ShadowMap.h | ||
bool ContainsLight
(
const FGuid& LightGuid |
Checks if a light is stored in this shadow-map. | ShadowMap.h | |
FShadowMapInteraction GetInteraction() |
ShadowMap.h | ||
virtual FShadowMap2D * GetShadowMap2D () |
Runtime type casting. | ShadowMap.h | |
virtual const FShadowMap2D * GetShadowMap2D () |
ShadowMap.h | ||
void Release() |
ShadowMap.h | ||
virtual void Serialize
(
FArchive& Ar |
ShadowMap.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Cleanup() |
Called when the light-map is no longer referenced. Should release the lightmap's resources. | ShadowMap.h |