FPrimitiveFlagsCompact

Flags needed for shadow culling.

Windows
MacOS
Linux

References

Module

Renderer

Header

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

Include

#include "PrimitiveSceneInfo.h"

Syntax

struct FPrimitiveFlagsCompact

Remarks

Flags needed for shadow culling. These are pulled out of the FPrimitiveSceneProxy so we can do rough culling before dereferencing the proxy.

Variables

Name Description

Public variable

uint8: 1

 

bCastDynamicShadow

True if the primitive casts dynamic shadows.

Public variable

uint8: 1

 

bCastStaticShadow

True if the primitive casts static shadows.

Public variable

uint8: 1

 

bStaticLighting

True if the primitive will cache static lighting.

Constructors

Name Description

Public function

FPrimitiveFlagsCompact

(
    const FPrimitiveSceneProxy* Pr...
)

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