Blender V5.3
math_util.h File Reference
#include "kernel/svm/types.h"
#include "kernel/tables.h"
#include "util/math.h"
#include "util/types.h"

Go to the source code of this file.

Functions

template<class Float3Type, class FloatType>
CCL_NAMESPACE_BEGIN ccl_device void svm_vector_math (ccl_private FloatType *value, ccl_private Float3Type *vector, NodeVectorMathType type, const Float3Type a, const Float3Type b, const Float3Type c, const FloatType param1)
ccl_device float svm_math (NodeMathType type, const float a, float b, const float c)
ccl_device float3 svm_math_blackbody_color_rec709 (const float t)
ccl_device_inline float3 svm_math_gamma_color (float3 color, const float gamma)
ccl_device float3 svm_math_wavelength_color_xyz (const float lambda_nm)

Function Documentation

◆ svm_math()

◆ svm_math_blackbody_color_rec709()

◆ svm_math_gamma_color()

ccl_device_inline float3 svm_math_gamma_color ( float3 color,
const float gamma )

◆ svm_math_wavelength_color_xyz()

◆ svm_vector_math()