XMFresnelTerm 函数 (directxmath.h)
计算非极化光的菲涅尔项。
语法
XMVECTOR XM_CALLCONV XMFresnelTerm(
[in] FXMVECTOR CosIncidentAngle,
[in] FXMVECTOR RefractionIndex
) noexcept;
参数
[in] CosIncidentAngle
由事件角的余弦值组成的矢量。
[in] RefractionIndex
由对应于入射角的材料折射指数组成的矢量。
返回值
返回一个包含每个分量的菲涅尔词的向量。
备注
平台要求
带有 Windows SDK for Windows 8 的 Microsoft Visual Studio 2010 或 Microsoft Visual Studio 2012。 支持 Win32 桌面应用、Windows 应用商店应用和 Windows Phone 8 应用。要求
目标平台 | Windows |
标头 | directxmath.h |
另请参阅
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈