XMColorIsInfinite 函数 (directxmath.h)
测试颜色的任何分量是正无穷大还是负无穷大。
语法
bool XM_CALLCONV XMColorIsInfinite(
[in] FXMVECTOR C
) noexcept;
参数
[in] C
描述颜色的 XMVECTOR。
返回值
如果 C 的任何分量为正无穷大或负无穷大,则返回 true。 否则,返回 false。
注解
平台要求
带有 Windows SDK for Windows 8 的 Microsoft Visual Studio 2010 或 Microsoft Visual Studio 2012。 支持 Win32 桌面应用、Windows 应用商店应用和 Windows Phone 8 应用。要求
目标平台 | Windows |
标头 | directxmath.h |