UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FPrimitiveFlagsCompact Struct Reference

#include <PrimitiveSceneInfo.h>

Public Member Functions

 FPrimitiveFlagsCompact (const FPrimitiveSceneProxy *Proxy)
 

Public Attributes

uint8 bCastDynamicShadow: 1
 
uint8 bStaticLighting: 1
 
uint8 bCastStaticShadow: 1
 
uint8 bIsNaniteMesh: 1
 
uint8 bIsAlwaysVisible: 1
 
uint8 bSupportsGPUScene: 1
 

Detailed Description

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

Constructor & Destructor Documentation

◆ FPrimitiveFlagsCompact()

FPrimitiveFlagsCompact::FPrimitiveFlagsCompact ( const FPrimitiveSceneProxy Proxy)

Member Data Documentation

◆ bCastDynamicShadow

uint8 FPrimitiveFlagsCompact::bCastDynamicShadow

True if the primitive casts dynamic shadows.

◆ bCastStaticShadow

uint8 FPrimitiveFlagsCompact::bCastStaticShadow

True if the primitive casts static shadows.

◆ bIsAlwaysVisible

uint8 FPrimitiveFlagsCompact::bIsAlwaysVisible

True if the primitive is always visible.

◆ bIsNaniteMesh

uint8 FPrimitiveFlagsCompact::bIsNaniteMesh

True if the primitive is a Nanite mesh.

◆ bStaticLighting

uint8 FPrimitiveFlagsCompact::bStaticLighting

True if the primitive will cache static lighting.

◆ bSupportsGPUScene

uint8 FPrimitiveFlagsCompact::bSupportsGPUScene

True if the primitive draws only meshes that support GPU-Scene.


The documentation for this struct was generated from the following files: