Blender V5.3
ramp.h File Reference

Go to the source code of this file.

Functions

CCL_NAMESPACE_BEGIN ccl_device_inline float fetch_float (KernelGlobals kg, const int offset)
ccl_device_inline float float_ramp_lookup (KernelGlobals kg, const int offset, float f, bool interpolate, bool extrapolate, const int table_size)
ccl_device_inline float4 rgb_ramp_lookup (KernelGlobals kg, const int offset, float f, bool interpolate, bool extrapolate, const int table_size)
ccl_device_noinline int svm_node_rgb_ramp (KernelGlobals kg, ccl_private float *stack, const ccl_global SVMNodeRGBRamp &node, int offset)
ccl_device_noinline int svm_node_curves (KernelGlobals kg, ccl_private float *stack, const ccl_global SVMNodeCurves &node, int offset)
ccl_device_noinline int svm_node_curve (KernelGlobals kg, ccl_private float *stack, const ccl_global SVMNodeFloatCurve &node, int offset)

Function Documentation

◆ fetch_float()

CCL_NAMESPACE_BEGIN ccl_device_inline float fetch_float ( KernelGlobals kg,
const int offset )

Definition at line 14 of file ramp.h.

References __uint_as_float, ccl_device_inline, fetch_float(), and kernel_data_fetch.

Referenced by fetch_float(), and float_ramp_lookup().

◆ float_ramp_lookup()

ccl_device_inline float float_ramp_lookup ( KernelGlobals kg,
const int offset,
float f,
bool interpolate,
bool extrapolate,
const int table_size )

◆ rgb_ramp_lookup()

ccl_device_inline float4 rgb_ramp_lookup ( KernelGlobals kg,
const int offset,
float f,
bool interpolate,
bool extrapolate,
const int table_size )

◆ svm_node_curve()

ccl_device_noinline int svm_node_curve ( KernelGlobals kg,
ccl_private float * stack,
const ccl_global SVMNodeFloatCurve & node,
int offset )

◆ svm_node_curves()

◆ svm_node_rgb_ramp()