|
Blender V5.0
|
#include "kernel/svm/util.h"Go to the source code of this file.
Functions | |
| CCL_NAMESPACE_BEGIN ccl_device_noinline_cpu float3 | svm_magic (const float3 p, const float scale, const int n, float distortion) |
| ccl_device_noinline int | svm_node_tex_magic (KernelGlobals kg, ccl_private float *stack, const uint4 node, int offset) |
| CCL_NAMESPACE_BEGIN ccl_device_noinline_cpu float3 svm_magic | ( | const float3 | p, |
| const float | scale, | ||
| const int | n, | ||
| float | distortion ) |
Definition at line 13 of file magic.h.
References ccl_device_noinline_cpu, cosf, fmodf, M_2PI_F, make_float3(), sinf, float3::x, x, float3::y, y, float3::z, and z().
Referenced by svm_node_tex_magic().
| ccl_device_noinline int svm_node_tex_magic | ( | KernelGlobals | kg, |
| ccl_private float * | stack, | ||
| const uint4 | node, | ||
| int | offset ) |
Definition at line 101 of file magic.h.
References average(), ccl_device_noinline, ccl_private, read_node(), stack_load_float3(), stack_load_float_default(), stack_store_float(), stack_store_float3(), stack_valid(), svm_magic(), svm_unpack_node_uchar3(), uint4::x, uint4::y, and uint4::z.
Referenced by svm_eval_nodes().