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

◆ ToVector128Unsafe< T >()

static unsafe Vector128< T > System.Runtime.Intrinsics.Vector64< T >.ToVector128Unsafe< T > ( this Vector64< T > vector)
inlinestatic
Type Constraints
T :struct 

Definition at line 567 of file Vector64.cs.

567 : struct
568 {
569 ThrowHelper.ThrowForUnsupportedIntrinsicsVectorBaseType<T>();
570 byte* source = stackalloc byte[16];
571 Unsafe.AsRef<Vector64<T>>(source) = vector;
572 return Unsafe.AsRef<Vector128<T>>(source);
573 }

References System.source.