Vector.StoreUnsafe Method

Definition

Overloads

StoreUnsafe(Vector2, Single)

C#
public static void StoreUnsafe(this System.Numerics.Vector2 source, ref float destination);

Parameters

source
Vector2
destination
Single

Applies to

.NET 10
Product Versions
.NET 10

StoreUnsafe(Vector3, Single)

C#
public static void StoreUnsafe(this System.Numerics.Vector3 source, ref float destination);

Parameters

source
Vector3
destination
Single

Applies to

.NET 10
Product Versions
.NET 10

StoreUnsafe(Vector4, Single)

C#
public static void StoreUnsafe(this System.Numerics.Vector4 source, ref float destination);

Parameters

source
Vector4
destination
Single

Applies to

.NET 10
Product Versions
.NET 10

StoreUnsafe(Vector2, Single, UIntPtr)

Important

This API is not CLS-compliant.

C#
[System.CLSCompliant(false)]
public static void StoreUnsafe(this System.Numerics.Vector2 source, ref float destination, UIntPtr elementOffset);

Parameters

source
Vector2
destination
Single
elementOffset
UIntPtr
Attributes

Applies to

.NET 10
Product Versions
.NET 10

StoreUnsafe(Vector3, Single, UIntPtr)

Important

This API is not CLS-compliant.

C#
[System.CLSCompliant(false)]
public static void StoreUnsafe(this System.Numerics.Vector3 source, ref float destination, UIntPtr elementOffset);

Parameters

source
Vector3
destination
Single
elementOffset
UIntPtr
Attributes

Applies to

.NET 10
Product Versions
.NET 10

StoreUnsafe(Vector4, Single, UIntPtr)

Important

This API is not CLS-compliant.

C#
[System.CLSCompliant(false)]
public static void StoreUnsafe(this System.Numerics.Vector4 source, ref float destination, UIntPtr elementOffset);

Parameters

source
Vector4
destination
Single
elementOffset
UIntPtr
Attributes

Applies to

.NET 10
Product Versions
.NET 10

StoreUnsafe<T>(Vector<T>, T)

Source:
Vector.cs
Source:
Vector.cs

Stores a vector at the given destination.

C#
public static void StoreUnsafe<T>(this System.Numerics.Vector<T> source, ref T destination);

Type Parameters

T

The type of the elements in the vector.

Parameters

source
Vector<T>

The vector that will be stored.

destination
T

The destination at which source will be stored.

Exceptions

The type of source (T) is not supported.

Applies to

.NET 10 and other versions
Product Versions
.NET 8, 9, 10

StoreUnsafe<T>(Vector<T>, T, UIntPtr)

Source:
Vector.cs
Source:
Vector.cs

Important

This API is not CLS-compliant.

Stores a vector at the given destination.

C#
[System.CLSCompliant(false)]
public static void StoreUnsafe<T>(this System.Numerics.Vector<T> source, ref T destination, UIntPtr elementOffset);

Type Parameters

T

The type of the elements in the vector.

Parameters

source
Vector<T>

The vector that will be stored.

destination
T

The destination to which elementOffset will be added before the vector will be stored.

elementOffset
UIntPtr

The element offset from destination from which the vector will be stored.

Attributes

Exceptions

The type of source (T) is not supported.

Applies to

.NET 10 and other versions
Product Versions
.NET 8, 9, 10