FShadowMap

The abstract base class of 1D and 2D shadow-maps.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/ShadowMap.h

Include

#include "ShadowMap.h"

Syntax

class FShadowMap : private FDeferredCleanupInterface

Remarks

The abstract base class of 1D and 2D shadow-maps.

Variables

Name Description

Public variable

TArray< FGuid >

 

LightGuids

The GUIDs of lights which this shadow-map stores.

Constructors

Name Description

Public function

FShadowMap()

Default constructor.

Public function

FShadowMap

(
    TArray< FGuid > InLightGuids
)

Destructors

Name Description

Public function Virtual

~FShadowMap()

Destructor.

Functions

Name Description

Public function

void

 

AddRef()

Reference counting.

Public function Virtual

void

 

AddReferencedObjects

(
    FReferenceCollector& Collector
)

Protected function Virtual

void

 

Cleanup()

Called when the light-map is no longer referenced. Should release the lightmap's resources.

Public function Const

bool

 

ContainsLight

(
    const FGuid& LightGuid
)

Checks if a light is stored in this shadow-map.

Public function Const

FShadowMapIn...

 

GetInteraction()

Public function Virtual

FShadowMap2D...

 

GetShadowMap2D()

Runtime type casting.

Public function Virtual Const

const FShado...

 

GetShadowMap2D()

Public function

void

 

Release()

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Constants

Name

Description

SMT_2D

SMT_None

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss