|
Blender
V2.93
|
Go to the source code of this file.
Functions | |
| CCL_NAMESPACE_BEGIN ccl_device_inline float | smootherstep (float edge0, float edge1, float x) |
| ccl_device void | svm_node_map_range (KernelGlobals *kg, ShaderData *sd, float *stack, uint value_stack_offset, uint parameters_stack_offsets, uint results_stack_offsets, int *offset) |
| CCL_NAMESPACE_BEGIN ccl_device_inline float smootherstep | ( | float | edge0, |
| float | edge1, | ||
| float | x | ||
| ) |
Definition at line 21 of file svm_map_range.h.
References clamp(), safe_divide(), and x.
Referenced by sh_node_map_range_expand_in_mf_network(), and svm_node_map_range().
| ccl_device void svm_node_map_range | ( | KernelGlobals * | kg, |
| ShaderData * | sd, | ||
| float * | stack, | ||
| uint | value_stack_offset, | ||
| uint | parameters_stack_offsets, | ||
| uint | results_stack_offsets, | ||
| int * | offset | ||
| ) |
Definition at line 27 of file svm_map_range.h.
References floorf, kg, NODE_MAP_RANGE_LINEAR, NODE_MAP_RANGE_SMOOTHERSTEP, NODE_MAP_RANGE_SMOOTHSTEP, NODE_MAP_RANGE_STEPPED, read_node(), result, smootherstep(), smoothstep(), stack_load_float(), stack_load_float_default(), stack_store_float(), steps, svm_unpack_node_uchar3(), svm_unpack_node_uchar4(), uint4::w, uint4::x, uint4::y, and uint4::z.
Referenced by svm_eval_nodes().