版本

menu_open

include/AK/SoundEngine/Common/AkFPUtilities.h文件参考

浏览该文件的源代码。

宏定义

#define  AK_FSEL(__a__, __b__, __c__)   (((__a__) >= 0) ? (__b__) : (__c__))

函数

static AkForceInline AkReal32  AK_FPMin (AkReal32 fA, AkReal32 fB)
  Branchless (where available) version returning minimum value between two AkReal32 values.
static AkForceInline AkReal32  AK_FPMax (AkReal32 fA, AkReal32 fB)
  Branchless (where available) version returning maximum value between two AkReal32 values.
static AkForceInline void  AK_FPSetValGT (AkReal32 in_fComparandA, AkReal32 in_fComparandB, AkReal32 &io_fVariableToSet, AkReal32 in_fValueIfTrue)
  Branchless comparison (where available) setting 3rd argument to 4th argument if 1st argument is greater than 2nd argument.
static AkForceInline void  AK_FPSetValGTE (AkReal32 in_fComparandA, AkReal32 in_fComparandB, AkReal32 &io_fVariableToSet, AkReal32 in_fValueIfTrue)
  Branchless comparison (where available) setting 3rd argument to 4th argument if 1st argument is greater than equal 2nd argument.
static AkForceInline void  AK_FPSetValLT (AkReal32 in_fComparandA, AkReal32 in_fComparandB, AkReal32 &io_fVariableToSet, AkReal32 in_fValueIfTrue)
  Branchless comparison (where available) setting 3rd argument to 4th argument if 1st argument is less than 2nd argument.
static AkForceInline void  AK_FPSetValLTE (AkReal32 in_fComparandA, AkReal32 in_fComparandB, AkReal32 &io_fVariableToSet, AkReal32 in_fValueIfTrue)
  Branchless comparison (where available) setting 3rd argument to 4th argument if 1st argument is less than equal 2nd argument.

详细描述

Floating point performance utilities.

在文件AkFPUtilities.h中定义。


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅