Blender V5.0
invert.h File Reference
#include "kernel/svm/util.h"

Go to the source code of this file.

Functions

CCL_NAMESPACE_BEGIN ccl_device float invert (const float color, const float factor)
ccl_device_noinline void svm_node_invert (ccl_private float *stack, const uint in_fac, const uint in_color, const uint out_color)

Function Documentation

◆ invert()

CCL_NAMESPACE_BEGIN ccl_device float invert ( const float color,
const float factor )

Definition at line 11 of file invert.h.

References ccl_device.

Referenced by apply_keyb_grid(), armature_hide_exec(), BKE_defvert_array_find_weight_safe(), BKE_mesh_orco_verts_transform(), BKE_mesh_orco_verts_transform(), BKE_mesh_orco_verts_transform(), brush_flip(), brush_painter_2d_new(), brush_painter_2d_require_imbuf(), calculate_weld(), blender::ed::sculpt_paint::mask::color_delta_get(), blender::ed::sculpt_paint::do_brush_action(), blender::ed::sculpt_paint::dyntopo::dyntopo_detail_size_update_from_mouse_delta(), blender::ed::greasepencil::fill_strokes(), blender::ed::sculpt_paint::mask::final_mask_get(), blender::io::usd::USDMaterialReader::follow_connection(), blender::draw::foreach_obref_in_scene(), blender::nodes::node_shader_vector_rotate_cc::get_multi_function(), GPU_front_facing(), blender::nodes::node_shader_bump_cc::gpu_shader_bump(), blender::nodes::node_shader_vector_rotate_cc::gpu_shader_vector_rotate(), blender::ed::sculpt_paint::grease_pencil_fill_init(), blender::ed::greasepencil::grease_pencil_material_hide_exec(), hide_exec(), hide_metaelems_exec(), icon_draw_size(), blender::nodes::node_geo_tool_set_selection_cc::invert_selection(), blender::ed::sculpt_paint::mask::mask_by_color(), blender::ed::sculpt_paint::mask::mask_by_color_contiguous_mesh(), blender::ed::sculpt_paint::mask::mask_by_color_full_mesh(), NODE_DEFINE(), NODE_DEFINE(), blender::ed::sculpt_paint::greasepencil::PinchOperation::on_stroke_extended(), blender::ed::sculpt_paint::greasepencil::StrengthOperation::on_stroke_extended(), blender::ed::sculpt_paint::greasepencil::ThicknessOperation::on_stroke_extended(), blender::ed::sculpt_paint::greasepencil::TwistOperation::on_stroke_extended(), blender::ed::sculpt_paint::greasepencil::VertexPaintOperation::on_stroke_extended(), paint_brush_color_get(), blender::ed::sculpt_paint::paint_stroke_use_jitter(), blender::ed::greasepencil::process_image(), blender::math::pseudo_invert(), pygpu_state_front_facing_set(), blender::eevee::IrradianceBake::raylists_build(), blender::nodes::materialx::NodeItem::rotate(), selected_indices_from_vertex_group(), selection_array_from_vertex_group(), blender::nodes::node_shader_vector_rotate_cc::sh_node_vector_rotate_euler(), slice_paint_mask(), blender::eevee::IrradianceBake::surfel_raster_views_sync(), blender::eevee::IrradianceBake::surfels_create(), svm_node_invert(), svm_node_set_bump(), svm_node_vector_rotate(), uv_pin_exec(), uv_sculpt_stroke_apply(), blender::write_weights_for_drawing(), and blender::nodes::materialx::NodeItem::~NodeItem().

◆ svm_node_invert()

ccl_device_noinline void svm_node_invert ( ccl_private float * stack,
const uint in_fac,
const uint in_color,
const uint out_color )