Blender  V3.3
Functions
math_float4.h File Reference

Go to the source code of this file.

Functions

CCL_NAMESPACE_BEGIN ccl_device_inline float4 operator- (const float4 &a)
 
ccl_device_inline float4 operator* (const float4 &a, const float4 &b)
 
ccl_device_inline float4 operator* (const float4 &a, float f)
 
ccl_device_inline float4 operator* (float f, const float4 &a)
 
ccl_device_inline float4 operator/ (const float4 &a, float f)
 
ccl_device_inline float4 operator/ (const float4 &a, const float4 &b)
 
ccl_device_inline float4 operator+ (const float4 &a, const float f)
 
ccl_device_inline float4 operator+ (const float4 &a, const float4 &b)
 
ccl_device_inline float4 operator- (const float4 &a, const float f)
 
ccl_device_inline float4 operator- (const float4 &a, const float4 &b)
 
ccl_device_inline float4 operator+= (float4 &a, const float4 &b)
 
ccl_device_inline float4 operator*= (float4 &a, const float4 &b)
 
ccl_device_inline float4 operator*= (float4 &a, float f)
 
ccl_device_inline float4 operator/= (float4 &a, float f)
 
ccl_device_inline int4 operator< (const float4 &a, const float4 &b)
 
ccl_device_inline int4 operator>= (const float4 &a, const float4 &b)
 
ccl_device_inline int4 operator<= (const float4 &a, const float4 &b)
 
ccl_device_inline bool operator== (const float4 &a, const float4 &b)
 
ccl_device_inline float distance (const float4 &a, const float4 &b)
 
ccl_device_inline float dot (const float4 &a, const float4 &b)
 
ccl_device_inline float len_squared (const float4 &a)
 
ccl_device_inline float4 rcp (const float4 &a)
 
ccl_device_inline float4 sqrt (const float4 &a)
 
ccl_device_inline float4 sqr (const float4 &a)
 
ccl_device_inline float4 cross (const float4 &a, const float4 &b)
 
ccl_device_inline bool is_zero (const float4 &a)
 
ccl_device_inline float average (const float4 &a)
 
ccl_device_inline float len (const float4 &a)
 
ccl_device_inline float4 normalize (const float4 &a)
 
ccl_device_inline float4 safe_normalize (const float4 &a)
 
ccl_device_inline float4 min (const float4 &a, const float4 &b)
 
ccl_device_inline float4 max (const float4 &a, const float4 &b)
 
ccl_device_inline float4 clamp (const float4 &a, const float4 &mn, const float4 &mx)
 
ccl_device_inline float4 fabs (const float4 &a)
 
ccl_device_inline float4 floor (const float4 &a)
 
ccl_device_inline float4 mix (const float4 &a, const float4 &b, float t)
 
ccl_device_inline float4 safe_divide (const float4 a, const float4 b)
 
ccl_device_inline float4 safe_divide (const float4 a, const float b)
 
ccl_device_inline float reduce_min (const float4 a)
 
ccl_device_inline float reduce_max (const float4 a)
 
ccl_device_inline float reduce_add (const float4 a)
 
ccl_device_inline bool isequal (const float4 a, const float4 b)
 
ccl_device_inline float4 select (const int4 &mask, const float4 &a, const float4 &b)
 
ccl_device_inline float4 zero_float4 ()
 
ccl_device_inline float4 one_float4 ()
 
ccl_device_inline float4 operator-= (float4 &a, const float4 &b)
 
ccl_device_inline float4 saturate (const float4 &a)
 
ccl_device_inline float4 exp (float4 v)
 
ccl_device_inline float4 log (float4 v)
 
ccl_device_inline float4 mask (const int4 &mask, const float4 &a)
 
ccl_device_inline float4 load_float4 (ccl_private const float *v)
 
ccl_device_inline bool isfinite_safe (float4 v)
 
ccl_device_inline float4 ensure_finite (float4 v)
 
ccl_device_inline float4 pow (float4 v, float e)
 

Function Documentation

◆ average()

ccl_device_inline float average ( const float4 a)

Definition at line 310 of file math_float4.h.

References Freestyle::a, and reduce_add().

◆ clamp()

ccl_device_inline float4 clamp ( const float4 a,
const float4 mn,
const float4 mx 
)

Definition at line 349 of file math_float4.h.

References Freestyle::a, max(), and min().

◆ cross()

ccl_device_inline float4 cross ( const float4 a,
const float4 b 
)

Definition at line 291 of file math_float4.h.

References Freestyle::a, usdtokens::b(), and make_float4.

◆ distance()

ccl_device_inline float distance ( const float4 a,
const float4 b 
)

Definition at line 243 of file math_float4.h.

References Freestyle::a, usdtokens::b(), and len().

◆ dot()

ccl_device_inline float dot ( const float4 a,
const float4 b 
)

Definition at line 248 of file math_float4.h.

References Freestyle::a, usdtokens::b(), and t.

Referenced by len(), and len_squared().

◆ ensure_finite()

ccl_device_inline float4 ensure_finite ( float4  v)

Definition at line 548 of file math_float4.h.

References isfinite_safe(), and v.

◆ exp()

Definition at line 386 of file math_float4.h.

References expf, make_float4, and v.

◆ fabs()

ccl_device_inline float4 fabs ( const float4 a)

Definition at line 354 of file math_float4.h.

References Freestyle::a, fabsf, and make_float4.

◆ floor()

ccl_device_inline float4 floor ( const float4 a)

Definition at line 367 of file math_float4.h.

References Freestyle::a, floorf, and make_float4.

◆ is_zero()

ccl_device_inline bool is_zero ( const float4 a)

Definition at line 301 of file math_float4.h.

References Freestyle::a, and zero_float4().

◆ isequal()

ccl_device_inline bool isequal ( const float4  a,
const float4  b 
)

Definition at line 443 of file math_float4.h.

References Freestyle::a, all(), and usdtokens::b().

◆ isfinite_safe()

ccl_device_inline bool isfinite_safe ( float4  v)

Definition at line 543 of file math_float4.h.

References v.

Referenced by ensure_finite().

◆ len()

ccl_device_inline float len ( const float4 a)

Definition at line 315 of file math_float4.h.

References Freestyle::a, dot(), and sqrtf.

Referenced by distance(), normalize(), and safe_normalize().

◆ len_squared()

ccl_device_inline float len_squared ( const float4 a)

Definition at line 262 of file math_float4.h.

References Freestyle::a, and dot().

◆ load_float4()

ccl_device_inline float4 load_float4 ( ccl_private const float v)

Definition at line 519 of file math_float4.h.

References make_float4, and v.

◆ log()

Definition at line 391 of file math_float4.h.

References logf, make_float4, and v.

◆ mask()

ccl_device_inline float4 mask ( const int4 mask,
const float4 a 
)

Definition at line 513 of file math_float4.h.

References Freestyle::a, select(), and zero_float4().

Referenced by __btc(), accessor_release_mask_callback(), acf_mask_setting_ptr(), actedit_get_context(), blender::fn::VariableState::add_as_input(), blender::fn::VariableState::add_as_mutable(), blender::fn::VariableState::add_as_output(), blender::fn::VariableState::add_as_output__one(), blender::fn::VariableStates::add_as_param(), blender::fn::VariableStates::add_as_param__one(), add_feather_vertex_exec(), blender::fn::InstructionScheduler::add_referenced_indices(), add_vertex_exec(), add_vertex_extrude(), add_vertex_handle_cyclic(), add_vertex_handle_cyclic_at_point(), add_vertex_new(), add_vertex_subdivide(), btSimpleDynamicsWorld::addRigidBody(), blender::nodes::node_fn_align_euler_to_vector_cc::align_rotations_auto_pivot(), blender::nodes::node_fn_align_euler_to_vector_cc::align_rotations_fixed_pivot(), alpha_circle_mask(), animchannels_delete_exec(), animdata_filter_mask(), animdata_filter_mask_data(), blender::ed::spreadsheet::apply_filter_operation(), Device::available_devices(), available_devices_func(), average_grid_element(), bake_ibuf_filter(), bake_ibuf_normalize_displacement(), bc_get_mesh_copy(), BKE_brush_randomize_texture_coords(), BKE_bvhtree_from_mesh_get(), BKE_gpencil_free_layer_masks(), BKE_gpencil_from_image(), BKE_gpencil_layer_mask_add(), BKE_gpencil_layer_mask_cleanup(), BKE_gpencil_layer_mask_remove(), BKE_gpencil_layer_mask_remove_ref(), BKE_gpencil_layer_mask_sort(), BKE_id_attribute_subset_active_get(), BKE_id_attribute_subset_active_set(), BKE_id_attributes_length(), BKE_mask_eval_animation(), BKE_mask_eval_update(), BKE_mask_evaluate(), BKE_mask_get_duration(), BKE_mask_layer_active(), BKE_mask_layer_active_set(), BKE_mask_layer_new(), BKE_mask_layer_remove(), BKE_mask_layer_rename(), BKE_mask_layer_unique_name(), BKE_mask_new(), BKE_maskrasterize_handle_init(), BKE_mesh_new_nomain_from_template_ex(), BKE_mesh_nomain_to_mesh(), BKE_mesh_validate_all_customdata(), BKE_tracking_refine_marker(), BKE_tracking_sample_pattern(), blender_device_info(), BLI_str_utf8_as_unicode(), BLI_str_utf8_as_unicode_step_or_error(), BLI_str_utf8_size(), BLI_str_utf8_size_safe(), blender::gpu::GLFrameBuffer::blit_to(), blo_do_versions_270(), bm_log_vert_values_swap(), BM_mesh_bm_from_me(), BM_mesh_bm_to_me(), BM_mesh_bm_to_me_for_eval(), box_select_elem(), brightcontrast_apply(), brush_painter_mask_ibuf_new(), blender::deg::DepsgraphNodeBuilder::build_mask(), blender::deg::DepsgraphRelationBuilder::build_mask(), blender::deg::DepsgraphNodeBuilder::build_view_layer(), blender::deg::DepsgraphRelationBuilder::build_view_layer(), bvh_unaligned_node_intersect(), BVHObjectBinning::BVHObjectBinning(), blender::nodes::node_geo_proximity_cc::calculate_mesh_proximity(), blender::nodes::node_geo_proximity_cc::calculate_pointcloud_proximity(), blender::nodes::node_shader_math_cc::ClampWrapperFunction::call(), blender::nodes::node_fn_align_euler_to_vector_cc::MF_AlignEulerToVector::call(), blender::nodes::node_fn_input_special_characters_cc::MF_SpecialCharacters::call(), blender::nodes::SeparateRGBAFunction::call(), blender::nodes::SeparateHSVAFunction::call(), blender::nodes::SeparateHSLAFunction::call(), blender::nodes::node_geo_curve_sample_cc::SampleFloatSegmentsFunction::call(), blender::nodes::node_geo_curve_sample_cc::SampleCurveFunction::call(), blender::nodes::node_geo_image_texture_cc::ImageFieldsFunction::call(), blender::nodes::node_geo_proximity_cc::ProximityFunction::call(), blender::nodes::node_geo_raycast_cc::RaycastFunction::call(), blender::nodes::node_geo_transfer_attribute_cc::NearestInterpolatedTransferFunction::call(), blender::nodes::node_geo_transfer_attribute_cc::NearestTransferFunction::call(), blender::nodes::node_geo_transfer_attribute_cc::IndexTransferFunction::call(), blender::nodes::node_shader_color_ramp_cc::ColorBandFunction::call(), blender::nodes::node_shader_curves_cc::CurveVecFunction::call(), blender::nodes::node_shader_curves_cc::CurveRGBFunction::call(), blender::nodes::node_shader_curves_cc::CurveFloatFunction::call(), blender::nodes::node_shader_mix_rgb_cc::MixRGBFunction::call(), blender::nodes::node_shader_sepcomb_rgb_cc::SeparateRGBFunction::call(), blender::nodes::node_shader_sepcomb_xyz_cc::MF_SeparateXYZ::call(), blender::nodes::node_shader_tex_brick_cc::BrickFunction::call(), blender::nodes::node_shader_tex_checker_cc::NodeTexChecker::call(), blender::nodes::node_shader_tex_gradient_cc::GradientFunction::call(), blender::nodes::node_shader_tex_magic_cc::MagicFunction::call(), blender::nodes::node_shader_tex_musgrave_cc::MusgraveFunction::call(), blender::nodes::node_shader_tex_noise_cc::NoiseFunction::call(), blender::nodes::node_shader_tex_voronoi_cc::VoronoiMinowskiFunction::call(), blender::nodes::node_shader_tex_voronoi_cc::VoronoiMetricFunction::call(), blender::nodes::node_shader_tex_voronoi_cc::VoronoiEdgeFunction::call(), blender::nodes::node_shader_tex_wave_cc::WaveFunction::call(), blender::nodes::node_shader_tex_white_noise_cc::WhiteNoiseFunction::call(), blender::fn::CustomMF_GenericConstant::call(), blender::fn::CustomMF_GenericConstantArray::call(), blender::fn::CustomMF_DefaultOutput::call(), blender::fn::CustomMF_GenericCopy::call(), blender::fn::CustomMF< ParamTags >::call(), blender::fn::CustomMF_SM< Mut1 >::call(), blender::fn::CustomMF_Constant< T >::call(), blender::fn::tests::TwoOutputFunction::call(), blender::fn::tests::AddPrefixFunction::call(), blender::fn::tests::CreateRangeFunction::call(), blender::fn::tests::GenericAppendFunction::call(), blender::fn::tests::ConcatVectorsFunction::call(), blender::fn::tests::AppendFunction::call(), blender::fn::tests::SumVectorFunction::call(), blender::fn::tests::OptionalOutputsFunction::call(), blender::fn::MultiFunction::call_auto(), cdDM_from_mesh_ex(), check_pixel_assigned(), blender::gpu::GLFrameBuffer::clear(), blender::GVectorArray::clear(), click_select_channel_maskdatablock(), clip_main_region_draw(), color_balance_init_handle(), colorBalance_apply(), blender::fn::compute_grain_size(), configure_and_run_tracker(), blender::compositor::MaskNode::convert_to_operations(), blender::CPPType::copy_assign_compressed(), blender::cpp_type_util::copy_assign_compressed_cb(), blender::CPPType::copy_assign_indices(), blender::cpp_type_util::copy_assign_indices_cb(), blender::nodes::node_geo_delete_geometry_cc::copy_attributes_based_on_mask(), blender::CPPType::copy_construct_compressed(), blender::cpp_type_util::copy_construct_compressed_cb(), blender::CPPType::copy_construct_indices(), blender::cpp_type_util::copy_construct_indices_cb(), blender::nodes::node_geo_delete_geometry_cc::copy_data_based_on_mask(), copy_data_based_on_mask(), copy_splines_exec(), blender::nodes::node_geo_transfer_attribute_cc::copy_with_indices(), blender::nodes::node_geo_transfer_attribute_cc::copy_with_indices_and_comparison(), blender::nodes::node_geo_transfer_attribute_cc::copy_with_indices_clamped(), blender::nodes::node_geo_extrude_mesh_cc::copy_with_mask(), blender::fn::CustomMF_SM< Mut1 >::create_function(), create_primitive_from_points(), createTransActionData(), createTransMaskingData(), curves_apply(), CustomData_bmesh_merge(), CustomData_copy(), CustomData_external_read(), CustomData_external_reload(), CustomData_external_write(), CustomData_free_typemask(), customData_mask_layers__print(), CustomData_merge(), CustomData_number_of_layers_typemask(), CustomData_set_only_copy(), blender::fn::CustomMF< ParamTags >::CustomMF(), cyclic_toggle_exec(), blender::CPPType::default_construct_indices(), blender::cpp_type_util::default_construct_indices_cb(), delete_exec(), blender::fn::VariableStates::destruct(), blender::fn::VariableState::destruct(), blender::CPPType::destruct_indices(), blender::cpp_type_util::destruct_indices_cb(), Device::device_capabilities(), device_kernel_mask_as_string(), dirty_mask_apply_task_cb(), DM_from_template(), DM_set_only_copy(), do_boundary_brush_bend_task_cb_ex(), do_boundary_brush_grab_task_cb_ex(), do_boundary_brush_inflate_task_cb_ex(), do_boundary_brush_slide_task_cb_ex(), do_boundary_brush_smooth_task_cb_ex(), do_boundary_brush_twist_task_cb_ex(), do_pose_brush_task_cb_ex(), do_projectpaint_clone(), do_projectpaint_clone_f(), do_projectpaint_draw(), do_projectpaint_draw_f(), do_projectpaint_mask(), do_projectpaint_mask_f(), do_projectpaint_smear(), do_projectpaint_smear_f(), do_projectpaint_soften(), do_projectpaint_soften_f(), do_projectpaint_thread(), draw_image_cache(), draw_mask_layers(), DRW_shgroup_stencil_mask(), dt_add_vcol_layers(), ED_gpencil_layer_merge(), ED_mask_deselect_all(), ED_mask_draw_frames(), ED_mask_layer_ensure(), ED_mask_layer_shape_auto_key_all(), ED_mask_layer_shape_auto_key_select(), ED_mask_new(), ED_mask_select_check(), ED_mask_select_flush_all(), ED_mask_select_toggle_all(), ED_mask_selected_minmax(), ED_region_panels_draw(), ED_space_clip_set_mask(), ED_space_image_set_mask(), ED_space_image_show_cache(), edit_uv_mask_texture(), editbmesh_calc_modifiers(), escape_uri_string(), GJK< btConvexTemplate >::Evaluate(), gjkepa2_impl::GJK::Evaluate(), blender::fn::evaluate_as_one(), blender::fn::evaluate_fields(), blender::fn::CustomMF< ParamTags >::execute(), blender::fn::detail::execute_array(), blender::fn::execute_call_instruction(), blender::fn::materialize_detail::execute_materialized(), blender::compositor::ZCombineMaskOperation::execute_pixel_sampled(), blender::GVectorArray::extend(), blender::draw::extract_sculpt_data_init(), extrawindow_spin_cursor(), fabs(), blender::CPPType::fill_assign_indices(), blender::cpp_type_util::fill_assign_indices_cb(), blender::CPPType::fill_construct_indices(), blender::cpp_type_util::fill_construct_indices_cb(), blender::fn::fill_params(), blender::fn::fill_params__one(), find_prev_next_keyframes(), blender::bke::curves::foreach_curve_by_type(), blender::IndexMask::foreach_index(), blender::render::texturemargin::generate_margin(), geometry_extract_tag_masked_faces(), GHOST_Buttons::get(), GHOST_ModifierKeys::get(), blender::nodes::node_geo_transfer_attribute_cc::get_closest_in_bvhtree(), blender::nodes::node_geo_transfer_attribute_cc::get_closest_mesh_corners(), blender::nodes::node_geo_transfer_attribute_cc::get_closest_mesh_edges(), blender::nodes::node_geo_transfer_attribute_cc::get_closest_mesh_looptris(), blender::nodes::node_geo_transfer_attribute_cc::get_closest_mesh_points(), blender::nodes::node_geo_transfer_attribute_cc::get_closest_mesh_polygons(), blender::nodes::node_geo_transfer_attribute_cc::get_closest_pointcloud_points(), blender::fn::get_field_context_inputs(), blender::fn::IndexFieldInput::get_index_varray(), blender::fn::tests::IndexFieldInput::get_varray_for_context(), blender::nodes::node_geo_curve_handle_type_selection_cc::HandleTypeFieldInput::get_varray_for_context(), blender::nodes::node_geo_curve_spline_parameter_cc::CurveParameterFieldInput::get_varray_for_context(), blender::nodes::node_geo_curve_spline_parameter_cc::CurveLengthParameterFieldInput::get_varray_for_context(), blender::nodes::node_geo_curve_spline_parameter_cc::IndexOnSplineFieldInput::get_varray_for_context(), blender::nodes::node_geo_field_at_index_cc::FieldAtIndex::get_varray_for_context(), blender::nodes::node_geo_input_curve_handles_cc::HandlePositionFieldInput::get_varray_for_context(), blender::nodes::node_geo_material_selection_cc::MaterialSelectionFieldInput::get_varray_for_context(), blender::bke::NormalFieldInput::get_varray_for_context(), blender::bke::IDAttributeFieldInput::get_varray_for_context(), blender::nodes::node_geo_points_cc::PointsFieldContext::get_varray_for_input(), blender::fn::FieldContext::get_varray_for_input(), GetApplicationSupportDir(), GHOST_System::getButtonState(), GHOST_ModifierKeys::getModifierKeyCode(), GHOST_System::getModifierKeyState(), Cubes::getNumTriangle(), Cubes::getTriangle(), GHOST_GetButtonState(), GHOST_GetModifierKeyState(), GHOST_SetCustomCursorShape(), gpencil_is_layer_mask(), gpencil_layer_cache_add(), gpencil_layer_mask_move_exec(), gpencil_layer_mask_remove_exec(), GPU_write_mask(), heat_bone_weighting(), hue_correct_apply(), hue_correct_apply_threaded(), image_context(), image_main_region_draw(), image_refresh(), IMB_buffer_byte_from_float_mask(), IMB_buffer_float_from_float_mask(), IMB_filter_extend(), IMB_mask_clear(), IMB_mask_filter_extend(), IMB_rectblend(), blender::fn::VariableState::indices_split(), init_brush_icons(), is_effected(), ColorBlock::isSingleColor(), keyframe_jump_exec(), layerInterp_paint_mask(), lib_link_mask_parent(), libmv_samplePlanarPatchByte(), libmv_samplePlanarPatchFloat(), blender::render::texturemargin::TextureMarginMap::lookup_pixels(), UniqueName_Value::mark_unused(), UniqueName_Value::mark_used(), mask_alloc(), mask_blend_read_data(), mask_blend_read_expand(), mask_blend_read_lib(), mask_blend_write(), mask_duplicate_exec(), mask_feather_weight_clear_exec(), mask_foreach_id(), mask_free_data(), mask_has_selection(), mask_hide_view_clear_exec(), mask_hide_view_set_exec(), mask_layer_move_exec(), mask_layer_move_poll(), mask_layer_new_exec(), mask_layer_remove_exec(), mask_normals_make_consistent_exec(), mask_parent_clear_exec(), mask_parent_set_exec(), mask_rasterize(), mask_select_linked_exec(), mask_select_linked_pick_invoke(), mask_select_more_less(), mask_shape_key_clear_exec(), mask_shape_key_feather_reset_exec(), mask_shape_key_insert_exec(), mask_shape_key_rekey_exec(), mask_switch_direction_exec(), maskmodifier_apply(), maskmodifier_apply_threaded(), PixelFormat::maskShiftAndSize(), blender::bke::VArrayImpl_For_SplinePosition::materialize(), blender::bke::VArrayImpl_For_BezierHandles::materialize(), blender::bke::VArray_For_SplineToPoint< T >::materialize(), blender::bke::VArrayImpl_For_SplinePoints< T >::materialize(), blender::GVArrayImpl::materialize(), blender::GVArrayCommon::materialize(), blender::GVArrayImpl_For_VArray< T >::materialize(), blender::GVMutableArrayImpl_For_VMutableArray< T >::materialize(), blender::GVArrayImpl_For_GSpan::materialize(), blender::GVArrayImpl_For_SingleValueRef::materialize(), blender::bke::VArrayImpl_For_VertexWeights::materialize(), blender::VArrayImpl< T >::materialize(), blender::VArrayCommon< T >::materialize(), blender::VArrayImpl_For_GVArray< T >::materialize(), blender::GVArrayImpl_For_VArray< T >::materialize_compressed(), blender::GVMutableArrayImpl_For_VMutableArray< T >::materialize_compressed(), blender::GVArrayImpl_For_GSpan::materialize_compressed(), blender::GVArrayImpl_For_SingleValueRef::materialize_compressed(), blender::VArrayImpl< T >::materialize_compressed(), blender::VArrayCommon< T >::materialize_compressed(), blender::VArrayImpl_For_GVArray< T >::materialize_compressed(), blender::VArrayImpl_For_Span< T >::materialize_compressed(), blender::VArrayImpl_For_Single< T >::materialize_compressed(), blender::GVArrayImpl::materialize_compressed(), blender::GVArrayCommon::materialize_compressed(), blender::GVArrayImpl_For_VArray< T >::materialize_compressed_to_uninitialized(), blender::GVMutableArrayImpl_For_VMutableArray< T >::materialize_compressed_to_uninitialized(), blender::GVArrayImpl_For_GSpan::materialize_compressed_to_uninitialized(), blender::GVArrayImpl_For_SingleValueRef::materialize_compressed_to_uninitialized(), blender::GVArrayImpl_For_SlicedGVArray::materialize_compressed_to_uninitialized(), blender::VArrayImpl< T >::materialize_compressed_to_uninitialized(), blender::VArrayCommon< T >::materialize_compressed_to_uninitialized(), blender::VArrayImpl_For_GVArray< T >::materialize_compressed_to_uninitialized(), blender::VArrayImpl_For_Span< T >::materialize_compressed_to_uninitialized(), blender::VArrayImpl_For_Single< T >::materialize_compressed_to_uninitialized(), blender::GVArrayImpl::materialize_compressed_to_uninitialized(), blender::GVArrayCommon::materialize_compressed_to_uninitialized(), blender::nodes::node_geo_mesh_to_points_cc::materialize_compressed_to_uninitialized_threaded(), blender::bke::VArrayImpl_For_SplinePosition::materialize_to_uninitialized(), blender::bke::VArrayImpl_For_BezierHandles::materialize_to_uninitialized(), blender::bke::VArray_For_SplineToPoint< T >::materialize_to_uninitialized(), blender::bke::VArrayImpl_For_SplinePoints< T >::materialize_to_uninitialized(), blender::GVArrayImpl::materialize_to_uninitialized(), blender::GVArrayCommon::materialize_to_uninitialized(), blender::GVArrayImpl_For_VArray< T >::materialize_to_uninitialized(), blender::GVMutableArrayImpl_For_VMutableArray< T >::materialize_to_uninitialized(), blender::GVArrayImpl_For_GSpan::materialize_to_uninitialized(), blender::GVArrayImpl_For_SingleValueRef::materialize_to_uninitialized(), blender::bke::VArrayImpl_For_VertexWeights::materialize_to_uninitialized(), blender::VArrayImpl< T >::materialize_to_uninitialized(), blender::VArrayCommon< T >::materialize_to_uninitialized(), blender::VArrayImpl_For_GVArray< T >::materialize_to_uninitialized(), mesh_calc_modifiers(), mesh_copy_data(), mesh_new_from_mesh_object_with_layers(), blender::bke::mesh_normals_varray(), mesh_set_only_copy(), mesh_validate_customdata(), modifier_apply_threaded(), modifier_init_handle(), blender::CPPType::move_assign_indices(), blender::cpp_type_util::move_assign_indices_cb(), blender::CPPType::move_construct_indices(), blender::cpp_type_util::move_construct_indices_cb(), multires_disp_run_cb(), nlavalidmask_free(), nlavalidmask_init(), blender::ed::space_node::node_add_mask_exec(), operator-(), OVERLAY_edit_mesh_cache_init(), blender::ed::sculpt_paint::paint::image::PaintingKernel< ImageBuffer >::paint(), paint_2d_do_making_brush(), paint_2d_lift_soften(), partialvis_update_grids(), paste_splines_exec(), blender::bke::point_attribute_materialize(), blender::bke::point_attribute_materialize_to_uninitialized(), pointdensity_cache_object(), posttrans_mask_clean(), GHOST_SystemWin32::processButtonEvent(), project_line_gesture_apply_task_cb(), project_paint_face_init(), project_paint_uvpixel_init(), project_paint_uvpixel_mask(), blender::render::texturemargin::TextureMarginMap::rasterize_tri(), blender::nodes::node_geo_raycast_cc::raycast_to_mesh(), RE_bake_margin(), RE_bake_mask_fill(), RE_generate_texturemargin_adjacentfaces(), RE_generate_texturemargin_adjacentfaces_dm(), recalcData_mask_common(), region_select_elem(), blender::CPPType::relocate_assign_indices(), blender::cpp_type_util::relocate_assign_indices_cb(), blender::CPPType::relocate_construct_indices(), blender::cpp_type_util::relocate_construct_indices_cb(), InstancesComponent::remove_instances(), CurveEval::remove_splines(), rna_enum_bitmask(), rotl(), blender::bke::mesh_surface_sample::sample_corner_attribute(), blender::bke::mesh_surface_sample::sample_face_attribute(), blender::nodes::node_geo_curve_sample_cc::sample_indices_and_factors_to_compressed(), blender::nodes::node_geo_curve_sample_cc::sample_indices_and_lengths(), blender::bke::mesh_surface_sample::sample_point_attribute(), libmv::SamplePlanarPatch(), SCULPT_brush_strength_factor(), sculpt_mask_expand_modal(), sculpt_set_pivot_position_exec(), sculpt_undo_restore_mask(), SCULPT_vertex_mask_get(), sdl_ghost_CreateCursor(), select(), select_all_exec(), select_exec(), select_grouped_data(), blender::nodes::node_geo_material_selection_cc::select_mesh_by_material(), select_sliding_point(), SEQ_modifier_apply_stack(), seq_render_mask(), sequencer_add_mask_strip_exec(), sequencer_context(), GHOST_Buttons::set(), GHOST_ModifierKeys::set(), set_handle_type_exec(), blender::compositor::MaskOperation::set_mask(), setAttrValueBit(), GHOST_SystemWayland::setCustomCursorShape(), GHOST_Window::setCustomCursorShape(), AlphaBlockDXT5::setIndex(), setup_vertex_point(), GHOST_WindowCocoa::setWindowCustomCursorShape(), GHOST_WindowSDL::setWindowCustomCursorShape(), GHOST_WindowX11::setWindowCustomCursorShape(), GHOST_WindowWayland::setWindowCustomCursorShape(), slice_paint_mask(), slide_point_customdata(), slide_point_invoke(), slide_spline_curvature_check(), slide_spline_curvature_customdata(), slide_spline_curvature_invoke(), special_aftertrans_update__mask(), blender::ed::spreadsheet::spreadsheet_filter_rows(), standard_test(), stencil_control_invoke(), subdiv_mesh_topology_info(), blender::fn::tests::TEST(), blender::tests::TEST(), blender::gpu::to_gl(), tonemapmodifier_apply(), tonemapmodifier_apply_threaded_photoreceptor(), tonemapmodifier_apply_threaded_simple(), track_mask_gpencil_layer_rasterize(), tracking_configure_tracker(), tracking_track_get_mask_for_region(), blender::nodes::node_geo_attribute_capture_cc::try_capture_field_on_geometry(), blender::nodes::node_geo_store_named_attribute_cc::try_capture_field_on_geometry(), UI_view2d_view_to_region_m4(), blender::gpu::GLVertArray::update_bindings(), blender::compositor::BoxMaskOperation::update_memory_buffer_partial(), blender::compositor::EllipseMaskOperation::update_memory_buffer_partial(), blender::compositor::ZCombineMaskOperation::update_memory_buffer_partial(), update_socket_to_match_interface(), GHOST_NDOFManager::updateButton(), GHOST_NDOFManager::updateButtons(), updateDepsgraph(), UniqueName_Value::use_if_unused(), UniqueName_Value::use_smallest_unused(), blender::CPPType::value_initialize_indices(), blender::cpp_type_util::value_initialize_indices_cb(), vertex_group_lock_description(), vertex_group_lock_exec(), vgroup_lock_all(), vgroup_selected_get(), viewRedrawForce(), whiteBalance_apply(), whiteBalance_apply_threaded(), window_set_custom_cursor(), WM_cursor_time(), WM_event_type_mask_test(), and DeviceQueue::~DeviceQueue().

◆ max()

ccl_device_inline float4 max ( const float4 a,
const float4 b 
)

Definition at line 340 of file math_float4.h.

References Freestyle::a, usdtokens::b(), and make_float4.

Referenced by clamp(), and reduce_max().

◆ min()

ccl_device_inline float4 min ( const float4 a,
const float4 b 
)

Definition at line 331 of file math_float4.h.

References Freestyle::a, usdtokens::b(), and make_float4.

Referenced by clamp(), and reduce_min().

◆ mix()

ccl_device_inline float4 mix ( const float4 a,
const float4 b,
float  t 
)

Definition at line 376 of file math_float4.h.

References Freestyle::a, usdtokens::b(), and t.

◆ normalize()

ccl_device_inline float4 normalize ( const float4 a)

Definition at line 320 of file math_float4.h.

References Freestyle::a, and len().

◆ one_float4()

ccl_device_inline float4 one_float4 ( )

Definition at line 101 of file math_float4.h.

References make_float4.

◆ operator*() [1/3]

ccl_device_inline float4 operator* ( const float4 a,
const float4 b 
)

Definition at line 117 of file math_float4.h.

References Freestyle::a, usdtokens::b(), and make_float4.

◆ operator*() [2/3]

ccl_device_inline float4 operator* ( const float4 a,
float  f 
)

Definition at line 126 of file math_float4.h.

References Freestyle::a, and make_float4.

◆ operator*() [3/3]

ccl_device_inline float4 operator* ( float  f,
const float4 a 
)

Definition at line 135 of file math_float4.h.

References Freestyle::a.

◆ operator*=() [1/2]

ccl_device_inline float4 operator*= ( float4 a,
const float4 b 
)

Definition at line 192 of file math_float4.h.

References Freestyle::a, and usdtokens::b().

◆ operator*=() [2/2]

ccl_device_inline float4 operator*= ( float4 a,
float  f 
)

Definition at line 197 of file math_float4.h.

References Freestyle::a.

◆ operator+() [1/2]

ccl_device_inline float4 operator+ ( const float4 a,
const float  f 
)

Definition at line 154 of file math_float4.h.

References Freestyle::a, and make_float4.

◆ operator+() [2/2]

ccl_device_inline float4 operator+ ( const float4 a,
const float4 b 
)

Definition at line 159 of file math_float4.h.

References Freestyle::a, usdtokens::b(), and make_float4.

◆ operator+=()

ccl_device_inline float4 operator+= ( float4 a,
const float4 b 
)

Definition at line 182 of file math_float4.h.

References Freestyle::a, and usdtokens::b().

◆ operator-() [1/3]

ccl_device_inline float4 operator- ( const float4 a)

Definition at line 107 of file math_float4.h.

References Freestyle::a, make_float4, and mask().

◆ operator-() [2/3]

ccl_device_inline float4 operator- ( const float4 a,
const float  f 
)

Definition at line 168 of file math_float4.h.

References Freestyle::a, and make_float4.

◆ operator-() [3/3]

ccl_device_inline float4 operator- ( const float4 a,
const float4 b 
)

Definition at line 173 of file math_float4.h.

References Freestyle::a, usdtokens::b(), and make_float4.

◆ operator-=()

ccl_device_inline float4 operator-= ( float4 a,
const float4 b 
)

Definition at line 187 of file math_float4.h.

References Freestyle::a, and usdtokens::b().

◆ operator/() [1/2]

ccl_device_inline float4 operator/ ( const float4 a,
const float4 b 
)

Definition at line 145 of file math_float4.h.

References Freestyle::a, usdtokens::b(), and make_float4.

◆ operator/() [2/2]

ccl_device_inline float4 operator/ ( const float4 a,
float  f 
)

Definition at line 140 of file math_float4.h.

References Freestyle::a.

◆ operator/=()

ccl_device_inline float4 operator/= ( float4 a,
float  f 
)

Definition at line 202 of file math_float4.h.

References Freestyle::a.

◆ operator<()

ccl_device_inline int4 operator< ( const float4 a,
const float4 b 
)

Definition at line 207 of file math_float4.h.

References Freestyle::a, usdtokens::b(), and make_int4.

◆ operator<=()

ccl_device_inline int4 operator<= ( const float4 a,
const float4 b 
)

Definition at line 225 of file math_float4.h.

References Freestyle::a, usdtokens::b(), and make_int4.

◆ operator==()

ccl_device_inline bool operator== ( const float4 a,
const float4 b 
)

Definition at line 234 of file math_float4.h.

References Freestyle::a, and usdtokens::b().

◆ operator>=()

ccl_device_inline int4 operator>= ( const float4 a,
const float4 b 
)

Definition at line 216 of file math_float4.h.

References Freestyle::a, usdtokens::b(), and make_int4.

◆ pow()

ccl_device_inline float4 pow ( float4  v,
float  e 
)

Definition at line 561 of file math_float4.h.

References e, make_float4, powf, and v.

◆ rcp()

ccl_device_inline float4 rcp ( const float4 a)

Definition at line 267 of file math_float4.h.

References Freestyle::a, and make_float4.

◆ reduce_add()

ccl_device_inline float reduce_add ( const float4  a)

Definition at line 398 of file math_float4.h.

References Freestyle::a.

Referenced by average().

◆ reduce_max()

ccl_device_inline float reduce_max ( const float4  a)

Definition at line 429 of file math_float4.h.

References Freestyle::a, and max().

◆ reduce_min()

ccl_device_inline float reduce_min ( const float4  a)

Definition at line 415 of file math_float4.h.

References Freestyle::a, and min().

◆ safe_divide() [1/2]

ccl_device_inline float4 safe_divide ( const float4  a,
const float  b 
)

Definition at line 530 of file math_float4.h.

References Freestyle::a, usdtokens::b(), and zero_float4().

◆ safe_divide() [2/2]

ccl_device_inline float4 safe_divide ( const float4  a,
const float4  b 
)

Definition at line 535 of file math_float4.h.

References Freestyle::a, usdtokens::b(), and make_float4.

◆ safe_normalize()

ccl_device_inline float4 safe_normalize ( const float4 a)

Definition at line 325 of file math_float4.h.

References Freestyle::a, len(), and t.

◆ saturate()

ccl_device_inline float4 saturate ( const float4 a)

Definition at line 381 of file math_float4.h.

References Freestyle::a, make_float4, and saturatef().

◆ select()

ccl_device_inline float4 select ( const int4 mask,
const float4 a,
const float4 b 
)

Definition at line 503 of file math_float4.h.

References Freestyle::a, usdtokens::b(), make_float4, and mask().

Referenced by mask().

◆ sqr()

ccl_device_inline float4 sqr ( const float4 a)

Definition at line 286 of file math_float4.h.

References Freestyle::a.

◆ sqrt()

ccl_device_inline float4 sqrt ( const float4 a)

Definition at line 277 of file math_float4.h.

References Freestyle::a, make_float4, and sqrtf.

◆ zero_float4()

ccl_device_inline float4 zero_float4 ( )