XMVectorExp 函数 (directxmath.h)

计算每个组件的两个幂。

注意此函数是现有Windows 8代码的 XMVectorExp2 的兼容性别名。 此函数已弃用Windows 8.1。 不要使用它,而是使用 XMVectorExp2XMVectorExpE

 

语法

XMVECTOR XM_CALLCONV XMVectorExp(
  [in] FXMVECTOR V
) noexcept;

参数

[in] V

用于底 2 的指数的向量。

返回值

返回一个向量,其分量为两个,以 V 的相应分量的幂。

注解

平台要求

Microsoft Visual Studio 2010 或 Microsoft Visual Studio 2012 以及 Windows SDK for Windows 8。 支持 Win32 桌面应用、Windows 应用商店应用和 Windows Phone 8 应用。

要求

要求
目标平台 Windows
标头 directxmath.h (包括 DirectXMath.h)

另请参阅

超越矢量函数