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

#include <SceneManagement.h>

Public Member Functions

 FLODMask ()
 
bool IsValid () const
 
void SetLOD (uint32 LODIndex)
 
void SetLODSample (uint32 LODIndex, uint32 SampleIndex)
 
void SetLODRange (uint32 MinLODIndex, uint32 MaxLODIndex)
 
void ClampToFirstLOD (uint32 FirstLODIdx)
 
bool IsDithered () const
 
bool IsLODRange () const
 
bool ContainsLOD (int32 LODIndex) const
 
bool IsMinLODInRange (int32 LODIndex) const
 
bool IsMaxLODInRange (int32 LODIndex) const
 
int8 GetRayTracedLOD () const
 

Public Attributes

uint16 LODIndex0: 7
 
uint16 LODIndex1: 7
 
uint16 bIsValid: 1
 
uint16 bIsRange: 1
 

Detailed Description

Contains LODs to render. Interpretation of LODIndex0 and LODIndex1 depends on flags. By default the two LODs are the ones used in a dithered LOD transition. But they also be interpreted as the start and end of a range where we submit multiple LODs and select/cull on GPU.

Constructor & Destructor Documentation

◆ FLODMask()

FLODMask::FLODMask ( )
inline

Member Function Documentation

◆ ClampToFirstLOD()

void FLODMask::ClampToFirstLOD ( uint32  FirstLODIdx)
inline

◆ ContainsLOD()

bool FLODMask::ContainsLOD ( int32  LODIndex) const
inline

◆ GetRayTracedLOD()

int8 FLODMask::GetRayTracedLOD ( ) const
inline

◆ IsDithered()

bool FLODMask::IsDithered ( ) const
inline

◆ IsLODRange()

bool FLODMask::IsLODRange ( ) const
inline

◆ IsMaxLODInRange()

bool FLODMask::IsMaxLODInRange ( int32  LODIndex) const
inline

◆ IsMinLODInRange()

bool FLODMask::IsMinLODInRange ( int32  LODIndex) const
inline

◆ IsValid()

bool FLODMask::IsValid ( ) const
inline

◆ SetLOD()

void FLODMask::SetLOD ( uint32  LODIndex)
inline

◆ SetLODRange()

void FLODMask::SetLODRange ( uint32  MinLODIndex,
uint32  MaxLODIndex 
)
inline

◆ SetLODSample()

void FLODMask::SetLODSample ( uint32  LODIndex,
uint32  SampleIndex 
)
inline

Member Data Documentation

◆ bIsRange

uint16 FLODMask::bIsRange

◆ bIsValid

uint16 FLODMask::bIsValid

◆ LODIndex0

uint16 FLODMask::LODIndex0

◆ LODIndex1

uint16 FLODMask::LODIndex1

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