Blender V2.61 - r43446
|
Go to the source code of this file.
Functions | |
CCL_NAMESPACE_BEGIN __device float | invert (float color, float factor) |
__device void | svm_node_invert (ShaderData *sd, float *stack, uint in_fac, uint in_color, uint out_color) |
CCL_NAMESPACE_BEGIN __device float invert | ( | float | color, |
float | factor | ||
) |
Definition at line 21 of file svm_invert.h.
References MakeCursor::color.
Referenced by armature_hide_exec(), BL_ConvertSensors(), BOP_createXS(), brush_strength(), hide_exec(), hide_metaelems_exec(), and svm_node_invert().
__device void svm_node_invert | ( | ShaderData * | sd, |
float * | stack, | ||
uint | in_fac, | ||
uint | in_color, | ||
uint | out_color | ||
) |
Definition at line 26 of file svm_invert.h.
References MakeCursor::color, invert(), stack_load_float(), stack_load_float3(), stack_store_float3(), stack_valid(), float3::x, float3::y, and float3::z.
Referenced by svm_eval_nodes().