Blender V4.3
value.h File Reference

Go to the source code of this file.

Functions

CCL_NAMESPACE_BEGIN ccl_device void svm_node_value_f (KernelGlobals kg, ccl_private ShaderData *sd, ccl_private float *stack, uint ivalue, uint out_offset)
 
ccl_device int svm_node_value_v (KernelGlobals kg, ccl_private ShaderData *sd, ccl_private float *stack, uint out_offset, int offset)
 

Function Documentation

◆ svm_node_value_f()

CCL_NAMESPACE_BEGIN ccl_device void svm_node_value_f ( KernelGlobals kg,
ccl_private ShaderData * sd,
ccl_private float * stack,
uint ivalue,
uint out_offset )

Definition at line 11 of file value.h.

References __uint_as_float, and stack_store_float().

Referenced by svm_eval_nodes().

◆ svm_node_value_v()

ccl_device int svm_node_value_v ( KernelGlobals kg,
ccl_private ShaderData * sd,
ccl_private float * stack,
uint out_offset,
int offset )

Definition at line 20 of file value.h.

References __uint_as_float, make_float3(), read_node(), stack_store_float3(), uint4::w, uint4::y, and uint4::z.

Referenced by svm_eval_nodes().