Blender V5.0
mis.h File Reference
#include "util/defines.h"

Go to the source code of this file.

Functions

CCL_NAMESPACE_BEGIN ccl_device float balance_heuristic (const float a, const float b)
ccl_device float balance_heuristic_3 (const float a, const float b, float c)
ccl_device float power_heuristic (const float a, const float b)
ccl_device float power_heuristic_3 (const float a, const float b, float c)
ccl_device float max_heuristic (const float a, const float b)

Function Documentation

◆ balance_heuristic()

CCL_NAMESPACE_BEGIN ccl_device float balance_heuristic ( const float a,
const float b )

Definition at line 16 of file mis.h.

References b, and ccl_device.

◆ balance_heuristic_3()

ccl_device float balance_heuristic_3 ( const float a,
const float b,
float c )

Definition at line 21 of file mis.h.

References b, and ccl_device.

◆ max_heuristic()

ccl_device float max_heuristic ( const float a,
const float b )

Definition at line 36 of file mis.h.

References b, and ccl_device.

◆ power_heuristic()

ccl_device float power_heuristic ( const float a,
const float b )

Definition at line 26 of file mis.h.

References b, and ccl_device.

Referenced by light_sample_mis_weight_forward(), and light_sample_mis_weight_nee().

◆ power_heuristic_3()

ccl_device float power_heuristic_3 ( const float a,
const float b,
float c )

Definition at line 31 of file mis.h.

References b, and ccl_device.