共用方式為


DirectXMath

目的

DirectXMath API 為 DirectX 應用程式通用的線性代數和圖形數學運算提供 SIMD 易記C++類型和函式。 程式庫透過 Visual C++ 編譯器中的 SSE、AVX 和 ARM-NEON 的內建支援,為 Windows 32 位元(x86)、Windows 64 位元(x64)和 ARM/ARM64 平台上的 Windows 提供優化版本。

對於 DirectXMath 新手的開發人員,您可以考慮在 directX 11 DirectX 11 / 的 DirectX Tool Kit 中使用 SimpleMath 包裝函式。

在本節中

主題 描述
DirectXMath 程式設計手冊
DirectXMath 提供針對 Windows 優化的數學解決方案。
DirectXMath 程式設計參考
本節包含 DirectXMath 連結庫的參考數據。

 

開發人員受眾

DirectXMath 函式庫專為 C++ 開發人員設計,適用於 Windows 的通用 Windows 平台應用程式、Xbox 遊戲和傳統型桌面應用程式。

取得 DirectXMath

DirectXMath 標頭隨附於 Visual Studio 2012 或更新版本的 Windows SDK 中,而且作為所有內嵌標頭,沒有任何 DLL 或靜態庫可連結。 它也可作為 NuGet上的套件。

DirectXMath 是在 GitHub 上託管的MIT 授權的 一個開放原始碼。