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

◆ ToVector256Unsafe< T >()

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

Definition at line 999 of file Vector128.cs.

999 : struct
1000 {
1001 ThrowHelper.ThrowForUnsupportedIntrinsicsVectorBaseType<T>();
1002 byte* source = stackalloc byte[32];
1003 Unsafe.AsRef<Vector128<T>>(source) = vector;
1004 return Unsafe.AsRef<Vector256<T>>(source);
1005 }

References System.source.