共用方式為


XMVector4GreaterOrEqualR 函式 (directxmath.h)

測試一個 4D 向量是否大於或等於另一個 4D 向量,並傳回可使用 XMComparisonAllTrue 等函式檢查的比較值。

語法

uint32_t XM_CALLCONV XMVector4GreaterOrEqualR(
  [in] FXMVECTOR V1,
  [in] FXMVECTOR V2
) noexcept;

參數

[in] V1

4D 向量。

[in] V2

4D 向量。

傳回值

傳回可使用 XMComparisonAllTrue 等函式檢查的比較值。

備註

此函式會執行下列測試:

V1.x >= V2.x
V1.y >= V2.y
V1.z >= V2.z
V1.w >= V2.w

平臺需求

Microsoft Visual Studio 2010 或 Microsoft Visual Studio 2012 與 Windows SDK for Windows 8。 支援 Win32 傳統型應用程式、Windows 市集應用程式和 Windows Phone 8 個應用程式。

規格需求

需求
目標平台 Windows
標頭 directxmath.h (包含 DirectXMath.h)

另請參閱

DirectXMath 連結庫 4D 向量比較函式

XMVector4GreaterOrEqual