FIndirectLightingCacheAllocation

Data used to track a primitive's allocation in the volume texture atlas that stores indirect lighting.

Windows
MacOS
Linux

References

Module

Renderer

Header

/Engine/Source/Runtime/Renderer/Public/PrimitiveSceneInfo.h

Include

#include "PrimitiveSceneInfo.h"

Syntax

class FIndirectLightingCacheAllocation

Remarks

Data used to track a primitive's allocation in the volume texture atlas that stores indirect lighting.

Variables

Name Description

Public variable

FVector

 

Add

Add factor for calculating UVs from position.

Public variable

int32

 

AllocationTexelSize

Size in texels of the allocation into the volume texture atlas.

Public variable

bool

 

bHasEverUpdatedSingleSample

Whether SingleSamplePacked has ever been populated with valid results, used to initialize.

Public variable

bool

 

bIsDirty

Whether the primitive allocation is dirty and should be updated regardless of having moved.

Public variable

bool

 

bPointSample

Whether this allocation is a point sample and therefore was not put into the volume texture atlas.

Public variable

bool

 

bUnbuiltPreview

Public variable

float

 

CurrentDirectionalShadowing

Current shadowing of the stationary directional light.

Public variable

FVector4

 

CurrentSkyBentNormal

Current directional occlusion of the sky.

Public variable

FVector

 

MaxUV

Used to clamp lookup UV to a valid range for pixels outside the object's bounding box.

Public variable

FIntVector

 

MinTexel

Block index in the volume texture atlas, can represent unallocated.

Public variable

FVector

 

MinUV

Used to clamp lookup UV to a valid range for pixels outside the object's bounding box.

Public variable

FVector

 

Scale

Scale factor for calculating UVs from position.

Public variable

FVector4[3]

 

SingleSamplePacked0

Current SH sample used when lighting the entire object with one sample.

Public variable

FVector4[3]

 

SingleSamplePacked1

Public variable

FVector4

 

SingleSamplePacked2

Public variable

FVector

 

SingleSamplePosition

Current position of the single lighting sample. Used for interpolation over time.

Public variable

float

 

TargetDirectionalShadowing

Target shadowing of the stationary directional light.

Public variable

FVector

 

TargetPosition

Position at the new single lighting sample. Used for interpolation over time.

Public variable

FVector4[3]

 

TargetSamplePacked0

SH sample at the new single lighting sample position. Used for interpolation over time.

Public variable

FVector4[3]

 

TargetSamplePacked1

Public variable

FVector4

 

TargetSamplePacked2

Public variable

FVector4

 

TargetSkyBentNormal

Target directional occlusion of the sky.

Constructors

Functions

Name Description

Public function Const

bool

 

IsValid()

Public function

void

 

SetDirty()

Public function

void

 

SetParameters

(
    FIntVector InMinTexel,
    int32 InAllocationTexelSize,
    FVector InScale,
    FVector InAdd,
    FVector InMinUV,
    FVector InMaxUV,
    bool bInPointSample,
    bool bInUnbuiltPreview
)

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