UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Chaos::Private::TSimdSelector< TNumLanes > Struct Template Reference

#include <SimdTypes.h>

Public Member Functions

FORCEINLINE void SetValue (const int LaneIndex, bool B)
 
FORCEINLINE bool GetValue (const int LaneIndex) const
 
FORCEINLINE TSimdSelector< 4 > True ()
 
FORCEINLINE TSimdSelector< 4 > False ()
 

Static Public Member Functions

static TSimdSelector< TNumLanes > True ()
 
static TSimdSelector< TNumLanes > False ()
 

Public Attributes

float V [TNumLanes]
 

Detailed Description

template<int TNumLanes>
struct Chaos::Private::TSimdSelector< TNumLanes >

The result of Simd comparison operations and used in SimdSelect.

// Replace any non-positive values in R0 with the value from R1 FSim4Selector IsR0GreaterThanZero = SimdGreater(R0, FSimd4Realf::Zero()); R0 = SimdSelect(IsV0GreaterThanZero, R0, R1);

Member Function Documentation

◆ False() [1/2]

◆ False() [2/2]

template<int TNumLanes>
static TSimdSelector< TNumLanes > Chaos::Private::TSimdSelector< TNumLanes >::False ( )
static

◆ GetValue()

template<int TNumLanes>
FORCEINLINE bool Chaos::Private::TSimdSelector< TNumLanes >::GetValue ( const int  LaneIndex) const
inline

◆ SetValue()

template<int TNumLanes>
FORCEINLINE void Chaos::Private::TSimdSelector< TNumLanes >::SetValue ( const int  LaneIndex,
bool  B 
)
inline

◆ True() [1/2]

◆ True() [2/2]

template<int TNumLanes>
static TSimdSelector< TNumLanes > Chaos::Private::TSimdSelector< TNumLanes >::True ( )
static

Member Data Documentation

◆ V

template<int TNumLanes>
float Chaos::Private::TSimdSelector< TNumLanes >::V[TNumLanes]

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