Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ToVector256< T >()

static Vector256< T > System.Runtime.Intrinsics.Vector128< T >.ToVector256< T > ( this Vector128< T > vector)
inlinestatic
Type Constraints
T :struct 

Definition at line 990 of file Vector128.cs.

990 : struct
991 {
992 ThrowHelper.ThrowForUnsupportedIntrinsicsVectorBaseType<T>();
993 Vector256<T> source = Vector256<T>.Zero;
994 Unsafe.As<Vector256<T>, Vector128<T>>(ref source) = vector;
995 return source;
996 }

References System.source, and System.Runtime.Intrinsics.Vector256< T >.Zero.