Navigation
API > API/Runtime > API/Runtime/ChaosCore
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);
| Name | TSimdSelector |
| Type | struct |
| Header File | /Engine/Source/Runtime/Experimental/ChaosCore/Public/Chaos/SimdTypes.h |
| Include Path | #include "Chaos/SimdTypes.h" |
Syntax
template<int TNumLanes>
struct TSimdSelector
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| V | float | Chaos/SimdTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSimdSelector< 4 > False () |
Chaos/Simd4.h | ||
bool GetValue
(
const int LaneIndex |
Chaos/SimdTypes.h | ||
void SetValue
(
const int LaneIndex, |
Chaos/SimdTypes.h | ||
TSimdSelector< 4 > True () |
4-wide template specializations | Chaos/Simd4.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSimdSelector< TNumLanes > False () |
Chaos/SimdTypes.h | ||
static TSimdSelector< TNumLanes > True () |
Chaos/SimdTypes.h |