Freigeben über


Windows-Numerische und DirectXMath-Interop-APIs

Diese Funktionen konvertieren Windows.Foundation.Numerics-Typen in und aus den DirectXMath SIMD-Typen XMVECTOR und XMMATRIX.

Functions

Name BESCHREIBUNG
XMVECTOR XMLoadFloat2(_In_ float2 const* pSource) Lädt einen float2-Wert in einen DirectXMath XMVECTOR.
XMVECTOR XMLoadFloat3(_In_ float3 const* pSource) Lädt einen float3-Wert in einen DirectXMath XMVECTOR.
XMVECTOR XMLoadFloat4(_In_ float4 const* pSource) Lädt einen float4 in einen DirectXMath XMVECTOR.
XMMATRIX XMLoadFloat3x2(_In_ float3x2 const* pSource) Lädt eine float3x2 in eine DirectXMath XMMATRIX.
XMMATRIX XMLoadFloat4x4(_In_ float4x4 const* pSource) Lädt eine float4x4 in eine DirectXMath XMMATRIX.
XMVECTOR XMLoadPlane(_In_ plane const* pSource) Lädt eine Ebene in eine DirectXMath XMMATRIX.
XMVECTOR XMLoadQuaternion(_In_ quaternion const* pSource) Lädt eine Quaternion in eine DirectXMath XMMATRIX.
void XMStoreFloat2(_Out_ float2* pDestination, _In_ FXMVECTOR value) Speichert einen DirectXMath XMVECTOR in einer float2.
void XMStoreFloat3(_Out_ float3* pDestination, _In_ FXMVECTOR value) Speichert einen DirectXMath XMVECTOR in einer float3.
void XMStoreFloat4(_Out_ float4* pDestination, _In_ FXMVECTOR value) Speichert einen DirectXMath XMVECTOR in einem float4.
void XMStoreFloat3x2(_Out_ float3x2* pDestination, _In_ FXMMATRIX value) Speichert eine DirectXMath XMMATRIX in einer float3x2.
void XMStoreFloat4x4(_Out_ float4x4* pDestination, _In_ FXMMATRIX value) Speichert eine DirectXMath XMMATRIX in einer float4x4.
void XMStorePlane(_Out_ plane* pDestination, _In_ FXMVECTOR value) Speichert einen DirectXMath XMVECTOR in einer Ebene.
void XMStoreQuaternion(_Out_ quaternion* pDestination, _In_ FXMVECTOR value) Speichert einen DirectXMath XMVECTOR in einer Quaternion.

Anforderungen

Anforderung Wert
Namespace DirectX
Header
Windowsnumerics.h

Weitere Informationen

windowsnumerics.h-APIs