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

#include <SimdTypes.h>

Public Types

using ValueType = T
 

Public Member Functions

FORCEINLINE void SetValue (const int32 LaneIndex, const ValueType F)
 
FORCEINLINE ValueType GetValue (const int32 LaneIndex) const
 
FORCEINLINE void SetValues (const ValueType F)
 

Public Attributes

ValueType V [TNumLanes]
 

Detailed Description

template<typename T, int TNumLanes>
struct Chaos::Private::TSimdValue< T, TNumLanes >

Used to store any value type in a TNumLanes-wide set. This is used primarily whenyou have non-numeric data that varies per lane. E.g., a pointer to some per-lane shared data.

Member Typedef Documentation

◆ ValueType

template<typename T , int TNumLanes>
using Chaos::Private::TSimdValue< T, TNumLanes >::ValueType = T

Member Function Documentation

◆ GetValue()

template<typename T , int TNumLanes>
FORCEINLINE ValueType Chaos::Private::TSimdValue< T, TNumLanes >::GetValue ( const int32  LaneIndex) const
inline

◆ SetValue()

template<typename T , int TNumLanes>
FORCEINLINE void Chaos::Private::TSimdValue< T, TNumLanes >::SetValue ( const int32  LaneIndex,
const ValueType  F 
)
inline

◆ SetValues()

template<typename T , int TNumLanes>
FORCEINLINE void Chaos::Private::TSimdValue< T, TNumLanes >::SetValues ( const ValueType  F)
inline

Member Data Documentation

◆ V

template<typename T , int TNumLanes>
ValueType Chaos::Private::TSimdValue< T, TNumLanes >::V[TNumLanes]

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