UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Chaos::FSpatialAccelerationCache Class Reference

#include <PBDRigidsEvolution.h>

+ Inheritance diagram for Chaos::FSpatialAccelerationCache:

Public Types

using THandleType = FSpatialAccelerationCacheHandle
 

Public Member Functions

 FSpatialAccelerationCache ()
 
 FSpatialAccelerationCache (const FSpatialAccelerationCache &)=delete
 
 FSpatialAccelerationCache (FSpatialAccelerationCache &&Other)
 
FSpatialAccelerationCacheoperator= (FSpatialAccelerationCache &&Other)
 
void AddElements (const int32 Num)
 
void DestroyElement (const int32 Idx)
 
bool HasBounds (const int32 Idx) const
 
boolHasBounds (const int32 Idx)
 
const FAABB3Bounds (const int32 Idx) const
 
FAABB3Bounds (const int32 Idx)
 
const FAccelerationStructureHandlePayload (const int32 Idx) const
 
FAccelerationStructureHandlePayload (const int32 Idx)
 
- Public Member Functions inherited from Chaos::TArrayCollection
 TArrayCollection ()
 
 TArrayCollection (const TArrayCollection &Other)=delete
 
 TArrayCollection (TArrayCollection &&Other)=delete
 
virtual ~TArrayCollection ()
 
void ShrinkArrays (const float MaxSlackFraction, const int32 MinSlack)
 
int32 AddArray (TArrayCollectionArrayBase *Array)
 
void RemoveArray (TArrayCollectionArrayBase *Array)
 
void RemoveAt (int32 Index, int32 Count)
 
uint32 Size () const
 
uint64 ComputeColumnSize () const
 

Additional Inherited Members

- Protected Member Functions inherited from Chaos::TArrayCollection
void AddElementsHelper (const int32 Num)
 
void ResizeHelper (const int32 Num)
 
void RemoveAtHelper (const int32 Index, const int32 Count)
 
void RemoveAtSwapHelper (const int32 Index)
 
void MoveToOtherArrayCollection (const int32 Index, TArrayCollection &Other)
 
- Protected Attributes inherited from Chaos::TArrayCollection
uint32 MSize
 

Detailed Description

The SOA cache used for a single acceleration structure

Member Typedef Documentation

◆ THandleType

Constructor & Destructor Documentation

◆ FSpatialAccelerationCache() [1/3]

Chaos::FSpatialAccelerationCache::FSpatialAccelerationCache ( )
inline

◆ FSpatialAccelerationCache() [2/3]

Chaos::FSpatialAccelerationCache::FSpatialAccelerationCache ( const FSpatialAccelerationCache )
delete

◆ FSpatialAccelerationCache() [3/3]

Chaos::FSpatialAccelerationCache::FSpatialAccelerationCache ( FSpatialAccelerationCache &&  Other)
inline

Member Function Documentation

◆ AddElements()

void Chaos::FSpatialAccelerationCache::AddElements ( const int32  Num)
inline

◆ Bounds() [1/2]

FAABB3 & Chaos::FSpatialAccelerationCache::Bounds ( const int32  Idx)
inline

◆ Bounds() [2/2]

const FAABB3 & Chaos::FSpatialAccelerationCache::Bounds ( const int32  Idx) const
inline

◆ DestroyElement()

void Chaos::FSpatialAccelerationCache::DestroyElement ( const int32  Idx)
inline

◆ HasBounds() [1/2]

bool & Chaos::FSpatialAccelerationCache::HasBounds ( const int32  Idx)
inline

◆ HasBounds() [2/2]

bool Chaos::FSpatialAccelerationCache::HasBounds ( const int32  Idx) const
inline

◆ operator=()

FSpatialAccelerationCache & Chaos::FSpatialAccelerationCache::operator= ( FSpatialAccelerationCache &&  Other)
inline

◆ Payload() [1/2]

FAccelerationStructureHandle & Chaos::FSpatialAccelerationCache::Payload ( const int32  Idx)
inline

◆ Payload() [2/2]

const FAccelerationStructureHandle & Chaos::FSpatialAccelerationCache::Payload ( const int32  Idx) const
inline

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