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

#include <PrimitiveSceneInfo.h>

Public Types

enum  { MaxElementsPerLeaf = 256 }
 
enum  { MinInclusiveElementsPerNode = 7 }
 
enum  { MaxNodeDepth = 12 }
 
typedef FDefaultAllocator ElementAllocator
 

Static Public Member Functions

static const FCompactBoxSphereBoundsGetBoundingBox (const FPrimitiveSceneInfoCompact &PrimitiveSceneInfoCompact)
 
static bool AreElementsEqual (const FPrimitiveSceneInfoCompact &A, const FPrimitiveSceneInfoCompact &B)
 
static void SetElementId (const FPrimitiveSceneInfoCompact &Element, FOctreeElementId2 Id)
 
static void ApplyOffset (FPrimitiveSceneInfoCompact &Element, FVector Offset)
 
static void SetOctreeNodeIndex (const FPrimitiveSceneInfoCompact &Element, FOctreeElementId2 Id)
 

Detailed Description

Defines how the primitive is stored in the scene's primitive octree.

Member Typedef Documentation

◆ ElementAllocator

Member Enumeration Documentation

◆ anonymous enum

Note: this is coupled to shadow gather task granularity, see r.ParallelGatherShadowPrimitives.

Enumerator
MaxElementsPerLeaf 

◆ anonymous enum

Enumerator
MinInclusiveElementsPerNode 

◆ anonymous enum

Enumerator
MaxNodeDepth 

Member Function Documentation

◆ ApplyOffset()

static void FPrimitiveOctreeSemantics::ApplyOffset ( FPrimitiveSceneInfoCompact Element,
FVector  Offset 
)
inlinestatic

◆ AreElementsEqual()

static bool FPrimitiveOctreeSemantics::AreElementsEqual ( const FPrimitiveSceneInfoCompact A,
const FPrimitiveSceneInfoCompact B 
)
inlinestatic

◆ GetBoundingBox()

static const FCompactBoxSphereBounds & FPrimitiveOctreeSemantics::GetBoundingBox ( const FPrimitiveSceneInfoCompact PrimitiveSceneInfoCompact)
inlinestatic

◆ SetElementId()

static void FPrimitiveOctreeSemantics::SetElementId ( const FPrimitiveSceneInfoCompact Element,
FOctreeElementId2  Id 
)
inlinestatic

◆ SetOctreeNodeIndex()

void FPrimitiveOctreeSemantics::SetOctreeNodeIndex ( const FPrimitiveSceneInfoCompact Element,
FOctreeElementId2  Id 
)
static

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