FShadowMap

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

Windows
MacOS
Linux

Inheritance Hierarchy

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

References

Module

Engine

Header

Runtime/Engine/Public/ShadowMap.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback