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

◆ AsVector256< T >()

static Vector256< T > System.Runtime.Intrinsics.Vector256< T >.AsVector256< T > ( this Vector< T > value)
inlinestatic
Type Constraints
T :struct 

Definition at line 89 of file Vector256.cs.

89 : struct
90 {
91 ThrowHelper.ThrowForUnsupportedIntrinsicsVectorBaseType<T>();
92 Vector256<T> source = default(Vector256<T>);
93 Unsafe.WriteUnaligned(ref Unsafe.As<Vector256<T>, byte>(ref source), value);
94 return source;
95 }

References System.source, and System.value.