共用方式為


XMVectorGetIntXPtr 函式 (directxmath.h)

x擷取包含整數數據的 XMVECTOR 資料類型元件,並將該元件的值儲存在指標所參考之uint32_t實例中。

語法

void XM_CALLCONV XMVectorGetIntXPtr(
  [out] uint32_t  *x,
        FXMVECTOR V
) noexcept;

參數

[out] x

將接收XMVECTOR數據類型物件 V之專案值的xuint32_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 連結庫向量存取子函式