FShadowMapData2D

The raw data which is used to construct a 2D shadowmap.

Windows
MacOS
Linux

Inheritance Hierarchy

Syntax

class FShadowMapData2D

Remarks

The raw data which is used to construct a 2D shadowmap.

Variables

Name Description

Protected variable

uint32

 

SizeX

The width of the shadow-map.

Protected variable

uint32

 

SizeY

The height of the shadow-map.

Constructors

Name Description

Protected function

FShadowMapData2D

(
    uint32 InSizeX,
    uint32 InSizeY
)

Destructors

Name Description

Public function Virtual

~FShadowMapData2D()

Functions

Name Description

Public function Const

uint32

 

GetSizeX()

Accessors.

Public function Const

uint32

 

GetSizeY()

Public function Virtual Const

float

 

GetSurfaceHeight()

Public function Virtual Const

float

 

GetSurfaceWidth()

Public function Virtual Const

ShadowMapDat...

 

GetType()

Public function Virtual Const

void

 

Quantize

Public function Virtual

void

 

Serialize

(
    FArchive* OutShadowMap
)

Enums

Name

Description

Public enum

ShadowMapDataType

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