XMVectorGetIntWPtr 函数 (directxmath.h)

w检索包含整数数据的 XMVECTOR 数据类型的组件,并将该组件的值存储在指针引用的 uint32_t 实例中。

语法

void XM_CALLCONV XMVectorGetIntWPtr(
  [out] uint32_t  *w,
        FXMVECTOR V
) noexcept;

参数

[out] w

指向将接收 XMVECTOR 数据类型对象 V的 元素值的wuint32_t的指针。

V

存储整数数据的有效 4D 矢量。

返回值

无。

备注

平台要求

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

要求

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

另请参阅

DirectXMath 库矢量访问器函数