语言

Vector.StoreUnsafe 方法

定义

重载

名称 说明
StoreUnsafe(Vector2, Single)

将向量存储在给定的目标处。

StoreUnsafe(Vector3, Single)

将向量存储在给定的目标处。

StoreUnsafe(Vector4, Single)

将向量存储在给定的目标处。

StoreUnsafe(Vector2, Single, UIntPtr)

将向量存储在给定的目标处。

StoreUnsafe(Vector3, Single, UIntPtr)

将向量存储在给定的目标处。

StoreUnsafe(Vector4, Single, UIntPtr)

将向量存储在给定的目标处。

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

将向量存储在给定的目标处。

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

将向量存储在给定的目标处。

StoreUnsafe(Vector2, Single)

Source:
Vector2.Extensions.cs
Source:
Vector2.Extensions.cs

将向量存储在给定的目标处。

public:
[System::Runtime::CompilerServices::Extension]
 static void StoreUnsafe(System::Numerics::Vector2 source, float % destination);
public static void StoreUnsafe(this System.Numerics.Vector2 source, ref float destination);
static member StoreUnsafe : System.Numerics.Vector2 * single -> unit
<Extension()>
Public Sub StoreUnsafe (source As Vector2, ByRef destination As Single)

参数

source
Vector2

要存储的向量。

destination
Single

将存储到的目标 source 。

适用于

StoreUnsafe(Vector3, Single)

Source:
Vector3.Extensions.cs
Source:
Vector3.Extensions.cs

将向量存储在给定的目标处。

public:
[System::Runtime::CompilerServices::Extension]
 static void StoreUnsafe(System::Numerics::Vector3 source, float % destination);
public static void StoreUnsafe(this System.Numerics.Vector3 source, ref float destination);
static member StoreUnsafe : System.Numerics.Vector3 * single -> unit
<Extension()>
Public Sub StoreUnsafe (source As Vector3, ByRef destination As Single)

参数

source
Vector3

要存储的向量。

destination
Single

将存储到的目标 source 。

适用于

StoreUnsafe(Vector4, Single)

Source:
Vector4.Extensions.cs
Source:
Vector4.Extensions.cs

将向量存储在给定的目标处。

public:
[System::Runtime::CompilerServices::Extension]
 static void StoreUnsafe(System::Numerics::Vector4 source, float % destination);
public static void StoreUnsafe(this System.Numerics.Vector4 source, ref float destination);
static member StoreUnsafe : System.Numerics.Vector4 * single -> unit
<Extension()>
Public Sub StoreUnsafe (source As Vector4, ByRef destination As Single)

参数

source
Vector4

要存储的向量。

destination
Single

将存储到的目标 source 。

适用于

StoreUnsafe(Vector2, Single, UIntPtr)

Source:
Vector2.Extensions.cs
Source:
Vector2.Extensions.cs

重要

此 API 不符合 CLS。

将向量存储在给定的目标处。

public:
[System::Runtime::CompilerServices::Extension]
 static void StoreUnsafe(System::Numerics::Vector2 source, float % destination, UIntPtr elementOffset);
[System.CLSCompliant(false)]
public static void StoreUnsafe(this System.Numerics.Vector2 source, ref float destination, UIntPtr elementOffset);
[<System.CLSCompliant(false)>]
static member StoreUnsafe : System.Numerics.Vector2 * single * unativeint -> unit
<Extension()>
Public Sub StoreUnsafe (source As Vector2, ByRef destination As Single, elementOffset As UIntPtr)

参数

source
Vector2

要存储的向量。

destination
Single

在存储向量之前将添加到的目标 elementOffset 。

elementOffset
UIntPtr

unativeint

将从中存储矢量的元素偏移量 destination 。

特性

适用于

StoreUnsafe(Vector3, Single, UIntPtr)

Source:
Vector3.Extensions.cs
Source:
Vector3.Extensions.cs

重要

此 API 不符合 CLS。

将向量存储在给定的目标处。

public:
[System::Runtime::CompilerServices::Extension]
 static void StoreUnsafe(System::Numerics::Vector3 source, float % destination, UIntPtr elementOffset);
[System.CLSCompliant(false)]
public static void StoreUnsafe(this System.Numerics.Vector3 source, ref float destination, UIntPtr elementOffset);
[<System.CLSCompliant(false)>]
static member StoreUnsafe : System.Numerics.Vector3 * single * unativeint -> unit
<Extension()>
Public Sub StoreUnsafe (source As Vector3, ByRef destination As Single, elementOffset As UIntPtr)

参数

source
Vector3

要存储的向量。

destination
Single

在存储向量之前将添加到的目标 elementOffset 。

elementOffset
UIntPtr

unativeint

将从中存储矢量的元素偏移量 destination 。

特性

适用于

StoreUnsafe(Vector4, Single, UIntPtr)

Source:
Vector4.Extensions.cs
Source:
Vector4.Extensions.cs

重要

此 API 不符合 CLS。

将向量存储在给定的目标处。

public:
[System::Runtime::CompilerServices::Extension]
 static void StoreUnsafe(System::Numerics::Vector4 source, float % destination, UIntPtr elementOffset);
[System.CLSCompliant(false)]
public static void StoreUnsafe(this System.Numerics.Vector4 source, ref float destination, UIntPtr elementOffset);
[<System.CLSCompliant(false)>]
static member StoreUnsafe : System.Numerics.Vector4 * single * unativeint -> unit
<Extension()>
Public Sub StoreUnsafe (source As Vector4, ByRef destination As Single, elementOffset As UIntPtr)

参数

source
Vector4

要存储的向量。

destination
Single

在存储向量之前将添加到的目标 elementOffset 。

elementOffset
UIntPtr

unativeint

将从中存储矢量的元素偏移量 destination 。

特性

适用于

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

Source:
Vector.cs
Source:
Vector.cs
Source:
Vector.cs
Source:
Vector.cs

将向量存储在给定的目标处。

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static void StoreUnsafe(System::Numerics::Vector<T> source, T % destination);
public static void StoreUnsafe<T>(this System.Numerics.Vector<T> source, ref T destination);
static member StoreUnsafe : System.Numerics.Vector<'T> * 'T -> unit
<Extension()>
Public Sub StoreUnsafe(Of T) (source As Vector(Of T), ByRef destination As T)

类型参数

T

向量中的元素的类型。

参数

source
Vector<T>

要存储的向量。

destination
T

将存储到的目标 source 。

例外

不支持 > 的类型。

适用于

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

Source:
Vector.cs
Source:
Vector.cs
Source:
Vector.cs
Source:
Vector.cs

重要

此 API 不符合 CLS。

将向量存储在给定的目标处。

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static void StoreUnsafe(System::Numerics::Vector<T> source, T % destination, UIntPtr elementOffset);
[System.CLSCompliant(false)]
public static void StoreUnsafe<T>(this System.Numerics.Vector<T> source, ref T destination, UIntPtr elementOffset);
[<System.CLSCompliant(false)>]
static member StoreUnsafe : System.Numerics.Vector<'T> * 'T * unativeint -> unit
<Extension()>
Public Sub StoreUnsafe(Of T) (source As Vector(Of T), ByRef destination As T, elementOffset As UIntPtr)

类型参数

T

向量中的元素的类型。

参数

source
Vector<T>

要存储的向量。

destination
T

在存储向量之前将添加到的目标 elementOffset 。

elementOffset
UIntPtr

unativeint

将从中存储矢量的元素偏移量 destination 。

特性

例外

不支持 > 的类型。

适用于