Επεξεργασία

Κοινή χρήση μέσω


DirectXMath

Purpose

The DirectXMath API provides SIMD-friendly C++ types and functions for common linear algebra and graphics math operations common to DirectX applications. The library provides optimized versions for Windows 32-bit (x86), Windows 64-bit (x64), and Windows on ARM/ARM64 through SSE, AVX, and ARM-NEON intrinsics support in the Visual C++ compiler.

For developers new to DirectXMath, you may want to consider using the SimpleMath wrapper in the DirectX Tool Kit for DirectX 11 / DirectX12 as a starting point.

In this section

Topic Description
DirectXMath Programming Guide
DirectXMath provides a math solution optimized for Windows.
DirectXMath Programming Reference
This section contains reference material for the DirectXMath Library.

 

Developer audience

The DirectXMath library is designed for C++ developers working on games and DirectX graphics in Universal Windows Platform apps, Xbox games, and traditional desktop apps for Windows.

Obtaining DirectXMath

The DirectXMath headers ship in the Windows SDK that comes with Visual Studio 2012 or later, and as an all inline header there is no DLL or static library to link against. It is also available as a package on NuGet.

DirectXMath is open source under the MIT license hosted on GitHub.