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

#include <OIT.h>

Public Member Functions

void Allocate (FRHICommandListBase &RHICmdList, EPrimitiveType PrimitiveType, const FMeshBatchElement &InMeshElement, FMeshBatchElementDynamicIndexBuffer &OutMeshElement)
 
void Deallocate (FMeshBatchElement &OutMeshElement)
 

Public Attributes

TArray< FSortedTriangleDataAllocations
 
TArray< FSortedIndexBuffer * > FreeBuffers
 
TQueue< FSortedIndexBuffer * > PendingDeletes
 
TQueue< uint32FreeSlots
 
uint32 FrameIndex = 0
 

Member Function Documentation

◆ Allocate()

void FOITSceneData::Allocate ( FRHICommandListBase RHICmdList,
EPrimitiveType  PrimitiveType,
const FMeshBatchElement InMeshElement,
FMeshBatchElementDynamicIndexBuffer OutMeshElement 
)

◆ Deallocate()

void FOITSceneData::Deallocate ( FMeshBatchElement OutMeshElement)

Member Data Documentation

◆ Allocations

TArray<FSortedTriangleData> FOITSceneData::Allocations

◆ FrameIndex

uint32 FOITSceneData::FrameIndex = 0

◆ FreeBuffers

TArray<FSortedIndexBuffer*> FOITSceneData::FreeBuffers

◆ FreeSlots

TQueue<uint32> FOITSceneData::FreeSlots

◆ PendingDeletes

TQueue<FSortedIndexBuffer*> FOITSceneData::PendingDeletes

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