Vector.Store Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Store(Vector2, Single*) | |
Store(Vector3, Single*) | |
Store(Vector4, Single*) | |
Store<T>(Vector<T>, T*) |
Stores a vector at the given destination. |
Store(Vector2, Single*)
Important
This API is not CLS-compliant.
public:
[System::Runtime::CompilerServices::Extension]
static void Store(System::Numerics::Vector2 source, float* destination);
[System.CLSCompliant(false)]
public static void Store(this System.Numerics.Vector2 source, float* destination);
[<System.CLSCompliant(false)>]
static member Store : System.Numerics.Vector2 * nativeptr<single> -> unit
Parameters
- source
- Vector2
- destination
- Single*
- Attributes
Applies to
Store(Vector3, Single*)
Important
This API is not CLS-compliant.
public:
[System::Runtime::CompilerServices::Extension]
static void Store(System::Numerics::Vector3 source, float* destination);
[System.CLSCompliant(false)]
public static void Store(this System.Numerics.Vector3 source, float* destination);
[<System.CLSCompliant(false)>]
static member Store : System.Numerics.Vector3 * nativeptr<single> -> unit
Parameters
- source
- Vector3
- destination
- Single*
- Attributes
Applies to
Store(Vector4, Single*)
Important
This API is not CLS-compliant.
public:
[System::Runtime::CompilerServices::Extension]
static void Store(System::Numerics::Vector4 source, float* destination);
[System.CLSCompliant(false)]
public static void Store(this System.Numerics.Vector4 source, float* destination);
[<System.CLSCompliant(false)>]
static member Store : System.Numerics.Vector4 * nativeptr<single> -> unit
Parameters
- source
- Vector4
- destination
- Single*
- Attributes
Applies to
Store<T>(Vector<T>, T*)
- Source:
- Vector.cs
- Source:
- Vector.cs
Important
This API is not CLS-compliant.
Stores a vector at the given destination.
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static void Store(System::Numerics::Vector<T> source, T* destination);
[System.CLSCompliant(false)]
public static void Store<T>(this System.Numerics.Vector<T> source, T* destination);
[<System.CLSCompliant(false)>]
static member Store : System.Numerics.Vector<'T> * nativeptr<'T> -> unit
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.
- Attributes
Exceptions
The type of source
(T
) is not supported.