Blender V5.3
blender::nodes Namespace Reference

Namespaces

namespace  decl
namespace  enums
namespace  eval_log
namespace  gizmos
namespace  implicit_field_inputs
namespace  inverse_eval
namespace  materialx
namespace  node_composite_alpha_convert_cc
namespace  node_composite_alpha_over_cc
namespace  node_composite_anti_aliasing_cc
namespace  node_composite_base_cryptomatte_cc
namespace  node_composite_bilateral_blur_cc
namespace  node_composite_blank_image_cc
namespace  node_composite_blur_cc
namespace  node_composite_bokeh_blur_cc
namespace  node_composite_bokeh_image_cc
namespace  node_composite_box_mask_cc
namespace  node_composite_brightness_contrast_cc
namespace  node_composite_channel_key_cc
namespace  node_composite_chroma_key_cc
namespace  node_composite_color_balance_cc
namespace  node_composite_color_cc
namespace  node_composite_color_correction_cc
namespace  node_composite_color_key_cc
namespace  node_composite_color_spill_cc
namespace  node_composite_combine_color_cc
namespace  node_composite_convert_color_space_cc
namespace  node_composite_convert_to_display_cc
namespace  node_composite_convolve_cc
namespace  node_composite_corner_pin_cc
namespace  node_composite_crop_cc
namespace  node_composite_cryptomatte_cc
namespace  node_composite_defocus_cc
namespace  node_composite_denoise_cc
namespace  node_composite_depth_combin_cc
namespace  node_composite_despeckle_cc
namespace  node_composite_difference_key_cc
namespace  node_composite_dilate_erode_cc
namespace  node_composite_directional_blur_cc
namespace  node_composite_displace_cc
namespace  node_composite_distance_key_cc
namespace  node_composite_double_edge_mask_cc
namespace  node_composite_ellipse_mask_cc
namespace  node_composite_exposure_cc
namespace  node_composite_file_output_cc
namespace  node_composite_filter_cc
namespace  node_composite_flip_cc
namespace  node_composite_glare_cc
namespace  node_composite_group_cc
namespace  node_composite_hue_correct_cc
namespace  node_composite_hue_saturation_value_cc
namespace  node_composite_id_mask_cc
namespace  node_composite_image_cc
namespace  node_composite_image_coordinates_cc
namespace  node_composite_image_info_cc
namespace  node_composite_inpaint_cc
namespace  node_composite_invert_cc
namespace  node_composite_keying_cc
namespace  node_composite_keying_screen_cc
namespace  node_composite_kuwahara_cc
namespace  node_composite_legacy_cryptomatte_cc
namespace  node_composite_lens_distortion_cc
namespace  node_composite_levels_cc
namespace  node_composite_luminance_key_cc
namespace  node_composite_map_uv_cc
namespace  node_composite_mask_cc
namespace  node_composite_mask_to_sdf_cc
namespace  node_composite_movie_clip_cc
namespace  node_composite_movie_distortion_cc
namespace  node_composite_normal_cc
namespace  node_composite_normalize_cc
namespace  node_composite_pixelate_cc
namespace  node_composite_plane_track_deform_cc
namespace  node_composite_posterize_cc
namespace  node_composite_relative_to_pixel_cc
namespace  node_composite_render_layer_cc
namespace  node_composite_rgb_curves_cc
namespace  node_composite_rgb_to_bw_cc
namespace  node_composite_rotate_cc
namespace  node_composite_scale_cc
namespace  node_composite_scene_time_cc
namespace  node_composite_separate_color_cc
namespace  node_composite_set_alpha_cc
namespace  node_composite_split_cc
namespace  node_composite_stabilize_2d_cc
namespace  node_composite_string_to_image_cc
namespace  node_composite_strip_info_cc
namespace  node_composite_switch_cc
namespace  node_composite_switch_view_cc
namespace  node_composite_time_curves_cc
namespace  node_composite_tone_map_cc
namespace  node_composite_track_position_cc
namespace  node_composite_transform_cc
namespace  node_composite_translate_cc
namespace  node_composite_vector_blur_cc
namespace  node_composite_viewer_cc
namespace  node_fn_align_euler_to_vector_cc
namespace  node_fn_align_rotation_to_vector_cc
namespace  node_fn_axes_to_rotation_cc
namespace  node_fn_axis_angle_to_rotation_cc
namespace  node_fn_bit_math_cc
namespace  node_fn_boolean_math_cc
namespace  node_fn_combine_color_cc
namespace  node_fn_combine_matrix_cc
namespace  node_fn_combine_transform_cc
namespace  node_fn_compare_cc
namespace  node_fn_euler_to_rotation_cc
namespace  node_fn_find_in_string_cc
namespace  node_fn_float_to_int_cc
namespace  node_fn_format_string_cc
namespace  node_fn_get_vector_component_cc
namespace  node_fn_hash_value_cc
namespace  node_fn_input_bool_cc
namespace  node_fn_input_color_cc
namespace  node_fn_input_int_cc
namespace  node_fn_input_int_vector_cc
namespace  node_fn_input_menu_cc
namespace  node_fn_input_rotation_cc
namespace  node_fn_input_special_characters_cc
namespace  node_fn_input_string_cc
namespace  node_fn_input_vector_cc
namespace  node_fn_integer_math_cc
namespace  node_fn_invert_matrix_cc
namespace  node_fn_invert_rotation_cc
namespace  node_fn_match_string_cc
namespace  node_fn_matrix_determinant_cc
namespace  node_fn_matrix_multiply_cc
namespace  node_fn_matrix_svd_cc
namespace  node_fn_project_point_cc
namespace  node_fn_quaternion_to_rotation_cc
namespace  node_fn_random_value_cc
namespace  node_fn_replace_string_cc
namespace  node_fn_reverse_string_cc
namespace  node_fn_rotate_euler_cc
namespace  node_fn_rotate_rotation_cc
namespace  node_fn_rotate_vector_cc
namespace  node_fn_rotation_to_axis_angle_cc
namespace  node_fn_rotation_to_euler_cc
namespace  node_fn_rotation_to_quaternion_cc
namespace  node_fn_separate_color_cc
namespace  node_fn_separate_matrix_cc
namespace  node_fn_separate_transform_cc
namespace  node_fn_set_string_case_cc
namespace  node_fn_slice_string_cc
namespace  node_fn_split_string_cc
namespace  node_fn_string_length_cc
namespace  node_fn_string_to_value_cc
namespace  node_fn_transform_direction_cc
namespace  node_fn_transform_point_cc
namespace  node_fn_transpose_matrix_cc
namespace  node_fn_trim_string_cc
namespace  node_fn_value_to_string_cc
namespace  node_geo_accumulate_field_cc
namespace  node_geo_attribute_capture_cc
namespace  node_geo_attribute_domain_size_cc
namespace  node_geo_attribute_statistic_cc
namespace  node_geo_bake_cc
namespace  node_geo_bevel_cc
namespace  node_geo_blur_attribute_cc
namespace  node_geo_bone_info_cc
namespace  node_geo_boolean_cc
namespace  node_geo_bounding_box_cc
namespace  node_geo_camera_info_cc
namespace  node_geo_closure_cc
namespace  node_geo_closure_to_list_cc
namespace  node_geo_cluster_by_distance_cc
namespace  node_geo_collection_children_cc
namespace  node_geo_collection_info_cc
namespace  node_geo_combine_bundle_cc
namespace  node_geo_combine_list_cc
namespace  node_geo_construct_curves_cc
namespace  node_geo_convex_hull_cc
namespace  node_geo_cube_grid_topology_cc
namespace  node_geo_curve_endpoint_selection_cc
namespace  node_geo_curve_fill_cc
namespace  node_geo_curve_fillet_cc
namespace  node_geo_curve_handle_type_selection_cc
namespace  node_geo_curve_length_cc
namespace  node_geo_curve_primitive_arc_cc
namespace  node_geo_curve_primitive_bezier_segment_cc
namespace  node_geo_curve_primitive_circle_cc
namespace  node_geo_curve_primitive_line_cc
namespace  node_geo_curve_primitive_quadratic_bezier_cc
namespace  node_geo_curve_primitive_quadrilateral_cc
namespace  node_geo_curve_primitive_spiral_cc
namespace  node_geo_curve_primitive_star_cc
namespace  node_geo_curve_resample_cc
namespace  node_geo_curve_reverse_cc
namespace  node_geo_curve_sample_cc
namespace  node_geo_curve_set_handle_type_cc
namespace  node_geo_curve_spline_parameter_cc
namespace  node_geo_curve_spline_type_cc
namespace  node_geo_curve_subdivide_cc
namespace  node_geo_curve_to_mesh_cc
namespace  node_geo_curve_to_points_cc
namespace  node_geo_curve_topology_curve_of_point_cc
namespace  node_geo_curve_topology_points_of_curve_cc
namespace  node_geo_curve_trim_cc
namespace  node_geo_curves_to_grease_pencil_cc
namespace  node_geo_deform_curves_on_surface_cc
namespace  node_geo_delete_geometry_cc
namespace  node_geo_distribute_points_in_grid_cc
namespace  node_geo_distribute_points_in_volume_cc
namespace  node_geo_distribute_points_on_faces_cc
namespace  node_geo_dual_mesh_cc
namespace  node_geo_duplicate_elements_cc
namespace  node_geo_edge_paths_to_curves_cc
namespace  node_geo_edge_paths_to_selection_cc
namespace  node_geo_edge_split_cc
namespace  node_geo_edges_to_face_groups_cc
namespace  node_geo_enable_output_cc
namespace  node_geo_evaluate_at_index_cc
namespace  node_geo_evaluate_closure_cc
namespace  node_geo_evaluate_on_domain_cc
namespace  node_geo_extrude_mesh_cc
namespace  node_geo_field_average_cc
namespace  node_geo_field_min_and_max_cc
namespace  node_geo_field_to_grid_cc
namespace  node_geo_field_to_list_cc
namespace  node_geo_field_variance_cc
namespace  node_geo_filter_list_cc
namespace  node_geo_flip_faces_cc
namespace  node_geo_foreach_geometry_element_cc
namespace  node_geo_geometry_materials
namespace  node_geo_geometry_to_instance_cc
namespace  node_geo_get_attribute_names_cc
namespace  node_geo_get_bundle_item_cc
namespace  node_geo_get_geometry_bundle
namespace  node_geo_get_geometry_component_cc
namespace  node_geo_get_grid_names_cc
namespace  node_geo_get_named_grid_cc
namespace  node_geo_get_nested_bundle_paths_cc
namespace  node_geo_gizmo_dial_cc
namespace  node_geo_gizmo_linear_cc
namespace  node_geo_gizmo_transform_cc
namespace  node_geo_grease_pencil_color__cc
namespace  node_geo_grease_pencil_draw_time__cc
namespace  node_geo_grease_pencil_fill_id__cc
namespace  node_geo_grease_pencil_opacity__cc
namespace  node_geo_grease_pencil_set_depth_mode
namespace  node_geo_grease_pencil_stroke_softness__cc
namespace  node_geo_grease_pencil_stroke_visibility__cc
namespace  node_geo_grease_pencil_to_curves_cc
namespace  node_geo_grid_advect_cc
namespace  node_geo_grid_clip_cc
namespace  node_geo_grid_curl_cc
namespace  node_geo_grid_deactivate_voxels
namespace  node_geo_grid_dilate_erode_cc
namespace  node_geo_grid_divergence_cc
namespace  node_geo_grid_gradient_cc
namespace  node_geo_grid_info_cc
namespace  node_geo_grid_laplacian_cc
namespace  node_geo_grid_mean_cc
namespace  node_geo_grid_median_cc
namespace  node_geo_grid_prune_cc
namespace  node_geo_grid_solve_poisson_cc
namespace  node_geo_grid_to_mesh_cc
namespace  node_geo_grid_to_points_cc
namespace  node_geo_grid_topology_boolean
namespace  node_geo_grid_voxelize_cc
namespace  node_geo_image_cc
namespace  node_geo_image_info_cc
namespace  node_geo_image_texture_cc
namespace  node_geo_import_csv
namespace  node_geo_import_obj
namespace  node_geo_import_spz
namespace  node_geo_import_stl
namespace  node_geo_import_text
namespace  node_geo_import_vdb
namespace  node_geo_index_of_nearest_cc
namespace  node_geo_index_switch_cc
namespace  node_geo_input_active_camera_cc
namespace  node_geo_input_cluster_by_connected_cc
namespace  node_geo_input_collection_cc
namespace  node_geo_input_curve_handles_cc
namespace  node_geo_input_curve_tilt_cc
namespace  node_geo_input_edge_smooth_cc
namespace  node_geo_input_face_smooth_cc
namespace  node_geo_input_font_cc
namespace  node_geo_input_id_cc
namespace  node_geo_input_index_cc
namespace  node_geo_input_instance_bounds_cc
namespace  node_geo_input_instance_reference_cc
namespace  node_geo_input_instance_rotation_cc
namespace  node_geo_input_instance_scale_cc
namespace  node_geo_input_instance_transform_cc
namespace  node_geo_input_material_cc
namespace  node_geo_input_material_index_cc
namespace  node_geo_input_mesh_edge_angle_cc
namespace  node_geo_input_mesh_edge_neighbors_cc
namespace  node_geo_input_mesh_edge_vertices_cc
namespace  node_geo_input_mesh_face_area_cc
namespace  node_geo_input_mesh_face_is_planar_cc
namespace  node_geo_input_mesh_face_neighbors_cc
namespace  node_geo_input_mesh_island_cc
namespace  node_geo_input_mesh_vertex_neighbors_cc
namespace  node_geo_input_named_attribute_cc
namespace  node_geo_input_named_layer_selection__cc
namespace  node_geo_input_normal_cc
namespace  node_geo_input_object_cc
namespace  node_geo_input_position_cc
namespace  node_geo_input_radius_cc
namespace  node_geo_input_scene_time_cc
namespace  node_geo_input_shortest_edge_paths_cc
namespace  node_geo_input_spline_cyclic_cc
namespace  node_geo_input_spline_length_cc
namespace  node_geo_input_spline_resolution_cc
namespace  node_geo_input_tangent_cc
namespace  node_geo_input_voxel_index_cc
namespace  node_geo_instance_on_points_cc
namespace  node_geo_instances_to_points_cc
namespace  node_geo_interpolate_curves_cc
namespace  node_geo_is_viewport_cc
namespace  node_geo_join_bundle
namespace  node_geo_join_geometry_cc
namespace  node_geo_list_get_item_cc
namespace  node_geo_list_length_cc
namespace  node_geo_material_replace_cc
namespace  node_geo_material_selection_cc
namespace  node_geo_menu_switch_cc
namespace  node_geo_merge_by_distance_cc
namespace  node_geo_merge_layers_cc
namespace  node_geo_merge_points_cc
namespace  node_geo_mesh_face_group_boundaries_cc
namespace  node_geo_mesh_primitive_circle_cc
namespace  node_geo_mesh_primitive_cone_cc
namespace  node_geo_mesh_primitive_cube_cc
namespace  node_geo_mesh_primitive_cylinder_cc
namespace  node_geo_mesh_primitive_grid_cc
namespace  node_geo_mesh_primitive_ico_sphere_cc
namespace  node_geo_mesh_primitive_line_cc
namespace  node_geo_mesh_primitive_uv_sphere_cc
namespace  node_geo_mesh_subdivide_cc
namespace  node_geo_mesh_to_curve_cc
namespace  node_geo_mesh_to_density_grid_cc
namespace  node_geo_mesh_to_points_cc
namespace  node_geo_mesh_to_sdf_grid_cc
namespace  node_geo_mesh_to_volume_cc
namespace  node_geo_mesh_topology_corners_of_edge_cc
namespace  node_geo_mesh_topology_corners_of_face_cc
namespace  node_geo_mesh_topology_corners_of_vertex_cc
namespace  node_geo_mesh_topology_edges_of_corner_cc
namespace  node_geo_mesh_topology_edges_of_vertex_cc
namespace  node_geo_mesh_topology_face_of_corner_cc
namespace  node_geo_mesh_topology_offset_corner_in_face_cc
namespace  node_geo_mesh_topology_vertex_of_corner_cc
namespace  node_geo_mouse_position_cc
namespace  node_geo_nurbs_order__cc
namespace  node_geo_nurbs_weight__cc
namespace  node_geo_object_info_cc
namespace  node_geo_offset_point_in_curve_cc
namespace  node_geo_points_cc
namespace  node_geo_points_to_curves_cc
namespace  node_geo_points_to_sdf_grid_cc
namespace  node_geo_points_to_vertices_cc
namespace  node_geo_points_to_volume_cc
namespace  node_geo_points_type_cc
namespace  node_geo_proximity_cc
namespace  node_geo_rasterize_points
namespace  node_geo_raycast_cc
namespace  node_geo_realize_instances_cc
namespace  node_geo_remove_attribute_cc
namespace  node_geo_rename_attribute_cc
namespace  node_geo_repeat_cc
namespace  node_geo_rotate_instances_cc
namespace  node_geo_sample_grid_cc
namespace  node_geo_sample_grid_index_cc
namespace  node_geo_sample_index_cc
namespace  node_geo_sample_nearest_cc
namespace  node_geo_sample_nearest_surface_cc
namespace  node_geo_sample_sound_frequencies_cc
namespace  node_geo_sample_uv_surface_cc
namespace  node_geo_scale_elements_cc
namespace  node_geo_scale_instances_cc
namespace  node_geo_sdf_grid_boolean_cc
namespace  node_geo_sdf_grid_fillet_cc
namespace  node_geo_sdf_grid_laplacian_cc
namespace  node_geo_sdf_grid_mean_cc
namespace  node_geo_sdf_grid_mean_curvature_cc
namespace  node_geo_sdf_grid_median_cc
namespace  node_geo_sdf_grid_offset_cc
namespace  node_geo_self_object_cc
namespace  node_geo_separate_bundle_cc
namespace  node_geo_separate_components_cc
namespace  node_geo_separate_geometry_cc
namespace  node_geo_set_curve_handles_cc
namespace  node_geo_set_curve_normal_cc
namespace  node_geo_set_curve_radius_cc
namespace  node_geo_set_curve_tilt_cc
namespace  node_geo_set_geometry_bundle
namespace  node_geo_set_geometry_name
namespace  node_geo_set_grease_pencil_color_cc
namespace  node_geo_set_grease_pencil_softness_cc
namespace  node_geo_set_grid_background
namespace  node_geo_set_grid_transform
namespace  node_geo_set_id_cc
namespace  node_geo_set_instance_transform_cc
namespace  node_geo_set_material_cc
namespace  node_geo_set_material_index_cc
namespace  node_geo_set_mesh_normal_cc
namespace  node_geo_set_nurbs_order_cc
namespace  node_geo_set_nurbs_weight_cc
namespace  node_geo_set_point_radius_cc
namespace  node_geo_set_position_cc
namespace  node_geo_set_shade_smooth_cc
namespace  node_geo_set_spline_cyclic_cc
namespace  node_geo_set_spline_resolution_cc
namespace  node_geo_simulation_cc
namespace  node_geo_sort_elements_cc
namespace  node_geo_sort_list_cc
namespace  node_geo_split_to_instances_cc
namespace  node_geo_store_bundle_item_cc
namespace  node_geo_store_named_attribute_cc
namespace  node_geo_store_named_grid_cc
namespace  node_geo_string_join_cc
namespace  node_geo_string_to_curves_cc
namespace  node_geo_subdivision_surface_cc
namespace  node_geo_switch_cc
namespace  node_geo_tag_filter_cc
namespace  node_geo_tool_3d_cursor_cc
namespace  node_geo_tool_active_element_cc
namespace  node_geo_tool_face_set_cc
namespace  node_geo_tool_selection_cc
namespace  node_geo_tool_set_face_set_cc
namespace  node_geo_tool_set_selection_cc
namespace  node_geo_transfer_attributes_cc
namespace  node_geo_transform_geometry_cc
namespace  node_geo_translate_instances_cc
namespace  node_geo_triangulate_cc
namespace  node_geo_uv_pack_islands_cc
namespace  node_geo_uv_tangent_cc
namespace  node_geo_uv_unwrap_cc
namespace  node_geo_viewer_cc
namespace  node_geo_viewport_transform_cc
namespace  node_geo_volume_cube_cc
namespace  node_geo_volume_to_mesh_cc
namespace  node_geo_warning_cc
namespace  node_geo_xpbd_solver_cc
namespace  node_sh_mix_cc
namespace  node_shader_add_shader_cc
namespace  node_shader_ambient_occlusion_cc
namespace  node_shader_attribute_cc
namespace  node_shader_background_cc
namespace  node_shader_bevel_cc
namespace  node_shader_blackbody_cc
namespace  node_shader_brightness_cc
namespace  node_shader_bsdf_diffuse_cc
namespace  node_shader_bsdf_glass_cc
namespace  node_shader_bsdf_glossy_cc
namespace  node_shader_bsdf_hair_cc
namespace  node_shader_bsdf_hair_principled_cc
namespace  node_shader_bsdf_metallic_cc
namespace  node_shader_bsdf_principled_cc
namespace  node_shader_bsdf_ray_portal_cc
namespace  node_shader_bsdf_refraction_cc
namespace  node_shader_bsdf_sheen_cc
namespace  node_shader_bsdf_toon_cc
namespace  node_shader_bsdf_translucent_cc
namespace  node_shader_bsdf_transparent_cc
namespace  node_shader_bump_cc
namespace  node_shader_camera_cc
namespace  node_shader_clamp_cc
namespace  node_shader_color_ramp_cc
namespace  node_shader_combine_color_cc
namespace  node_shader_curves_cc
namespace  node_shader_displacement_cc
namespace  node_shader_eevee_specular_cc
namespace  node_shader_emission_cc
namespace  node_shader_fresnel_cc
namespace  node_shader_gamma_cc
namespace  node_shader_geometry_cc
namespace  node_shader_hair_info_cc
namespace  node_shader_holdout_cc
namespace  node_shader_hueSatVal_cc
namespace  node_shader_ies_light_cc
namespace  node_shader_invert_cc
namespace  node_shader_layer_weight_cc
namespace  node_shader_light_accumulation_cc
namespace  node_shader_light_evaluation_cc
namespace  node_shader_light_falloff_cc
namespace  node_shader_light_info_cc
namespace  node_shader_light_iter_internal_cc
namespace  node_shader_light_path_cc
namespace  node_shader_map_range_cc
namespace  node_shader_mapping_cc
namespace  node_shader_math_cc
namespace  node_shader_mix_rgb_cc
namespace  node_shader_mix_shader_cc
namespace  node_shader_normal_cc
namespace  node_shader_normal_map_cc
namespace  node_shader_object_info_cc
namespace  node_shader_output_aov_cc
namespace  node_shader_output_light_cc
namespace  node_shader_output_linestyle_cc
namespace  node_shader_output_material_cc
namespace  node_shader_output_world_cc
namespace  node_shader_particle_info_cc
namespace  node_shader_point_info_cc
namespace  node_shader_radial_tiling_cc
namespace  node_shader_raycast_cc
namespace  node_shader_rgb_cc
namespace  node_shader_rgb_to_bw_cc
namespace  node_shader_script_cc
namespace  node_shader_separate_color_cc
namespace  node_shader_sepcomb_xyz_cc
namespace  node_shader_shader_to_rgb_cc
namespace  node_shader_shadow_raycast_cc
namespace  node_shader_squeeze_cc
namespace  node_shader_subsurface_scattering_cc
namespace  node_shader_tangent_cc
namespace  node_shader_tex_brick_cc
namespace  node_shader_tex_checker_cc
namespace  node_shader_tex_coord_cc
namespace  node_shader_tex_environment_cc
namespace  node_shader_tex_gabor_cc
namespace  node_shader_tex_gradient_cc
namespace  node_shader_tex_image_cc
namespace  node_shader_tex_magic_cc
namespace  node_shader_tex_noise_cc
namespace  node_shader_tex_sky_cc
namespace  node_shader_tex_voronoi_cc
namespace  node_shader_tex_wave_cc
namespace  node_shader_tex_white_noise_cc
namespace  node_shader_uv_along_stroke_cc
namespace  node_shader_uvmap_cc
namespace  node_shader_value_cc
namespace  node_shader_vector_displacement_cc
namespace  node_shader_vector_math_cc
namespace  node_shader_vector_rotate_cc
namespace  node_shader_vector_transform_cc
namespace  node_shader_vertex_color_cc
namespace  node_shader_volume_absorption_cc
namespace  node_shader_volume_coefficients_cc
namespace  node_shader_volume_info_cc
namespace  node_shader_volume_principled_cc
namespace  node_shader_volume_scatter_cc
namespace  node_shader_wavelength_cc
namespace  node_shader_wireframe_cc
namespace  nodes_geo_import_ply
namespace  partial_eval
namespace  physics_bundles
namespace  reference_lifetimes
namespace  sim_input
namespace  sim_output
namespace  socket_items
namespace  socket_usage_inference
namespace  switch_node_inference_utils
namespace  tests
namespace  value_elem

Classes

class  AttributeAccessor
struct  AttributeDomainAndType
class  AttributeFieldInput
struct  AttributeFilter
class  AttributeIter
struct  AttributeReader
struct  AttributeWriter
struct  BakeDrawContext
struct  BakeItemsAccessor
struct  BakeNodeBehavior
class  BaseSocketDeclarationBuilder
class  bNodeTreeZone
class  bNodeTreeZones
struct  BooleanRNAAccessors
struct  BuildGraphParams
class  Bundle
struct  BundleItemInternalValue
class  BundleItemInternalValueMixin
struct  BundleItemSocketValue
struct  BundleItemValue
class  BundleKey
struct  BundleSignature
struct  BundleSyncState
class  BundleType
class  BundleTypeRegistry
struct  CaptureAttributeItemsAccessor
class  ClampWrapperFunction
class  Closure
struct  ClosureEagerEvalParams
struct  ClosureEvalLocation
struct  ClosureEvalLog
struct  ClosureFunctionIndices
struct  ClosureInputItemsAccessor
class  ClosureIntermediateGraphSideEffectProvider
struct  ClosureOutputItemsAccessor
class  ClosureSignature
struct  ClosureSourceLocation
struct  ClosureSyncState
struct  ClosureToListItemsAccessor
struct  CombineBundleItemsAccessor
struct  CombineListItemsAccessor
struct  CompositorNodesSrnaContext
class  CurveComponent
struct  CustomSocketDrawParams
class  DeclarationListBuilder
struct  EnumRNAAccessors
struct  EvalDependencies
struct  EvaluateClosureEvalStorage
struct  EvaluateClosureFunction
struct  EvaluateClosureFunctionIndices
struct  EvaluateClosureInputItemsAccessor
struct  EvaluateClosureOutputItemsAccessor
class  Field
class  FieldContext
class  FieldEvaluator
class  FieldInput
class  FieldOperation
struct  FieldToGridItemsAccessor
struct  FieldToListItemsAccessor
struct  FileOutputItemsAccessor
class  FlatBundleType
class  FlatBundleTypeBuilder
struct  FloatMathOperationInfo
struct  ForeachElementComponent
struct  ForeachElementComponentID
struct  ForeachGeometryElementEvalStorage
struct  ForeachGeometryElementGenerationItemsAccessor
struct  ForeachGeometryElementInputItemsAccessor
struct  ForeachGeometryElementMainItemsAccessor
class  ForeachGeometryElementNodeExecuteWrapper
class  ForeachGeometryElementZoneSideEffectProvider
struct  FormatStringItemsAccessor
struct  FoundNestedNodeID
class  GatherLinkSearchOpParams
struct  GAttributeReader
struct  GAttributeWriter
struct  GeneratedTreeSrnaData
class  GeometryComponent
class  GeometryComponentEditData
struct  GeometryNodeLazyFunctionGraphMapping
struct  GeometryNodesGroupFunction
struct  GeometryNodesLazyFunctionBuilder
struct  GeometryNodesLazyFunctionGraphInfo
class  GeometryNodesLazyFunctionLogger
class  GeometryNodesLazyFunctionSideEffectProvider
class  GeometryNodesReferenceSet
struct  GeometrySet
class  GeoNodeExecParams
class  GeoNodesBakeParams
struct  GeoNodesCallData
struct  GeoNodesLocalUserData
struct  GeoNodesModifierData
struct  GeoNodesMultiInput
struct  GeoNodesOperatorData
struct  GeoNodesOperatorDepsgraphs
struct  GeoNodesSideEffectNodes
class  GeoNodesSimulationParams
struct  GeoNodesUserData
struct  GeoViewerItemsAccessor
class  GField
class  GList
class  GListPtr
class  GreasePencilComponent
struct  GSpanAttributeWriter
struct  IDPropNameGetter
struct  IndexSwitchItemsAccessor
class  InferenceValue
struct  InlineShaderNodeTreeParams
struct  InputUsageHint
class  InstancesComponent
class  ItemDeclaration
class  LayoutDeclaration
class  LazyFunctionForBakeInputsUsage
class  LazyFunctionForClosureZone
class  LazyFunctionForEnableOutputSocketUsage
class  LazyFunctionForEvaluateClosureNode
class  LazyFunctionForExtractingReferenceSet
class  LazyFunctionForForeachGeometryElementZone
class  LazyFunctionForGeometryNode
class  LazyFunctionForGizmoInputsUsage
class  LazyFunctionForGizmoNode
class  LazyFunctionForGroupNode
class  LazyFunctionForImplicitConversion
class  LazyFunctionForImplicitInput
class  LazyFunctionForImplicitSceneFrame
class  LazyFunctionForImplicitSelfObject
class  LazyFunctionForIndexSwitchSocketUsage
class  LazyFunctionForJoinReferenceSets
class  LazyFunctionForLogicalOr
class  LazyFunctionForMultiFunctionNode
class  LazyFunctionForMultiInput
class  LazyFunctionForMutedNode
struct  LazyFunctionForReduceForeachGeometryElement
class  LazyFunctionForRepeatZone
class  LazyFunctionForRerouteNode
class  LazyFunctionForSimulationInputsUsage
class  LazyFunctionForSimulationZone
class  LazyFunctionForSwitchSocketUsage
class  LazyFunctionForUndefinedNode
class  LazyFunctionForViewerInputUsage
class  LazyFunctionForViewerNode
struct  LinkedBundleSignatures
struct  LinkedClosureSignatures
class  LinkSearchOpParams
class  List
class  ListFieldContext
class  ListPtr
struct  MenuSwitchItemsAccessor
struct  MenuValue
class  MeshComponent
class  MutableAttributeAccessor
class  NestedBundleType
class  NodeAttributeFilter
class  NodeDeclaration
class  NodeDeclarationBuilder
struct  NodeExtraInfoParams
struct  NodeExtraInfoRow
struct  NodeInContext
class  NodeMultiFunctionBuilder
class  NodeMultiFunctions
struct  NodeWarning
struct  OutputAttributeInfo
struct  OutputAttributeToStore
struct  OutputStructureTypeDependency
class  PanelDeclaration
class  PanelDeclarationBuilder
class  PointCloudComponent
struct  RasterizePointsItemsAccessor
struct  RaycastSampleAttributeItemsAccessor
struct  ReferenceLifetimesInfo
struct  ReferenceSetInfo
class  RepeatBodyNodeExecuteWrapper
struct  RepeatEvalStorage
struct  RepeatItemsAccessor
class  RepeatZoneSideEffectProvider
class  SampleIndexFunction
class  ScopedComputeContextTimer
class  ScopedNodeTimer
struct  SeparateBundleItemsAccessor
class  SeparatorDeclaration
class  ShaderNodesMultiFunctionUserData
struct  SimulationItemsAccessor
struct  SimulationZoneBehavior
class  SocketDeclaration
class  SocketDeclarationBuilder
struct  SocketInContext
struct  SocketLinkOperation
struct  SocketNameRNA
class  SocketValueInferencer
class  SocketValueInferencerImpl
class  SocketValueVariant
struct  SpanAttributeWriter
class  StringPattern
struct  StructureTypeInterface
struct  TreeInContext
class  VolumeComponent
struct  ZoneBodyFunction
struct  ZoneBuildInfo
struct  ZoneFunctionIndices

Typedefs

using BundlePtr = ImplicitSharingPtr<Bundle>
using JoinReferenceSetsCache = Map<Vector<lf::OutputSocket *>, lf::OutputSocket *>
using FlatBundleTypePtr = std::shared_ptr<const FlatBundleType>
using NestedBundleTypePtr = std::shared_ptr<const NestedBundleType>
using ClosurePtr = ImplicitSharingPtr<Closure>
using ReferenceSetIndex = int
using ItemDeclarationPtr = std::unique_ptr<ItemDeclaration>
using CustomSocketDrawFn = std::function<void(CustomSocketDrawParams &params)>
using CustomSocketLabelFn = std::function<StringRefNull(const bNode &node)>
using SocketUsageInferenceFn
using SocketDeclarationPtr = std::unique_ptr<SocketDeclaration>
using DrawNodeLayoutFn = void(ui::Layout &, bContext *, PointerRNA *)
using PanelDeclarationPtr = std::unique_ptr<PanelDeclaration>
using ImplicitInputValueFn = std::function<void(const bNode &node, void *r_value)>

Enumerations

enum class  NodeSyncState { Synced , CanBeSynced , NoSyncSource , ConflictingSyncSources }
enum class  CompositorNodesInputType { Fallback = 0 , Value = 1 }
enum class  BundlePathsGatherFilterResult { None , Recurse , Take }
enum class  InputUsageHintType { Never , DependsOnOutput , DynamicSocket }
enum class  GeometryNodesInputType { Fallback = 0 , Value = 1 , Attribute = 2 , Layer = 3 }
enum class  CompositorInputRealizationMode : int8_t { None , Transforms , OperationDomain }
enum class  StringPatternMode { Exact = 0 , Wildcard = 1 }
enum class  NodeWarningType { Error = 0 , Warning = 1 , Info = 2 }
enum class  ReferenceSetType
enum class  AttrDomain
enum class  ReferenceSetType
enum class  AttrDomain
enum class  NamedAttributeUsage

Functions

bool get_bake_draw_context (const bContext *C, const bNode &node, BakeDrawContext &r_ctx)
std::string get_baked_string (const BakeDrawContext &ctx)
std::optional< std::string > get_bake_state_string (const BakeDrawContext &ctx)
void draw_common_bake_settings (bContext *C, BakeDrawContext &ctx, ui::Layout &layout)
void draw_bake_button_row (const BakeDrawContext &ctx, ui::Layout &layout, bool is_in_sidebar=false)
bool socket_type_supported_in_bundle (const eNodeSocketDatatype socket_type, const int ntree_type)
std::optional< StringRefNull > combine_bundle_node_type (const bNodeTree &tree, const bNode &node)
bool socket_type_supported_in_closure (const eNodeSocketDatatype socket_type, const int ntree_type)
const bNodeSocket * evaluate_closure_node_internally_linked_input (const bNodeSocket &output_socket)
bool tag_filter_matches (const StringRef tag_filter, const Set< std::string > &tags)
void geo_viewer_node_log (const bNode &node, const Span< bke::SocketValueVariant * > input_values, eval_log::ViewerNodeLog &r_log)
bool check_tool_context_and_error (GeoNodeExecParams &params)
void search_link_ops_for_tool_node (GatherLinkSearchOpParams &params)
void node_geo_sdf_grid_error_not_levelset (GeoNodeExecParams &params)
const EnumPropertyItem * grid_data_type_socket_items_filter_fn (bContext *, PointerRNA *, PropertyRNA *, bool *r_free)
const EnumPropertyItem * grid_socket_type_items_filter_fn (bContext *, PointerRNA *, PropertyRNA *, bool *r_free)
void node_geo_exec_with_missing_openvdb (GeoNodeExecParams &params)
void node_geo_exec_with_too_old_openvdb (GeoNodeExecParams &params)
void draw_data_blocks (const bContext *C, ui::Layout &layout, PointerRNA &bake_rna)
static void draw_bake_data_block_list_item (uiList *, const bContext *, ui::Layout &layout, PointerRNA *, PointerRNA *itemptr, int, PointerRNA *, const char *, int, int)
std::unique_ptr< LazyFunction > get_bake_lazy_function (const bNode &node, GeometryNodesLazyFunctionGraphInfo &lf_graph_info)
static void register_node_type_geo_group ()
std::unique_ptr< LazyFunction > get_enable_output_node_lazy_function (const bNode &node, GeometryNodesLazyFunctionGraphInfo &own_lf_graph_info)
std::unique_ptr< LazyFunction > get_index_switch_node_lazy_function (const bNode &node, GeometryNodesLazyFunctionGraphInfo &lf_graph_info)
std::unique_ptr< LazyFunction > get_menu_switch_node_lazy_function (const bNode &node, GeometryNodesLazyFunctionGraphInfo &lf_graph_info)
std::unique_ptr< LazyFunction > get_menu_switch_node_boolean_outputs_lazy_function (const bNode &node, GeometryNodesLazyFunctionGraphInfo &lf_graph_info)
std::unique_ptr< LazyFunction > get_menu_switch_node_socket_usage_lazy_function (const bNode &node)
std::unique_ptr< LazyFunction > get_simulation_input_lazy_function (const bNodeTree &node_tree, const bNode &node, GeometryNodesLazyFunctionGraphInfo &own_lf_graph_info)
std::unique_ptr< LazyFunction > get_simulation_output_lazy_function (const bNode &node, GeometryNodesLazyFunctionGraphInfo &own_lf_graph_info)
std::unique_ptr< LazyFunction > get_switch_node_lazy_function (const bNode &node)
std::unique_ptr< LazyFunction > get_warning_node_lazy_function (const bNode &node)
static BundleTypeRegistry & get_bundle_type_registry ()
static void draw_property_for_socket (DrawGroupInputsContext &ctx, ui::Layout &layout, const bNodeTreeInterfaceSocket &socket, PointerRNA *socket_props_ptr, const std::optional< StringRef > parent_name=std::nullopt)
static void draw_interface_root_panel_content (DrawGroupInputsContext &ctx, ui::Layout &layout, const bNodeTreeInterfacePanel &interface_panel, const Span< bool > skipped_inputs)
static Array< bool > find_automatic_inputs (const bNodeTree &tree, const int num_float_inputs, const int num_color_inputs)
static void draw_mask_input_type_settings (const bContext &C, ui::Layout &layout, PointerRNA *ptr)
static void draw_error_message (const bNodeTree &tree, ui::Layout &layout, const bool is_mask_used)
void draw_compositor_nodes_modifier_ui (const bContext &C, PointerRNA *modifier_ptr, ui::Layout &layout)
void draw_compositor_nodes_effect_ui (const bContext &C, PointerRNA *strip_ptr, ui::Layout &layout)
static std::pair< const Strip *, const StripModifierData * > find_strip_and_modifier_data_from_system_property (const PointerRNA *ptr)
static const Strip * find_effect_strip_from_system_property (const PointerRNA *ptr)
static std::optional< std::string > rna_CompositorNodesModifierPropertyInput_path (const PointerRNA *ptr)
static std::optional< std::string > rna_CompositorNodesEffectPropertyInput_path (const PointerRNA *ptr)
static StructRNA * get_input_socket_struct_rna (const bNodeTree &tree, const bNodeTreeInterfaceSocket &socket, const CompositorNodesSrnaContext &context, GeneratedTreeSrnaData &r_generated)
static StructRNA * create_inputs_srna (const bNodeTree &tree, const CompositorNodesSrnaContext &context, GeneratedTreeSrnaData &r_generated)
static StructRNA * create_panels_srna (const bNodeTree &tree, GeneratedTreeSrnaData &r_generated)
static std::shared_ptr< GeneratedTreeSrnaData > create_compositor_nodes_rna (const bNodeTree &tree, const CompositorNodesSrnaContext &context)
std::shared_ptr< GeneratedTreeSrnaData > create_compositor_nodes_rna_for_strip_modifier (const bNodeTree &tree)
std::shared_ptr< GeneratedTreeSrnaData > create_compositor_nodes_rna_for_effect (const bNodeTree &tree)
static bool is_used_default_input (const bNodeSocket &socket, const NodeDefaultInputType type)
static void add_eval_dependencies_from_socket (const bNodeSocket &socket, EvalDependencies &deps)
static void add_eval_dependencies_from_node_data (const bNodeTree &tree, EvalDependencies &deps)
static bool has_enabled_nodes_of_type (const bNodeTree &tree, const UString type_idname)
static void add_own_transform_dependencies (const bNodeTree &tree, EvalDependencies &deps)
static bool needs_scene_render_params (const bNodeTree &ntree)
static void gather_geometry_nodes_eval_dependencies (const bNodeTree &ntree, EvalDependencies &deps, FunctionRef< const EvalDependencies *(const bNodeTree &group)> get_group_deps)
EvalDependencies gather_eval_dependencies_with_cache (const bNodeTree &ntree)
static void gather_geometry_nodes_eval_dependencies_recursive_impl (const bNodeTree &ntree, Map< const bNodeTree *, EvalDependencies > &deps_by_tree)
EvalDependencies gather_eval_dependencies_recursive (const bNodeTree &ntree)
bool operator== (const BundleSignature &a, const BundleSignature &b)
bool operator!= (const BundleSignature &a, const BundleSignature &b)
static BundleItemValue create_nested_bundle_item ()
NodeSocketInterfaceStructureType get_structure_type_for_bundle_signature (const bNodeSocket &socket, const NodeSocketInterfaceStructureType stored_structure_type, const bool allow_auto_structure_type)
static void foreach_nested_bundle_item_recursive (const Bundle &bundle, const FunctionRef< void(Span< BundleKey >, const BundleItemValue &value)> fn, Vector< BundleKey > &r_path)
void foreach_nested_bundle_item (const Bundle &bundle, const FunctionRef< void(Span< BundleKey >, const BundleItemValue &value)> fn)
Vector< std::string > gather_bundle_paths_by_bundle_type (const Bundle &bundle, const FunctionRef< bool(StringRef type)> type_filter_fn)
Vector< std::string > gather_bundle_paths_by_data_type (const Bundle &bundle, const eNodeSocketDatatype data_type)
static eval_log::NodeTreeLog * get_root_tree_log (const Object &object, const NodesModifierData &nmd)
static std::optional< ed::space_node::ObjectAndModifier > get_modifier_data (Main &bmain, const wmWindowManager &wm, const ModifierSearchData &data)
static void layer_name_search_update_fn (const bContext *C, void *arg, const char *str, ui::SearchItems *items, const bool is_first)
static void layer_name_search_exec_fn (bContext *C, void *data_v, void *item_v)
static void add_layer_name_search_button (DrawGroupInputsContext &ctx, ui::Layout &layout, const bNodeTreeInterfaceSocket &socket, PointerRNA *socket_props_ptr)
static void attribute_search_update_fn (const bContext *C, void *arg, const char *str, ui::SearchItems *items, const bool is_first)
static void attribute_search_exec_fn (bContext *C, void *data_v, void *item_v)
static void add_attribute_search_button (DrawGroupInputsContext &ctx, ui::Layout &layout, PointerRNA *socket_props_ptr, const bNodeTreeInterfaceSocket &socket)
static void add_attribute_search_or_value_buttons (DrawGroupInputsContext &ctx, ui::Layout &layout, const bNodeTreeInterfaceSocket &socket, PointerRNA *socket_props_ptr, const std::optional< StringRefNull > use_name=std::nullopt)
static void draw_property_for_socket (DrawGroupInputsContext &ctx, ui::Layout &layout, const bNodeTreeInterfaceSocket &socket, PointerRNA *socket_props_ptr, const std::optional< StringRef > parent_name=std::nullopt)
static std::string get_node_warning_panel_name (const int num_errors, const int num_warnings, const int num_infos)
static void draw_warnings (const bContext *C, const NodesModifierData &nmd, ui::Layout &layout, PointerRNA *md_ptr)
static bool has_output_attribute (const DrawGroupInputsContext &ctx, const bNodeTree *tree)
static void draw_property_for_output_socket (DrawGroupInputsContext &ctx, ui::Layout &layout, const bNodeTreeInterfaceSocket &socket)
static void draw_output_attributes_panel (DrawGroupInputsContext &ctx, ui::Layout &layout)
static void draw_bake_panel (ui::Layout &layout, PointerRNA *modifier_ptr)
static void draw_named_attributes_panel (ui::Layout &layout, Object &object, NodesModifierData &nmd)
static void draw_manage_panel (const bContext *C, ui::Layout &layout, PointerRNA *modifier_ptr, NodesModifierData &nmd)
void draw_geometry_nodes_modifier_ui (const bContext &C, PointerRNA *modifier_ptr, ui::Layout &layout)
void draw_geometry_nodes_operator_redo_ui (const bContext &C, wmOperator &op, bNodeTree &tree, eval_log::NodeTreeLog *tree_log)
bool operator== (const ClosureSignature &a, const ClosureSignature &b)
bool operator!= (const ClosureSignature &a, const ClosureSignature &b)
void evaluate_closure_eagerly (const Closure &closure, ClosureEagerEvalParams &params)
LazyFunction & build_closure_zone_lazy_function (ResourceScope &scope, const bNodeTree &btree, const bke::bNodeTreeZone &zone, ZoneBuildInfo &zone_info, const ZoneBodyFunction &body_fn, std::shared_ptr< GeometryNodesLazyFunctionGraphInfo > &lf_graph_info)
EvaluateClosureFunction build_evaluate_closure_node_lazy_function (ResourceScope &scope, const bNode &bnode)
bool socket_type_has_attribute_toggle (const eNodeSocketDatatype type)
bool input_has_attribute_toggle (const bNodeTree &node_tree, const int socket_index)
template<typename T>
static std::optional< bke::SocketValueVariant > load_attribute_field_input (PointerRNA &input_props_ptr)
template<typename T>
static bke::SocketValueVariant load_data_block_input (const GeoNodesCallData *call_data, PointerRNA &input_props_ptr)
static GeometryNodesInputType get_effective_input_type (PointerRNA *input_props_ptr, const bNodeTree &ntree, const bNodeTreeInterfaceSocket &io_socket)
static bke::SocketValueVariant init_socket_cpp_value (const GeoNodesCallData *call_data, PointerRNA *input_props_ptr, const bNodeTree &ntree, const bNodeTreeInterfaceSocket &io_socket)
static MultiValueMap< bke::AttrDomain, OutputAttributeInfo > find_output_attributes_to_store (const bNodeTree &tree, const PointerRNA &properties_ptr, Span< GMutablePointer > output_values)
static Vector< OutputAttributeToStore > compute_attributes_to_store (const bke::GeometrySet &geometry, const MultiValueMap< bke::AttrDomain, OutputAttributeInfo > &outputs_by_domain, const Span< const bke::GeometryComponent::Type > component_types)
static void remove_anonymous_attributes (bke::GeometrySet &geometry)
static void store_computed_output_attributes (bke::GeometrySet &geometry, const MutableSpan< OutputAttributeToStore > attributes_to_store)
static void store_output_attributes (bke::GeometrySet &geometry, const bNodeTree &tree, const PointerRNA &properties_ptr, Span< GMutablePointer > output_values)
bke::GeometrySet execute_geometry_nodes_on_geometry (const bNodeTree &btree, const PointerRNA &properties_ptr, const ComputeContext &base_compute_context, GeoNodesCallData &call_data, bke::GeometrySet input_geometry)
Vector< InferenceValue > get_geometry_nodes_input_inference_values (const bNodeTree &btree, const PointerRNA &properties_ptr, ResourceScope &scope)
static std::optional< AttrDomain > get_foreach_attribute_propagation_target_domain (const GeometryComponent::Type component_type)
LazyFunction & build_foreach_geometry_element_zone_lazy_function (ResourceScope &scope, const bNodeTree &btree, const bke::bNodeTreeZone &zone, ZoneBuildInfo &zone_info, const ZoneBodyFunction &body_fn)
static void lazy_function_interface_from_node (const bNode &node, Vector< lf::Input > &r_inputs, Vector< lf::Output > &r_outputs, MutableSpan< int > r_lf_index_by_bsocket)
void construct_socket_default_value (const bke::bNodeSocketType &stype, void *r_value)
void set_default_value_for_output_socket (lf::Params &params, const int lf_index, const bNodeSocket &bsocket)
void set_default_remaining_node_outputs (lf::Params &params, const bNode &node)
std::string make_anonymous_attribute_socket_inspection_string (const bNodeSocket &socket)
std::string make_anonymous_attribute_socket_inspection_string (StringRef node_name, StringRef socket_name)
static void execute_multi_function_on_value_variant__single (const MultiFunction &fn, const Span< SocketValueVariant * > input_values, const Span< SocketValueVariant * > output_values, GeoNodesUserData *user_data)
static void execute_multi_function_on_value_variant__field (const MultiFunction &fn, const std::shared_ptr< MultiFunction > &owned_fn, const Span< SocketValueVariant * > input_values, const Span< SocketValueVariant * > output_values)
bool execute_multi_function_on_value_variant (const MultiFunction &fn, const std::shared_ptr< MultiFunction > &owned_fn, const Span< SocketValueVariant * > input_values, const Span< SocketValueVariant * > output_values, GeoNodesUserData *user_data, std::string &r_error_message)
std::optional< SocketValueVariant > implicitly_convert_socket_value (const bke::bNodeSocketType &from_type, const SocketValueVariant &from_value, const bke::bNodeSocketType &to_type)
const LazyFunction * build_implicit_conversion_lazy_function (const bke::bNodeSocketType &from_type, const bke::bNodeSocketType &to_type, ResourceScope &scope)
static bool gizmo_is_used (const GeoNodesUserData &user_data, const lf::FunctionNode &lf_gizmo_node)
bool should_log_verbose_in_context (const GeoNodesUserData &user_data, const ComputeContextHash hash)
void report_from_multi_function (const mf::Context &context, NodeWarningType type, std::string message)
static bool ignore_zone_bsocket (const bNodeSocket &bsocket)
void initialize_zone_wrapper (const bNodeTreeZone &zone, ZoneBuildInfo &zone_info, const ZoneBodyFunction &body_fn, const bool expose_all_reference_sets, Vector< lf::Input > &r_inputs, Vector< lf::Output > &r_outputs)
std::string zone_wrapper_input_name (const ZoneBuildInfo &zone_info, const bNodeTreeZone &zone, const Span< lf::Input > inputs, const int lf_socket_i)
std::string zone_wrapper_output_name (const ZoneBuildInfo &zone_info, const bNodeTreeZone &zone, const Span< lf::Output > outputs, const int lf_socket_i)
static std::shared_ptr< GeometryNodesLazyFunctionGraphInfo > ensure_geometry_nodes_lazy_function_graph_impl (const bNodeTree &btree)
const std::shared_ptr< const GeometryNodesLazyFunctionGraphInfo > & ensure_geometry_nodes_lazy_function_graph (const bNodeTree &btree)
std::optional< FoundNestedNodeID > find_nested_node_id (const GeoNodesUserData &user_data, const int node_id)
static const ID * get_only_evaluated_id (const Depsgraph &depsgraph, const ID &id_orig)
static GList::ArrayData array_data_from_garray (GArray<> array)
LazyFunction & build_repeat_zone_lazy_function (ResourceScope &scope, const bNodeTree &btree, const bke::bNodeTreeZone &zone, ZoneBuildInfo &zone_info, const ZoneBodyFunction &body_fn)
static const ModifierData * find_modifier_data_from_system_property (const PointerRNA *ptr)
static std::optional< std::string > rna_NodesModifierPropertyInput_path (const PointerRNA *ptr)
static StructRNA * get_input_socket_struct_rna (const bNodeTree &tree, const bNodeTreeInterfaceSocket &socket, GeneratedTreeSrnaData &r_generated)
static StructRNA * create_inputs_srna (const bNodeTree &tree, GeneratedTreeSrnaData &r_generated)
static std::optional< std::string > rna_NodesModifierPropertyOutput_path (const PointerRNA *ptr)
void geometry_nodes_property_update (Main *, Scene *, PointerRNA *ptr)
static StructRNA * create_outputs_srna (const bNodeTree &tree, GeneratedTreeSrnaData &r_generated)
static StructRNA * create_panels_srna (const bNodeTree &tree, GeneratedTreeSrnaData &r_generated)
std::shared_ptr< GeneratedTreeSrnaData > create_geometry_nodes_rna_for_modifier (const bNodeTree &tree)
GListPtr evaluate_field_to_list (GField field, const int64_t count)
static GListPtr create_repeated_list (GListPtr list, const int64_t dst_size)
static void add_list_to_params (mf::ParamsBuilder &params, const mf::ParamType &param_type, const GList &list)
static bool execute_multi_function_on_value_variant__list_individual (const int64_t output_size, const MultiFunction &fn, const std::shared_ptr< MultiFunction > &owned_fn, const Span< SocketValueVariant * > input_values, const Span< SocketValueVariant * > output_values, GeoNodesUserData *user_data, std::string &r_error_message)
bool execute_multi_function_on_value_variant__list (const MultiFunction &fn, const std::shared_ptr< MultiFunction > &owned_fn, const Span< SocketValueVariant * > input_values, const Span< SocketValueVariant * > output_values, GeoNodesUserData *user_data, std::string &r_error_message)
static const mf::MultiFunction * get_base_multi_function (const bNode &node)
void node_math_build_multi_function (NodeMultiFunctionBuilder &builder)
const FloatMathOperationInfo * get_float_math_operation_info (const int operation)
const FloatMathOperationInfo * get_float_compare_operation_info (const int operation)
const FloatMathOperationInfo * get_float3_math_operation_info (const int operation)
static bool interface_panel_has_socket (const bNodeTreeInterfacePanel &interface_panel, FunctionRef< bool(const bNodeTreeInterfaceSocket &)> fn_input_is_visible)
static bool interface_panel_affects_output (const bNodeTreeInterfacePanel &panel, FunctionRef< bool(const bNodeTreeInterfaceSocket &)> fn_input_is_active)
void draw_interface_panel_as_panel (const bContext &C, ui::Layout &layout, PointerRNA *properties_ptr, const bNodeTreeInterfacePanel &interface_panel, FunctionRef< bool(const bNodeTreeInterfaceSocket &)> fn_input_is_visible, FunctionRef< bool(const bNodeTreeInterfaceSocket &)> fn_input_is_active, FunctionRef< void(ui::Layout &, const bNodeTreeInterfaceSocket &, PointerRNA *, const std::optional< StringRef >)> fn_draw_property_for_socket)
void draw_interface_panel_content (const bContext &C, ui::Layout &layout, PointerRNA *properties_ptr, const bNodeTreeInterfacePanel &interface_panel, FunctionRef< bool(const bNodeTreeInterfaceSocket &)> fn_input_is_visible, FunctionRef< bool(const bNodeTreeInterfaceSocket &)> fn_input_is_active, FunctionRef< void(ui::Layout &, const bNodeTreeInterfaceSocket &, PointerRNA *, const std::optional< StringRef >)> fn_draw_property_for_socket, const bool skip_first, const std::optional< StringRef > parent_name)
static std::function< ID *(const bNode &node)> get_default_id_getter (const bNodeTreeInterface &tree_interface, const bNodeTreeInterfaceSocket &io_socket)
static std::function< void(bNode &node, bNodeSocket &socket, const char *data_path)> get_init_socket_fn (const bNodeTreeInterface &tree_interface, const bNodeTreeInterfaceSocket &io_socket)
static BaseSocketDeclarationBuilder & build_interface_socket_declaration (const bNodeTree &tree, const bNodeTreeInterfaceSocket &io_socket, const std::optional< StructureType > structure_type, const eNodeSocketInOut in_out, DeclarationListBuilder &b)
static void node_group_declare_panel_recursive (DeclarationListBuilder &b, const bNode &node, const bNodeTree &group, const Map< const bNodeTreeInterfaceSocket *, StructureType > &structure_type_by_socket, const bNodeTreeInterfacePanel &io_parent_panel, const bool is_root)
void node_group_declare (NodeDeclarationBuilder &b)
static void group_input_declare (NodeDeclarationBuilder &b)
static void group_output_declare (NodeDeclarationBuilder &b)
static bool group_input_insert_link (bke::NodeInsertLinkParams &params)
static bool group_output_insert_link (bke::NodeInsertLinkParams &params)
static void node_group_input_layout (ui::Layout &layout, bContext *C, PointerRNA *ptr)
static void node_group_output_layout (ui::Layout &layout, bContext *C, PointerRNA *ptr)
static void reset_declaration (NodeDeclaration &declaration)
void build_node_declaration (const bke::bNodeType &typeinfo, NodeDeclaration &r_declaration, const bNodeTree *ntree, const bNode *node)
static void assert_valid_panels_recursive (const NodeDeclaration &node_decl, const Span< const ItemDeclaration * > items, Vector< const SocketDeclaration * > &r_flat_inputs, Vector< const SocketDeclaration * > &r_flat_outputs)
template<typename Fn>
static bool socket_type_to_static_decl_type (const eNodeSocketDatatype socket_type, Fn &&fn)
std::unique_ptr< SocketDeclaration > make_declaration_for_socket_type (const eNodeSocketDatatype socket_type)
static const bNodeSocket & find_single_menu_input (const bNode &node)
std::optional< ImplicitInputValueFn > get_implicit_input_value_fn (const NodeDefaultInputType type)
bool socket_type_supports_default_input_type (const bke::bNodeSocketType &socket_type, const NodeDefaultInputType input_type)
bool node_tree_type_supports_default_input_type (eNodeTree_Type node_tree_type, NodeDefaultInputType input_type)
bool default_input_type_is_field (const NodeDefaultInputType input_type)
const EnumPropertyItem * enum_items_filter (const EnumPropertyItem *original_item_array, FunctionRef< bool(const EnumPropertyItem &item)> fn)
PropertyRNA * RNA_def_node_enum (StructRNA *srna, const char *identifier, const char *ui_name, const char *ui_description, const EnumPropertyItem *static_items, const EnumRNAAccessors accessors, std::optional< int > default_value, const EnumPropertyItemFunc item_func, const bool allow_animation)
PropertyRNA * RNA_def_node_boolean (StructRNA *srna, const char *identifier, const char *ui_name, const char *ui_description, const BooleanRNAAccessors accessors, std::optional< bool > default_value, bool allow_animation)
static void refresh_node_socket (bNodeTree &ntree, bNode &node, const SocketDeclaration &socket_decl, Vector< bNodeSocket * > &old_sockets, VectorSet< bNodeSocket * > &new_sockets, const bool hide_new_sockets)
static void refresh_node_panel (const PanelDeclaration &panel_decl, Vector< bNodePanelState > &old_panels, bNodePanelState &new_panel)
static const char * get_identifier_from_decl (const char *identifier_prefix, const bNodeSocket &socket, const Span< const SocketDeclaration * > socket_decls)
static const char * get_identifier_from_decl (const Span< const char * > identifier_prefixes, const bNodeSocket &socket, const Span< const SocketDeclaration * > socket_decls)
static const char * get_current_socket_identifier_for_future_socket (const bNode &node, const bNodeSocket &socket, const Span< const SocketDeclaration * > socket_decls)
static void do_forward_compat_versioning (bNode &node, const NodeDeclaration &node_decl)
static bool hide_new_group_input_sockets (const bNode &node)
static void refresh_node_sockets_animation_inout (Main &bmain, bNodeTree &ntree, bNode &node, const eNodeSocketInOut in_out, const Span< bNodeSocket * > old_sockets, const Span< bNodeSocket * > new_sockets)
static void refresh_node_sockets_and_panels (Main *bmain, bNodeTree &ntree, bNode &node, const NodeDeclaration &node_decl, const bool do_id_user)
static void refresh_node (Main *bmain, bNodeTree &ntree, bNode &node, nodes::NodeDeclaration &node_decl, bool do_id_user)
void update_node_declaration_and_sockets (bNodeTree &ntree, bNode &node, Main *bmain)
bool socket_type_supports_fields (const eNodeSocketDatatype socket_type)
bool socket_type_supports_attributes (const eNodeSocketDatatype socket_type)
bool socket_type_supports_grids (const eNodeSocketDatatype socket_type)
void node_tree_shader_default (const bContext *C, Main *bmain, ID *id)
void node_tree_composit_default_init (const bContext *C, bNodeTree *ntree)
static std::optional< std::string > rna_SceneCompositorEffectInputProperty_path (const PointerRNA *property_ptr)
static StructRNA * get_input_socket_struct_rna (const bNodeTree &node_group, const bNodeTreeInterfaceSocket &socket, GeneratedTreeSrnaData &r_generated)
static StructRNA * create_inputs_srna (const bNodeTree &node_group, GeneratedTreeSrnaData &r_generated)
static StructRNA * create_panels_srna (const bNodeTree &node_group, GeneratedTreeSrnaData &r_generated)
std::shared_ptr< GeneratedTreeSrnaData > create_scene_compositor_effect_inputs_srna (const bNodeTree &node_group)
bool inline_shader_node_tree (const bNodeTree &src_tree, bNodeTree &dst_tree, InlineShaderNodeTreeParams &params)
void search_link_ops_for_declarations (GatherLinkSearchOpParams &params, Span< SocketDeclaration * > declarations)
void search_link_ops_for_basic_node (GatherLinkSearchOpParams &params)
void search_filtered_link_ops_for_basic_node (GatherLinkSearchOpParams &params, const Set< UString > &skip_socket_identifiers)
static BundleSyncState get_sync_state_separate_bundle (const SpaceNode &snode, const bNode &separate_bundle_node, const bNodeSocket *src_bundle_socket=nullptr)
static LinkedBundleSignatures get_expected_combine_bundle_signatures (const SpaceNode &snode, const bNode &combine_bundle_node, const bNodeSocket *src_bundle_socket)
static BundleSyncState get_sync_state_combine_bundle (const SpaceNode &snode, const bNode &combine_bundle_node, const bNodeSocket *src_bundle_socket=nullptr)
static ClosureSyncState get_sync_state_closure_output (const SpaceNode &snode, const bNode &closure_output_node, const bNodeSocket *src_closure_socket=nullptr)
static ClosureSyncState get_sync_state_evaluate_closure (const SpaceNode &snode, const bNode &evaluate_closure_node, const bNodeSocket *src_closure_socket=nullptr)
static ClosureSyncState get_sync_state_closure_to_list (const SpaceNode &snode, const bNode &closure_to_list_node, const bNodeSocket *src_closure_socket=nullptr)
void sync_sockets_separate_bundle (SpaceNode &snode, bNode &separate_bundle_node, ReportList *reports, const bNodeSocket *src_bundle_socket)
void sync_sockets_combine_bundle (SpaceNode &snode, bNode &combine_bundle_node, ReportList *reports, const bNodeSocket *src_bundle_socket)
void sync_sockets_evaluate_closure (SpaceNode &snode, bNode &evaluate_closure_node, ReportList *reports, const bNodeSocket *src_closure_socket)
void sync_sockets_closure (SpaceNode &snode, bNode &closure_input_node, bNode &closure_output_node, ReportList *reports, const bNodeSocket *src_closure_socket)
void sync_sockets_closure_to_list (SpaceNode &snode, bNode &closure_to_list_node, ReportList *reports, const bNodeSocket *src_closure_socket)
static std::string get_bundle_sync_tooltip (const nodes::BundleSignature &old_signature, const nodes::BundleSignature &new_signature)
static std::string get_closure_sync_tooltip (const nodes::ClosureSignature &old_signature, const nodes::ClosureSignature &new_signature)
void sync_node (bContext &C, bNode &node, ReportList *reports)
std::string sync_node_description_get (const bContext &C, const bNode &node)
bool node_can_sync_sockets (const bContext &C, const bNodeTree &, const bNode &node)
void node_can_sync_cache_clear (Main &bmain)
static bool target_socket_evaluates_closure (const SocketInContext &socket)
static bool is_closure_zone_output_socket (const SocketInContext &socket)
static bool use_link_for_tracing (const bNodeLink &link)
static Vector< SocketInContext > find_origin_sockets_through_contexts (SocketInContext start_socket, bke::ComputeContextCache &compute_context_cache, FunctionRef< bool(const SocketInContext &)> handle_possible_origin_socket_fn, bool find_all)
static Vector< SocketInContext > find_target_sockets_through_contexts (const SocketInContext start_socket, bke::ComputeContextCache &compute_context_cache, const FunctionRef< bool(const SocketInContext &)> handle_possible_target_socket_fn, const bool find_all)
const ComputeContext * compute_context_for_closure_evaluation (const ComputeContext *closure_socket_context, const bNodeSocket &closure_socket, bke::ComputeContextCache &compute_context_cache, const std::optional< ClosureSourceLocation > &source_location)
static Vector< SocketInContext > find_origin_sockets_through_contexts (const SocketInContext start_socket, bke::ComputeContextCache &compute_context_cache, const FunctionRef< bool(const SocketInContext &)> handle_possible_origin_socket_fn, const bool find_all)
LinkedBundleSignatures gather_linked_target_bundle_signatures (const ComputeContext *bundle_socket_context, const bNodeSocket &bundle_socket, bke::ComputeContextCache &compute_context_cache)
LinkedBundleSignatures gather_linked_origin_bundle_signatures (const ComputeContext *bundle_socket_context, const bNodeSocket &bundle_socket, bke::ComputeContextCache &compute_context_cache)
LinkedClosureSignatures gather_linked_target_closure_signatures (const ComputeContext *closure_socket_context, const bNodeSocket &closure_socket, bke::ComputeContextCache &compute_context_cache)
LinkedClosureSignatures gather_linked_origin_closure_signatures (const ComputeContext *closure_socket_context, const bNodeSocket &closure_socket, bke::ComputeContextCache &compute_context_cache)
std::optional< NodeInContext > find_origin_index_menu_switch (const SocketInContext &src_socket, bke::ComputeContextCache &compute_context_cache)
bool execute_multi_function_on_value_variant__volume_grid (const mf::MultiFunction &, const Span< bke::SocketValueVariant * >, const Span< bke::SocketValueVariant * >, std::string &r_error_message)
int node_warning_type_icon (const NodeWarningType type)
int node_warning_type_severity (const NodeWarningType type)
StringRefNull node_warning_type_name (const NodeWarningType type)
bool warning_is_propagated (const NodeWarningPropagation propagation, const NodeWarningType warning_type)
void foreach_nested_bundle_item (const Bundle &bundle, FunctionRef< void(Span< BundleKey > path, const BundleItemValue &value)> fn)
template<typename T>
const bke::bNodeSocketType * socket_type_info_by_static_type ()
template<typename T>
constexpr bool is_valid_internal_bundle_item_type ()
eNodeSocketDatatype socket_type_for_value_variant (const bke::SocketValueVariant &value)
template<typename T, typename Fn>
void to_stored_type (T &&value, Fn &&fn)
std::string_view format_as (const BundleKey key)
bool execute_multi_function_on_value_variant (const mf::MultiFunction &fn, const std::shared_ptr< mf::MultiFunction > &owned_fn, Span< bke::SocketValueVariant * > input_values, Span< bke::SocketValueVariant * > output_values, GeoNodesUserData *user_data, std::string &r_error_message)
bool execute_multi_function_on_value_variant (const std::shared_ptr< mf::MultiFunction > &owned_fn, const Span< bke::SocketValueVariant * > input_values, const Span< bke::SocketValueVariant * > output_values, GeoNodesUserData *user_data, std::string &r_error_message)
bool execute_multi_function_on_value_variant (const mf::MultiFunction &fn, const Span< bke::SocketValueVariant * > input_values, const Span< bke::SocketValueVariant * > output_values, GeoNodesUserData *user_data, std::string &r_error_message)

Variables

static constexpr EnumPropertyItem input_type_item_fallback
static constexpr EnumPropertyItem input_type_item_value
const EnumPropertyItem compositor_nodes_input_type_items_fallback []
const EnumPropertyItem compositor_nodes_input_type_items_value []
static constexpr EnumPropertyItem input_type_item_fallback
static constexpr EnumPropertyItem input_type_item_value
static constexpr EnumPropertyItem input_type_item_attribute
static constexpr EnumPropertyItem input_type_item_layer
const EnumPropertyItem geometry_nodes_input_type_items_fallback []
const EnumPropertyItem geometry_nodes_input_type_items_value []
const EnumPropertyItem geometry_nodes_input_type_items_value_or_attribute []
const EnumPropertyItem geometry_nodes_input_type_items_value_or_attribute_or_layer []
const EnumPropertyItem string_pattern_mode_items []
constexpr StringRef input_use_attribute_suffix = "_use_attribute"
constexpr StringRef input_attribute_name_suffix = "_attribute_name"
constexpr auto node_timer_log_threshold = std::chrono::microseconds(100)
template<typename T>
constexpr bool is_ListPtr_v = false
template<typename T>
constexpr bool is_ListPtr_v< ListPtr< T > > = true
template<typename T>
constexpr bool is_GeoNodesMultiInput_v = false
template<typename T>
constexpr bool is_GeoNodesMultiInput_v< GeoNodesMultiInput< T > > = true

Typedef Documentation

◆ BundlePtr

◆ ClosurePtr

◆ CustomSocketDrawFn

using blender::nodes::CustomSocketDrawFn = std::function<void(CustomSocketDrawParams &params)>

Definition at line 158 of file NOD_node_declaration.hh.

◆ CustomSocketLabelFn

Definition at line 159 of file NOD_node_declaration.hh.

◆ DrawNodeLayoutFn

◆ FlatBundleTypePtr

using blender::nodes::FlatBundleTypePtr = std::shared_ptr<const FlatBundleType>

Definition at line 18 of file NOD_bundle_type_fwd.hh.

◆ ImplicitInputValueFn

using blender::nodes::ImplicitInputValueFn = std::function<void(const bNode &node, void *r_value)>

Definition at line 718 of file NOD_node_declaration.hh.

◆ ItemDeclarationPtr

Definition at line 136 of file NOD_node_declaration.hh.

◆ JoinReferenceSetsCache

using blender::nodes::JoinReferenceSetsCache = Map<Vector<lf::OutputSocket *>, lf::OutputSocket *>

Definition at line 1652 of file geometry_nodes_lazy_function.cc.

◆ NestedBundleTypePtr

using blender::nodes::NestedBundleTypePtr = std::shared_ptr<const NestedBundleType>

Definition at line 19 of file NOD_bundle_type_fwd.hh.

◆ PanelDeclarationPtr

Definition at line 601 of file NOD_node_declaration.hh.

◆ ReferenceSetIndex

◆ SocketDeclarationPtr

Definition at line 488 of file NOD_node_declaration.hh.

◆ SocketUsageInferenceFn

Enumeration Type Documentation

◆ AttrDomain [1/2]

enum class blender::bke::AttrDomain : int8_t
strong

Definition at line 40 of file BKE_attribute_enums.hh.

◆ AttrDomain [2/2]

enum class blender::bke::AttrDomain : int8_t
strong

Definition at line 40 of file BKE_attribute_enums.hh.

◆ BundlePathsGatherFilterResult

Enumerator
None 
Recurse 
Take 

Definition at line 188 of file NOD_geometry_nodes_bundle.hh.

◆ CompositorInputRealizationMode

An enum that maps to the #compositor::InputRealizationMode.

Enumerator
None 
Transforms 
OperationDomain 

Definition at line 48 of file NOD_node_declaration.hh.

◆ CompositorNodesInputType

Enumerator
Fallback 
Value 

Definition at line 20 of file NOD_compositor_nodes_srna.hh.

◆ GeometryNodesInputType

Shared across all socket types, though some entries don't make sense for some types.

Enumerator
Fallback 
Value 
Attribute 
Layer 

Definition at line 26 of file NOD_geometry_nodes_srna.hh.

◆ InputUsageHintType

In the general case, this is #DynamicSocket. That means that to determine if a node group will use a particular input, it has to be partially executed.

In other cases, it's not necessary to look into the node group to determine if an input is necessary.

Enumerator
Never 

The input socket is never used.

DependsOnOutput 

The input socket is used when a subset of the outputs is used.

DynamicSocket 

Can't determine statically if the input is used, check the corresponding output socket.

Definition at line 332 of file NOD_geometry_nodes_lazy_function.hh.

◆ NamedAttributeUsage

Definition at line 69 of file NOD_eval_log.hh.

◆ NodeSyncState

enum class blender::nodes::NodeSyncState
strong
Enumerator
Synced 
CanBeSynced 
NoSyncSource 
ConflictingSyncSources 

Definition at line 46 of file sync_sockets.cc.

◆ NodeWarningType

These values are also written to .blend files, so don't change them lightly.

Enumerator
Error 
Warning 
Info 

Definition at line 24 of file NOD_warning.hh.

◆ ReferenceSetType [1/2]

◆ ReferenceSetType [2/2]

◆ StringPatternMode

Enumerator
Exact 

Only exact matches are allowed.

Wildcard 

A single wildcard (*) is allowed.

Definition at line 19 of file NOD_string_pattern.hh.

Function Documentation

◆ add_attribute_search_button()

◆ add_attribute_search_or_value_buttons()

◆ add_eval_dependencies_from_node_data()

◆ add_eval_dependencies_from_socket()

◆ add_layer_name_search_button()

◆ add_list_to_params()

void blender::nodes::add_list_to_params ( mf::ParamsBuilder & params,
const mf::ParamType & param_type,
const GList & list )
static

◆ add_own_transform_dependencies()

◆ array_data_from_garray()

◆ assert_valid_panels_recursive()

◆ attribute_search_exec_fn()

void blender::nodes::attribute_search_exec_fn ( bContext * C,
void * data_v,
void * item_v )
static

◆ attribute_search_update_fn()

◆ build_closure_zone_lazy_function()

LazyFunction & blender::nodes::build_closure_zone_lazy_function ( ResourceScope & scope,
const bNodeTree & btree,
const bke::bNodeTreeZone & zone,
ZoneBuildInfo & zone_info,
const ZoneBodyFunction & body_fn,
std::shared_ptr< GeometryNodesLazyFunctionGraphInfo > & lf_graph_info )

◆ build_evaluate_closure_node_lazy_function()

◆ build_foreach_geometry_element_zone_lazy_function()

LazyFunction & blender::nodes::build_foreach_geometry_element_zone_lazy_function ( ResourceScope & scope,
const bNodeTree & btree,
const bke::bNodeTreeZone & zone,
ZoneBuildInfo & zone_info,
const ZoneBodyFunction & body_fn )

◆ build_implicit_conversion_lazy_function()

◆ build_interface_socket_declaration()

BaseSocketDeclarationBuilder & blender::nodes::build_interface_socket_declaration ( const bNodeTree & tree,
const bNodeTreeInterfaceSocket & io_socket,
const std::optional< StructureType > structure_type,
const eNodeSocketInOut in_out,
DeclarationListBuilder & b )
static

Definition at line 270 of file node_common.cc.

References b, build_interface_socket_declaration(), blender::bNodeTreeInterfaceSocket::default_input, blender::nodes::decl::Float::default_value, blender::nodes::decl::Int::default_value, blender::nodes::decl::IntVector::default_value, blender::nodes::decl::String::default_value, blender::nodes::decl::Vector::default_value, blender::bNodeTreeInterfaceSocket::flag, get_default_id_getter(), get_init_socket_fn(), blender::bke::node_interface::get_socket_data_as(), blender::bNodeTreeInterfaceSocket::identifier, blender::nodes::decl::Custom::init_socket_fn, blender::nodes::MenuValue::MenuValue(), blender::NODE_INTERFACE_SOCKET_COMPACT, blender::NODE_INTERFACE_SOCKET_HIDE_VALUE, blender::NODE_INTERFACE_SOCKET_MENU_EXPANDED, blender::NODE_INTERFACE_SOCKET_OPTIONAL_LABEL, blender::NODE_INTERFACE_SOCKET_PANEL_TOGGLE, blender::bke::node_socket_type_find(), blender::nodes::SocketDeclaration::optional_label, blender::SOCK_BOOLEAN, blender::SOCK_BUNDLE, blender::SOCK_CLOSURE, blender::SOCK_COLLECTION, blender::SOCK_CUSTOM, blender::SOCK_FLOAT, blender::SOCK_FONT, blender::SOCK_GEOMETRY, blender::SOCK_IMAGE, blender::SOCK_INT, blender::SOCK_INT_VECTOR, blender::SOCK_MASK, blender::SOCK_MATERIAL, blender::SOCK_MATRIX, blender::SOCK_MENU, blender::SOCK_OBJECT, blender::SOCK_RGBA, blender::SOCK_ROTATION, blender::SOCK_SCENE, blender::SOCK_SHADER, blender::SOCK_SOUND, blender::SOCK_STRING, blender::SOCK_TEXT_ID, blender::SOCK_TEXTURE, blender::SOCK_VECTOR, blender::bNodeTreeInterfaceSocket::socket_type, blender::bNodeTree::tree_interface, and blender::bke::bNodeSocketType::type.

Referenced by build_interface_socket_declaration(), group_input_declare(), group_output_declare(), and node_group_declare_panel_recursive().

◆ build_node_declaration()

◆ build_repeat_zone_lazy_function()

LazyFunction & blender::nodes::build_repeat_zone_lazy_function ( ResourceScope & scope,
const bNodeTree & btree,
const bke::bNodeTreeZone & zone,
ZoneBuildInfo & zone_info,
const ZoneBodyFunction & body_fn )

◆ check_tool_context_and_error()

◆ combine_bundle_node_type()

◆ compute_attributes_to_store()

◆ compute_context_for_closure_evaluation()

const ComputeContext * blender::nodes::compute_context_for_closure_evaluation ( const ComputeContext * closure_socket_context,
const bNodeSocket & closure_socket,
bke::ComputeContextCache & compute_context_cache,
const std::optional< ClosureSourceLocation > & source_location )
nodiscard

◆ construct_socket_default_value()

◆ create_compositor_nodes_rna()

◆ create_compositor_nodes_rna_for_effect()

std::shared_ptr< GeneratedTreeSrnaData > blender::nodes::create_compositor_nodes_rna_for_effect ( const bNodeTree & tree)

◆ create_compositor_nodes_rna_for_strip_modifier()

std::shared_ptr< GeneratedTreeSrnaData > blender::nodes::create_compositor_nodes_rna_for_strip_modifier ( const bNodeTree & tree)

◆ create_geometry_nodes_rna_for_modifier()

◆ create_inputs_srna() [1/3]

◆ create_inputs_srna() [2/3]

◆ create_inputs_srna() [3/3]

◆ create_nested_bundle_item()

◆ create_outputs_srna()

◆ create_panels_srna() [1/3]

◆ create_panels_srna() [2/3]

◆ create_panels_srna() [3/3]

◆ create_repeated_list()

◆ create_scene_compositor_effect_inputs_srna()

◆ default_input_type_is_field()

◆ do_forward_compat_versioning()

void blender::nodes::do_forward_compat_versioning ( bNode & node,
const NodeDeclaration & node_decl )
static

◆ draw_bake_button_row()

◆ draw_bake_data_block_list_item()

void blender::nodes::draw_bake_data_block_list_item ( uiList * ,
const bContext * ,
ui::Layout & layout,
PointerRNA * ,
PointerRNA * itemptr,
int ,
PointerRNA * ,
const char * ,
int ,
int  )
static

◆ draw_bake_panel()

◆ draw_common_bake_settings()

◆ draw_compositor_nodes_effect_ui()

◆ draw_compositor_nodes_modifier_ui()

◆ draw_data_blocks()

◆ draw_error_message()

◆ draw_geometry_nodes_modifier_ui()

void blender::nodes::draw_geometry_nodes_modifier_ui ( const bContext & C,
PointerRNA * modifier_ptr,
ui::Layout & layout )

◆ draw_geometry_nodes_operator_redo_ui()

◆ draw_interface_panel_as_panel()

◆ draw_interface_panel_content()

void blender::nodes::draw_interface_panel_content ( const bContext & C,
ui::Layout & layout,
PointerRNA * properties_ptr,
const bNodeTreeInterfacePanel & interface_panel,
FunctionRef< bool(const bNodeTreeInterfaceSocket &)> fn_input_is_visible,
FunctionRef< bool(const bNodeTreeInterfaceSocket &)> fn_input_is_active,
FunctionRef< void(ui::Layout &, const bNodeTreeInterfaceSocket &, PointerRNA *, const std::optional< StringRef >)> fn_draw_property_for_socket,
const bool skip_first,
const std::optional< StringRef > parent_name )

◆ draw_interface_root_panel_content()

◆ draw_manage_panel()

void blender::nodes::draw_manage_panel ( const bContext * C,
ui::Layout & layout,
PointerRNA * modifier_ptr,
NodesModifierData & nmd )
static

◆ draw_mask_input_type_settings()

◆ draw_named_attributes_panel()

◆ draw_output_attributes_panel()

◆ draw_property_for_output_socket()

◆ draw_property_for_socket() [1/2]

◆ draw_property_for_socket() [2/2]

◆ draw_warnings()

◆ ensure_geometry_nodes_lazy_function_graph()

◆ ensure_geometry_nodes_lazy_function_graph_impl()

◆ enum_items_filter()

const EnumPropertyItem * blender::nodes::enum_items_filter ( const EnumPropertyItem * original_item_array,
FunctionRef< bool(const EnumPropertyItem &item)> fn )

Definition at line 13 of file node_rna_define.cc.

References enum_items_filter(), blender::EnumPropertyItem::identifier, blender::RNA_enum_item_add(), and blender::RNA_enum_item_end().

Referenced by blender::nodes::socket_items::ops::add_item(), blender::nodes::node_geo_grid_advect_cc::advect_grid_socket_type_filter(), blender::nodes::enums::attribute_type_type_with_socket_fn(), blender::nodes::node_geo_combine_list_cc::data_type_items_callback(), blender::nodes::node_geo_enable_output_cc::data_type_items_callback(), blender::nodes::node_geo_index_switch_cc::data_type_items_callback(), blender::nodes::node_geo_menu_switch_cc::data_type_items_callback(), enum_items_filter(), grid_data_type_socket_items_filter_fn(), blender::nodes::node_geo_grid_mean_cc::grid_mean_socket_type_items_filter_fn(), blender::nodes::node_geo_grid_median_cc::grid_median_socket_type_items_filter_fn(), grid_socket_type_items_filter_fn(), blender::nodes::node_fn_compare_cc::node_rna(), blender::nodes::node_fn_hash_value_cc::node_rna(), blender::nodes::node_geo_attribute_domain_size_cc::node_rna(), blender::nodes::node_geo_attribute_statistic_cc::node_rna(), blender::nodes::node_geo_blur_attribute_cc::node_rna(), blender::nodes::node_geo_filter_list_cc::node_rna(), blender::nodes::node_geo_get_bundle_item_cc::node_rna(), blender::nodes::node_geo_list_get_item_cc::node_rna(), blender::nodes::node_geo_list_length_cc::node_rna(), blender::nodes::node_geo_sort_list_cc::node_rna(), blender::nodes::node_geo_store_bundle_item_cc::node_rna(), blender::nodes::node_geo_store_named_attribute_cc::node_rna(), and blender::nodes::node_geo_switch_cc::node_rna().

◆ evaluate_closure_eagerly()

void blender::nodes::evaluate_closure_eagerly ( const Closure & closure,
ClosureEagerEvalParams & params )

◆ evaluate_closure_node_internally_linked_input()

◆ evaluate_field_to_list()

◆ execute_geometry_nodes_on_geometry()

bke::GeometrySet blender::nodes::execute_geometry_nodes_on_geometry ( const bNodeTree & btree,
const PointerRNA & properties_ptr,
const ComputeContext & base_compute_context,
GeoNodesCallData & call_data,
bke::GeometrySet input_geometry )

Definition at line 555 of file geometry_nodes_execute.cc.

References blender::LinearAllocator< Allocator >::allocate(), blender::ResourceScope::allocator(), blender::Array< T, InlineBufferCapacity, Allocator >::as_mutable_span(), blender::bke::GeometrySet::bundle_for_write(), blender::nodes::GeoNodesUserData::call_data, blender::nodes::GeoNodesCallData::call_depth_limit, blender::nodes::GeoNodesUserData::compute_context, blender::ResourceScope::construct(), blender::Default, blender::GMutablePointer::destruct(), ensure_geometry_nodes_lazy_function_graph(), blender::nodes::Bundle::ensure_owns_direct_data(), execute_geometry_nodes_on_geometry(), extract(), blender::bke::SocketValueVariant::from(), blender::nodes::GeometryNodesGroupFunction::function, blender::nodes::GeometryNodesLazyFunctionGraphInfo::function, blender::bke::GeometrySet::has_bundle(), blender::bNodeTreeInterfaceSocket::identifier, blender::Array< T, InlineBufferCapacity, Allocator >::index_range(), blender::IndexRange::IndexRange(), init_socket_cpp_value(), blender::nodes::GeometryNodesGroupFunction::inputs, blender::nodes::GeometryNodesGroupFunction::outputs, PRF_scope, remove_anonymous_attributes(), blender::RNA_pointer_get(), blender::nodes::GeoNodesCallData::root_ntree, blender::SOCK_CUSTOM, blender::SOCK_GEOMETRY, store_output_attributes(), blender::bke::bNodeSocketType::type, and blender::U.

Referenced by execute_geometry_nodes_on_geometry(), blender::modifyGeometry(), and blender::ed::geometry::run_node_group_exec().

◆ execute_multi_function_on_value_variant() [1/4]

bool blender::nodes::execute_multi_function_on_value_variant ( const mf::MultiFunction & fn,
const Span< bke::SocketValueVariant * > input_values,
const Span< bke::SocketValueVariant * > output_values,
GeoNodesUserData * user_data,
std::string & r_error_message )
inlinenodiscard

◆ execute_multi_function_on_value_variant() [2/4]

bool blender::nodes::execute_multi_function_on_value_variant ( const mf::MultiFunction & fn,
const std::shared_ptr< mf::MultiFunction > & owned_fn,
Span< bke::SocketValueVariant * > input_values,
Span< bke::SocketValueVariant * > output_values,
GeoNodesUserData * user_data,
std::string & r_error_message )
nodiscard

Executes a multi-function. If all inputs are single values, the results will also be single values. If any input is a field, the outputs will also be fields.

References execute_multi_function_on_value_variant().

◆ execute_multi_function_on_value_variant() [3/4]

bool blender::nodes::execute_multi_function_on_value_variant ( const MultiFunction & fn,
const std::shared_ptr< MultiFunction > & owned_fn,
const Span< SocketValueVariant * > input_values,
const Span< SocketValueVariant * > output_values,
GeoNodesUserData * user_data,
std::string & r_error_message )
nodiscard

Executes a multi-function. If all inputs are single values, the results will also be single values. If any input is a field, the outputs will also be fields.

Definition at line 500 of file geometry_nodes_lazy_function.cc.

References execute_multi_function_on_value_variant(), execute_multi_function_on_value_variant__field(), execute_multi_function_on_value_variant__list(), execute_multi_function_on_value_variant__single(), execute_multi_function_on_value_variant__volume_grid(), blender::Span< T >::index_range(), blender::bke::SocketValueVariant::is_context_dependent_field(), blender::bke::SocketValueVariant::is_list(), and blender::bke::SocketValueVariant::is_volume_grid().

Referenced by blender::nodes::LazyFunctionForImplicitConversion::execute_impl(), blender::nodes::LazyFunctionForMultiFunctionNode::execute_impl(), blender::nodes::node_geo_menu_switch_cc::LazyFunctionMenuSwitchBooleanOutputs::execute_impl(), execute_multi_function_on_value_variant(), execute_multi_function_on_value_variant(), execute_multi_function_on_value_variant(), execute_multi_function_on_value_variant(), execute_multi_function_on_value_variant__list_individual(), implicitly_convert_socket_value(), blender::nodes::node_geo_curve_sample_cc::node_geo_exec(), blender::nodes::node_geo_image_texture_cc::node_geo_exec(), blender::nodes::node_geo_list_get_item_cc::node_geo_exec(), blender::nodes::node_geo_proximity_cc::node_geo_exec(), blender::nodes::node_geo_raycast_cc::node_geo_exec(), blender::nodes::node_geo_sample_grid_cc::node_geo_exec(), blender::nodes::node_geo_sample_grid_index_cc::node_geo_exec(), blender::nodes::node_geo_sample_index_cc::node_geo_exec(), blender::nodes::node_geo_sample_nearest_cc::node_geo_exec(), blender::nodes::node_geo_sample_nearest_surface_cc::node_geo_exec(), and blender::nodes::node_geo_sample_sound_frequencies_cc::node_geo_exec().

◆ execute_multi_function_on_value_variant() [4/4]

bool blender::nodes::execute_multi_function_on_value_variant ( const std::shared_ptr< mf::MultiFunction > & owned_fn,
const Span< bke::SocketValueVariant * > input_values,
const Span< bke::SocketValueVariant * > output_values,
GeoNodesUserData * user_data,
std::string & r_error_message )
inlinenodiscard

◆ execute_multi_function_on_value_variant__field()

void blender::nodes::execute_multi_function_on_value_variant__field ( const MultiFunction & fn,
const std::shared_ptr< MultiFunction > & owned_fn,
const Span< SocketValueVariant * > input_values,
const Span< SocketValueVariant * > output_values )
static

◆ execute_multi_function_on_value_variant__list()

◆ execute_multi_function_on_value_variant__list_individual()

◆ execute_multi_function_on_value_variant__single()

void blender::nodes::execute_multi_function_on_value_variant__single ( const MultiFunction & fn,
const Span< SocketValueVariant * > input_values,
const Span< SocketValueVariant * > output_values,
GeoNodesUserData * user_data )
static

◆ execute_multi_function_on_value_variant__volume_grid()

bool blender::nodes::execute_multi_function_on_value_variant__volume_grid ( const mf::MultiFunction & fn,
const Span< SocketValueVariant * > input_values,
const Span< SocketValueVariant * > output_values,
std::string & r_error_message )
nodiscard

Execute the multi-function with the given parameters. It is assumed that at least one of the inputs is a grid. Otherwise the topology of the output grids is not known.

Parameters
fnThe multi-function to call.
input_valuesAll input values which may be grids, fields or single values.
output_valuesWhere the output grids will be stored.
r_error_messageAn error message that is set if false is returned.
Returns
False if an error occurred. In this case the output values should not be used.

Definition at line 81 of file volume_grid_function_eval.cc.

References execute_multi_function_on_value_variant__volume_grid(), and TIP_.

Referenced by execute_multi_function_on_value_variant(), and execute_multi_function_on_value_variant__volume_grid().

◆ find_automatic_inputs()

Array< bool > blender::nodes::find_automatic_inputs ( const bNodeTree & tree,
const int num_float_inputs,
const int num_color_inputs )
static

◆ find_effect_strip_from_system_property()

◆ find_modifier_data_from_system_property()

◆ find_nested_node_id()

◆ find_origin_index_menu_switch()

◆ find_origin_sockets_through_contexts() [1/2]

Vector< SocketInContext > blender::nodes::find_origin_sockets_through_contexts ( const SocketInContext start_socket,
bke::ComputeContextCache & compute_context_cache,
const FunctionRef< bool(const SocketInContext &)> handle_possible_origin_socket_fn,
const bool find_all )
static

Definition at line 342 of file trace_values.cc.

References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::BLI_assert(), blender::nodes::SocketInContext::context, blender::bke::bNodeSocketRuntime::declaration, blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::extract_vector(), find_origin_sockets_through_contexts(), find_target_sockets_through_contexts(), blender::bke::ComputeContextCache::for_evaluate_closure(), blender::bke::ComputeContextCache::for_group_node(), blender::bke::ComputeContextCache::for_repeat_zone(), blender::bke::ComputeContextCache::for_simulation_zone(), blender::bke::bNodeTreeZones::get_zone_by_socket(), blender::IndexRange::IndexRange(), blender::nodes::NodeInContext::input_socket(), is_closure_zone_output_socket(), blender::Stack< T, InlineBufferCapacity, Allocator >::is_empty(), blender::bke::EvaluateClosureComputeContext::is_recursive(), blender::bke::bNodeTreeZones::link_between_zones_is_allowed(), blender::NodeClosureOutputItem::name, blender::NodeEvaluateClosureInputItem::name, blender::nodes::NodeInContext::node, node, blender::nodes::SocketInContext::owner_node(), blender::ComputeContext::parent(), blender::bke::bNodeTreeZone::parent_zone, blender::Stack< T, InlineBufferCapacity, Allocator >::pop(), blender::Stack< T, InlineBufferCapacity, Allocator >::push(), blender::bNodeSocket::runtime, blender::nodes::SocketInContext::socket, blender::bNode::storage, storage, target_socket_evaluates_closure(), use_link_for_tracing(), and blender::bke::zone_type_by_node_type().

◆ find_origin_sockets_through_contexts() [2/2]

◆ find_output_attributes_to_store()

MultiValueMap< bke::AttrDomain, OutputAttributeInfo > blender::nodes::find_output_attributes_to_store ( const bNodeTree & tree,
const PointerRNA & properties_ptr,
Span< GMutablePointer > output_values )
static

◆ find_single_menu_input()

◆ find_strip_and_modifier_data_from_system_property()

◆ find_target_sockets_through_contexts()

Vector< SocketInContext > blender::nodes::find_target_sockets_through_contexts ( const SocketInContext start_socket,
bke::ComputeContextCache & compute_context_cache,
const FunctionRef< bool(const SocketInContext &)> handle_possible_target_socket_fn,
const bool find_all )
static

Definition at line 66 of file trace_values.cc.

References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::BLI_assert(), blender::ed::space_node::compute_context_for_zones(), blender::nodes::SocketInContext::context, blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::extract_vector(), find_origin_sockets_through_contexts(), find_target_sockets_through_contexts(), blender::bke::ComputeContextCache::for_evaluate_closure(), blender::bke::ComputeContextCache::for_group_node(), blender::bke::ComputeContextCache::for_repeat_zone(), blender::bke::ComputeContextCache::for_simulation_zone(), blender::bke::bNodeTreeZones::get_zone_by_node(), blender::bke::bNodeTreeZones::get_zone_by_socket(), blender::bke::bNodeTreeZones::get_zones_to_enter(), blender::IndexRange::IndexRange(), blender::bke::bNodeTreeZone::input_node(), is_closure_zone_output_socket(), blender::Stack< T, InlineBufferCapacity, Allocator >::is_empty(), blender::bke::EvaluateClosureComputeContext::is_recursive(), blender::bke::bNodeTreeZones::link_between_zones_is_allowed(), blender::NodeClosureInputItem::name, blender::NodeEvaluateClosureOutputItem::name, node, blender::nodes::NodeInContext::output_socket(), blender::nodes::SocketInContext::owner_node(), blender::ComputeContext::parent(), blender::Stack< T, InlineBufferCapacity, Allocator >::pop(), blender::Stack< T, InlineBufferCapacity, Allocator >::push(), blender::nodes::SocketInContext::socket, blender::bNode::storage, storage, target_socket_evaluates_closure(), and use_link_for_tracing().

Referenced by compute_context_for_closure_evaluation(), find_origin_sockets_through_contexts(), find_target_sockets_through_contexts(), gather_linked_target_bundle_signatures(), and gather_linked_target_closure_signatures().

◆ foreach_nested_bundle_item() [1/2]

◆ foreach_nested_bundle_item() [2/2]

void blender::nodes::foreach_nested_bundle_item ( const Bundle & bundle,
FunctionRef< void(Span< BundleKey > path, const BundleItemValue &value)> fn )

◆ foreach_nested_bundle_item_recursive()

◆ format_as()

std::string_view blender::nodes::format_as ( const BundleKey key)
inline

◆ gather_bundle_paths_by_bundle_type()

◆ gather_bundle_paths_by_data_type()

◆ gather_eval_dependencies_recursive()

EvalDependencies blender::nodes::gather_eval_dependencies_recursive ( const bNodeTree & ntree)

Finds all evaluation dependencies for the given node. This does not include dependencies that are passed into the node group. It also may not contain all data-blocks referenced by the node tree if some of them can statically be detected to not be used by the evaluation.

Definition at line 323 of file dependencies.cc.

References gather_eval_dependencies_recursive(), gather_geometry_nodes_eval_dependencies_recursive_impl(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup().

Referenced by blender::bke::compositor::add_depsgraph_relations(), blender::depends_on_time(), gather_eval_dependencies_recursive(), and blender::update_depsgraph().

◆ gather_eval_dependencies_with_cache()

EvalDependencies blender::nodes::gather_eval_dependencies_with_cache ( const bNodeTree & ntree)

Same as above, but assumes that dependencies are already cached on the referenced node groups.

Definition at line 301 of file dependencies.cc.

References blender::bke::bNodeTreeRuntime::eval_dependencies, gather_eval_dependencies_with_cache(), gather_geometry_nodes_eval_dependencies(), and blender::bNodeTree::runtime.

Referenced by gather_eval_dependencies_with_cache().

◆ gather_geometry_nodes_eval_dependencies()

◆ gather_geometry_nodes_eval_dependencies_recursive_impl()

◆ gather_linked_origin_bundle_signatures()

◆ gather_linked_origin_closure_signatures()

◆ gather_linked_target_bundle_signatures()

◆ gather_linked_target_closure_signatures()

LinkedClosureSignatures blender::nodes::gather_linked_target_closure_signatures ( const ComputeContext * closure_socket_context,
const bNodeSocket & closure_socket,
bke::ComputeContextCache & compute_context_cache )

◆ geo_viewer_node_log()

void blender::nodes::geo_viewer_node_log ( const bNode & node,
const Span< bke::SocketValueVariant * > input_values,
eval_log::ViewerNodeLog & r_log )

◆ geometry_nodes_property_update()

◆ get_bake_draw_context()

bool blender::nodes::get_bake_draw_context ( const bContext * C,
const bNode & node,
BakeDrawContext & r_ctx )
nodiscard

Definition at line 514 of file node_geo_bake.cc.

References blender::bke::bake::BakeNodeCache::bake, blender::bke::bake::SimulationNodeCache::bake, blender::nodes::BakeDrawContext::bake, blender::bke::bake::ModifierCache::bake_cache_by_id, blender::NodesModifierBake::bake_mode, blender::nodes::BakeDrawContext::bake_rna, blender::nodes::BakeDrawContext::bake_still, blender::nodes::BakeDrawContext::bake_target, blender::bke::bake::Baked, blender::nodes::BakeDrawContext::baked_range, blender::NodesModifierData::bakes, blender::NodesModifierData::bakes_num, blender::BLI_assert(), C, blender::NodesModifierRuntime::cache, blender::bke::bake::SimulationNodeCache::cache_status, blender::CTX_data_scene(), blender::CTX_wm_space_node(), ELEM, blender::ed::space_node::find_nested_node_id_in_root(), blender::nodes::BakeDrawContext::frame_range, blender::bke::bake::NodeBakeCache::frames, GEO_NODE_BAKE, GEO_NODE_SIMULATION_OUTPUT, get_bake_draw_context(), blender::ed::space_node::get_geometry_nodes_modifier_for_node_editor(), blender::bke::bake::get_node_bake_frame_range(), blender::bke::bake::get_node_bake_target(), blender::NodesModifierBake::id, blender::Object::id, blender::nodes::BakeDrawContext::is_bakeable_in_current_context, blender::nodes::BakeDrawContext::is_baked, lock, blender::bke::bake::ModifierCache::mutex, blender::nodes::BakeDrawContext::nmd, blender::nodes::BakeDrawContext::node, node, blender::NODES_MODIFIER_BAKE_MODE_STILL, blender::nodes::BakeDrawContext::object, blender::RNA_pointer_create_id_subdata(), blender::RNA_pointer_create_with_parent(), blender::NodesModifierData::runtime, blender::bke::bake::ModifierCache::simulation_cache_by_id, blender::nodes::BakeDrawContext::snode, and Span< T >::Span().

Referenced by get_bake_draw_context(), blender::nodes::node_geo_bake_cc::node_extra_info(), blender::nodes::node_geo_simulation_cc::sim_output_node::node_extra_info(), blender::nodes::node_geo_bake_cc::node_layout(), blender::nodes::node_geo_bake_cc::node_layout_ex(), and blender::nodes::node_geo_simulation_cc::node_layout_ex().

◆ get_bake_lazy_function()

std::unique_ptr< LazyFunction > blender::nodes::get_bake_lazy_function ( const bNode & node,
GeometryNodesLazyFunctionGraphInfo & lf_graph_info )

Definition at line 802 of file node_geo_bake.cc.

References blender::BLI_assert(), GEO_NODE_BAKE, get_bake_lazy_function(), and node.

Referenced by get_bake_lazy_function().

◆ get_bake_state_string()

◆ get_baked_string()

◆ get_base_multi_function()

const mf::MultiFunction * blender::nodes::get_base_multi_function ( const bNode & node)
static

◆ get_bundle_sync_tooltip()

◆ get_bundle_type_registry()

◆ get_closure_sync_tooltip()

◆ get_current_socket_identifier_for_future_socket()

const char * blender::nodes::get_current_socket_identifier_for_future_socket ( const bNode & node,
const bNodeSocket & socket,
const Span< const SocketDeclaration * > socket_decls )
static

Currently, nodes that support different socket types have sockets for all supported types with different identifiers (e.g. Attribute, Attribute_001, Attribute_002, ...). In the future, we will hopefully have a better way to handle this that does not require all the sockets of different types to exist at the same time. Instead we want that there is only a single socket that can change its type while the identifier stays the same.

This function prepares us for that future. It returns the identifier that we use for a socket now based on the "base socket name" (e.g. Attribute) and its socket type. It allows us to change the socket identifiers in the future without breaking forward compatibility for the nodes handled here.

Definition at line 363 of file node_socket.cc.

References get_current_socket_identifier_for_future_socket(), get_identifier_from_decl(), blender::bNodeSocket::identifier, node, SH_NODE_MAP_RANGE, SH_NODE_MIX, blender::SOCK_VECTOR, STREQ, and blender::bNodeSocket::type.

Referenced by do_forward_compat_versioning(), and get_current_socket_identifier_for_future_socket().

◆ get_default_id_getter()

◆ get_effective_input_type()

◆ get_enable_output_node_lazy_function()

std::unique_ptr< LazyFunction > blender::nodes::get_enable_output_node_lazy_function ( const bNode & node,
GeometryNodesLazyFunctionGraphInfo & own_lf_graph_info )

◆ get_expected_combine_bundle_signatures()

◆ get_float3_math_operation_info()

◆ get_float_compare_operation_info()

◆ get_float_math_operation_info()

const FloatMathOperationInfo * blender::nodes::get_float_math_operation_info ( const int operation)

◆ get_foreach_attribute_propagation_target_domain()

std::optional< AttrDomain > blender::nodes::get_foreach_attribute_propagation_target_domain ( const GeometryComponent::Type component_type)
static

◆ get_geometry_nodes_input_inference_values()

◆ get_identifier_from_decl() [1/2]

const char * blender::nodes::get_identifier_from_decl ( const char * identifier_prefix,
const bNodeSocket & socket,
const Span< const SocketDeclaration * > socket_decls )
static

◆ get_identifier_from_decl() [2/2]

const char * blender::nodes::get_identifier_from_decl ( const Span< const char * > identifier_prefixes,
const bNodeSocket & socket,
const Span< const SocketDeclaration * > socket_decls )
static

Definition at line 338 of file node_socket.cc.

References get_identifier_from_decl().

◆ get_implicit_input_value_fn()

◆ get_index_switch_node_lazy_function()

std::unique_ptr< LazyFunction > blender::nodes::get_index_switch_node_lazy_function ( const bNode & node,
GeometryNodesLazyFunctionGraphInfo & lf_graph_info )

◆ get_init_socket_fn()

◆ get_input_socket_struct_rna() [1/3]

◆ get_input_socket_struct_rna() [2/3]

◆ get_input_socket_struct_rna() [3/3]

◆ get_menu_switch_node_boolean_outputs_lazy_function()

std::unique_ptr< LazyFunction > blender::nodes::get_menu_switch_node_boolean_outputs_lazy_function ( const bNode & node,
GeometryNodesLazyFunctionGraphInfo & lf_graph_info )

◆ get_menu_switch_node_lazy_function()

std::unique_ptr< LazyFunction > blender::nodes::get_menu_switch_node_lazy_function ( const bNode & node,
GeometryNodesLazyFunctionGraphInfo & lf_graph_info )

◆ get_menu_switch_node_socket_usage_lazy_function()

std::unique_ptr< LazyFunction > blender::nodes::get_menu_switch_node_socket_usage_lazy_function ( const bNode & node)

◆ get_modifier_data()

◆ get_node_warning_panel_name()

std::string blender::nodes::get_node_warning_panel_name ( const int num_errors,
const int num_warnings,
const int num_infos )
static

◆ get_only_evaluated_id()

const ID * blender::nodes::get_only_evaluated_id ( const Depsgraph & depsgraph,
const ID & id_orig )
static

◆ get_root_tree_log()

◆ get_simulation_input_lazy_function()

std::unique_ptr< LazyFunction > blender::nodes::get_simulation_input_lazy_function ( const bNodeTree & node_tree,
const bNode & node,
GeometryNodesLazyFunctionGraphInfo & own_lf_graph_info )

◆ get_simulation_output_lazy_function()

std::unique_ptr< LazyFunction > blender::nodes::get_simulation_output_lazy_function ( const bNode & node,
GeometryNodesLazyFunctionGraphInfo & own_lf_graph_info )

◆ get_structure_type_for_bundle_signature()

◆ get_switch_node_lazy_function()

std::unique_ptr< LazyFunction > blender::nodes::get_switch_node_lazy_function ( const bNode & node)

◆ get_sync_state_closure_output()

◆ get_sync_state_closure_to_list()

◆ get_sync_state_combine_bundle()

◆ get_sync_state_evaluate_closure()

◆ get_sync_state_separate_bundle()

◆ get_warning_node_lazy_function()

std::unique_ptr< LazyFunction > blender::nodes::get_warning_node_lazy_function ( const bNode & node)

◆ gizmo_is_used()

◆ grid_data_type_socket_items_filter_fn()

◆ grid_socket_type_items_filter_fn()

◆ group_input_declare()

◆ group_input_insert_link()

◆ group_output_declare()

◆ group_output_insert_link()

◆ has_enabled_nodes_of_type()

bool blender::nodes::has_enabled_nodes_of_type ( const bNodeTree & tree,
const UString type_idname )
static

◆ has_output_attribute()

bool blender::nodes::has_output_attribute ( const DrawGroupInputsContext & ctx,
const bNodeTree * tree )
static

◆ hide_new_group_input_sockets()

bool blender::nodes::hide_new_group_input_sockets ( const bNode & node)
static

When the extension socket on group input nodes is hidden, we consider the socket visibility fixed and don't want to add newly created group inputs.

Definition at line 433 of file node_socket.cc.

References blender::BLI_assert(), hide_new_group_input_sockets(), and node.

Referenced by hide_new_group_input_sockets(), and refresh_node_sockets_and_panels().

◆ ignore_zone_bsocket()

◆ implicitly_convert_socket_value()

◆ init_socket_cpp_value()

bke::SocketValueVariant blender::nodes::init_socket_cpp_value ( const GeoNodesCallData * call_data,
PointerRNA * input_props_ptr,
const bNodeTree & ntree,
const bNodeTreeInterfaceSocket & io_socket )
static

◆ initialize_zone_wrapper()

◆ inline_shader_node_tree()

◆ input_has_attribute_toggle()

bool blender::nodes::input_has_attribute_toggle ( const bNodeTree & node_tree,
const int socket_index )
Returns
Whether using an attribute to input values of this type is supported, and the node group's input for this socket accepts a field rather than just single values.

Definition at line 65 of file geometry_nodes_execute.cc.

References blender::BLI_assert(), ELEM, input_has_attribute_toggle(), blender::bNodeTree::runtime, socket_type_has_attribute_toggle(), blender::bke::bNodeTreeRuntime::structure_type_interface, and blender::bke::bNodeSocketType::type.

Referenced by draw_property_for_socket(), get_effective_input_type(), and input_has_attribute_toggle().

◆ interface_panel_affects_output()

bool blender::nodes::interface_panel_affects_output ( const bNodeTreeInterfacePanel & panel,
FunctionRef< bool(const bNodeTreeInterfaceSocket &)> fn_input_is_active )
static

◆ interface_panel_has_socket()

◆ is_closure_zone_output_socket()

bool blender::nodes::is_closure_zone_output_socket ( const SocketInContext & socket)
static

◆ is_used_default_input()

◆ is_valid_internal_bundle_item_type()

template<typename T>
bool blender::nodes::is_valid_internal_bundle_item_type ( )
constexpr

◆ layer_name_search_exec_fn()

void blender::nodes::layer_name_search_exec_fn ( bContext * C,
void * data_v,
void * item_v )
static

◆ layer_name_search_update_fn()

◆ lazy_function_interface_from_node()

◆ load_attribute_field_input()

template<typename T>
std::optional< bke::SocketValueVariant > blender::nodes::load_attribute_field_input ( PointerRNA & input_props_ptr)
staticnodiscard

◆ load_data_block_input()

◆ make_anonymous_attribute_socket_inspection_string() [1/2]

◆ make_anonymous_attribute_socket_inspection_string() [2/2]

std::string blender::nodes::make_anonymous_attribute_socket_inspection_string ( StringRef node_name,
StringRef socket_name )

◆ make_declaration_for_socket_type()

std::unique_ptr< SocketDeclaration > blender::nodes::make_declaration_for_socket_type ( const eNodeSocketDatatype socket_type)

◆ needs_scene_render_params()

bool blender::nodes::needs_scene_render_params ( const bNodeTree & ntree)
static

◆ node_can_sync_cache_clear()

◆ node_can_sync_sockets()

bool blender::nodes::node_can_sync_sockets ( const bContext & C,
const bNodeTree & tree,
const bNode & node )

◆ node_geo_exec_with_missing_openvdb()

void blender::nodes::node_geo_exec_with_missing_openvdb ( GeoNodeExecParams & params)

Definition at line 110 of file node_geometry_util.cc.

References Error, blender::nodes::GeoNodeExecParams::error_message_add(), node_geo_exec_with_missing_openvdb(), blender::nodes::GeoNodeExecParams::set_default_remaining_outputs(), and TIP_.

Referenced by blender::nodes::node_geo_cube_grid_topology_cc::node_geo_exec(), blender::nodes::node_geo_distribute_points_in_grid_cc::node_geo_exec(), blender::nodes::node_geo_distribute_points_in_volume_cc::node_geo_exec(), blender::nodes::node_geo_field_to_grid_cc::node_geo_exec(), blender::nodes::node_geo_get_grid_names_cc::node_geo_exec(), blender::nodes::node_geo_get_named_grid_cc::node_geo_exec(), blender::nodes::node_geo_grid_advect_cc::node_geo_exec(), blender::nodes::node_geo_grid_clip_cc::node_geo_exec(), blender::nodes::node_geo_grid_curl_cc::node_geo_exec(), blender::nodes::node_geo_grid_deactivate_voxels::node_geo_exec(), blender::nodes::node_geo_grid_dilate_erode_cc::node_geo_exec(), blender::nodes::node_geo_grid_divergence_cc::node_geo_exec(), blender::nodes::node_geo_grid_gradient_cc::node_geo_exec(), blender::nodes::node_geo_grid_info_cc::node_geo_exec(), blender::nodes::node_geo_grid_laplacian_cc::node_geo_exec(), blender::nodes::node_geo_grid_mean_cc::node_geo_exec(), blender::nodes::node_geo_grid_median_cc::node_geo_exec(), blender::nodes::node_geo_grid_prune_cc::node_geo_exec(), blender::nodes::node_geo_grid_solve_poisson_cc::node_geo_exec(), blender::nodes::node_geo_grid_to_mesh_cc::node_geo_exec(), blender::nodes::node_geo_grid_to_points_cc::node_geo_exec(), blender::nodes::node_geo_grid_topology_boolean::node_geo_exec(), blender::nodes::node_geo_grid_voxelize_cc::node_geo_exec(), blender::nodes::node_geo_import_vdb::node_geo_exec(), blender::nodes::node_geo_input_voxel_index_cc::node_geo_exec(), blender::nodes::node_geo_mesh_to_density_grid_cc::node_geo_exec(), blender::nodes::node_geo_mesh_to_sdf_grid_cc::node_geo_exec(), blender::nodes::node_geo_mesh_to_volume_cc::node_geo_exec(), blender::nodes::node_geo_points_to_sdf_grid_cc::node_geo_exec(), blender::nodes::node_geo_points_to_volume_cc::node_geo_exec(), blender::nodes::node_geo_rasterize_points::node_geo_exec(), blender::nodes::node_geo_sample_grid_cc::node_geo_exec(), blender::nodes::node_geo_sample_grid_index_cc::node_geo_exec(), blender::nodes::node_geo_sdf_grid_boolean_cc::node_geo_exec(), blender::nodes::node_geo_sdf_grid_fillet_cc::node_geo_exec(), blender::nodes::node_geo_sdf_grid_laplacian_cc::node_geo_exec(), blender::nodes::node_geo_sdf_grid_mean_cc::node_geo_exec(), blender::nodes::node_geo_sdf_grid_mean_curvature_cc::node_geo_exec(), blender::nodes::node_geo_sdf_grid_median_cc::node_geo_exec(), blender::nodes::node_geo_sdf_grid_offset_cc::node_geo_exec(), blender::nodes::node_geo_set_grid_background::node_geo_exec(), blender::nodes::node_geo_set_grid_transform::node_geo_exec(), blender::nodes::node_geo_store_named_grid_cc::node_geo_exec(), blender::nodes::node_geo_volume_cube_cc::node_geo_exec(), blender::nodes::node_geo_volume_to_mesh_cc::node_geo_exec(), and node_geo_exec_with_missing_openvdb().

◆ node_geo_exec_with_too_old_openvdb()

◆ node_geo_sdf_grid_error_not_levelset()

◆ node_group_declare()

◆ node_group_declare_panel_recursive()

◆ node_group_input_layout()

void blender::nodes::node_group_input_layout ( ui::Layout & layout,
bContext * C,
PointerRNA * ptr )
static

◆ node_group_output_layout()

void blender::nodes::node_group_output_layout ( ui::Layout & layout,
bContext * C,
PointerRNA * ptr )
static

◆ node_math_build_multi_function()

◆ node_tree_composit_default_init()

◆ node_tree_shader_default()

void blender::nodes::node_tree_shader_default ( const bContext * C,
Main * bmain,
ID * id )

Assumes nothing being done in ntree yet, sets the default in/out node. Called from shading buttons or header.

Definition at line 35 of file node_tree_defaults.cc.

References blender::BKE_material_default_gsplat(), blender::BKE_material_default_surface(), blender::BKE_material_default_volume(), blender::BKE_ntree_update_after_single_tree_change(), C, blender::copy_v3_v3(), blender::CTX_data_active_object(), blender::Object::data, DATA_, blender::bNodeSocket::default_value, ELEM, blender::GS(), blender::GSplat, blender::ID_LA, blender::ID_MA, blender::ID_WO, blender::bke::bNodeTreeType::idname, blender::bke::node_add_link(), blender::bke::node_add_static_node(), blender::bke::node_find_socket(), blender::bke::node_set_active(), blender::bke::node_tree_add_tree_embedded(), blender::bke::node_tree_copy_tree(), blender::bke::node_tree_free_embedded_tree(), node_tree_shader_default(), blender::bke::node_unique_name(), blender::ntreeType_Shader, blender::OB_POINTCLOUD, blender::OB_VOLUME, output, blender::gpu::shader::metadata::printf, blender::UString::ref(), SH_NODE_BACKGROUND, SH_NODE_EMISSION, SH_NODE_OUTPUT_LIGHT, SH_NODE_OUTPUT_WORLD, blender::SOCK_IN, blender::SOCK_OUT, STRNCPY_UTF8, and blender::Object::type.

Referenced by blender::BKE_light_add(), blender::get_or_create_current_material(), blender::new_material_exec(), blender::new_world_exec(), node_tree_shader_default(), blender::proj_paint_add_slot(), blender::nodes::tests::TEST_F(), blender::nodes::tests::TEST_F(), blender::nodes::tests::TEST_F(), blender::nodes::tests::TEST_F(), and blender::nodes::tests::TEST_F().

◆ node_tree_type_supports_default_input_type()

◆ node_warning_type_icon()

◆ node_warning_type_name()

◆ node_warning_type_severity()

◆ operator!=() [1/2]

bool blender::nodes::operator!= ( const BundleSignature & a,
const BundleSignature & b )

Definition at line 26 of file geometry_nodes_bundle.cc.

◆ operator!=() [2/2]

bool blender::nodes::operator!= ( const ClosureSignature & a,
const ClosureSignature & b )

Definition at line 53 of file geometry_nodes_closure.cc.

◆ operator==() [1/2]

bool blender::nodes::operator== ( const BundleSignature & a,
const BundleSignature & b )

Definition at line 21 of file geometry_nodes_bundle.cc.

◆ operator==() [2/2]

bool blender::nodes::operator== ( const ClosureSignature & a,
const ClosureSignature & b )

Definition at line 48 of file geometry_nodes_closure.cc.

◆ refresh_node()

◆ refresh_node_panel()

◆ refresh_node_socket()

◆ refresh_node_sockets_and_panels()

◆ refresh_node_sockets_animation_inout()

◆ register_node_type_geo_group()

◆ remove_anonymous_attributes()

void blender::nodes::remove_anonymous_attributes ( bke::GeometrySet & geometry)
static

◆ report_from_multi_function()

void blender::nodes::report_from_multi_function ( const mf::Context & context,
NodeWarningType type,
std::string message )

Report an error from a multi-function evaluation within a Geometry Nodes evaluation.

NOTE: Currently, this the error is only actually reported under limited circumstances. It's still safe to call this function from any multi-function though.

Definition at line 1612 of file geometry_nodes_lazy_function.cc.

References blender::nodes::eval_log::NodeTreeLogger::allocator, log, blender::nodes::eval_log::NodeTreeLogger::node_warnings, blender::ComputeContext::parent(), and report_from_multi_function().

Referenced by blender::nodes::node_fn_format_string_cc::FormatStringMultiFunction::call(), and report_from_multi_function().

◆ reset_declaration()

void blender::nodes::reset_declaration ( NodeDeclaration & declaration)
static

Definition at line 29 of file node_declaration.cc.

References reset_declaration().

Referenced by build_node_declaration(), and reset_declaration().

◆ rna_CompositorNodesEffectPropertyInput_path()

◆ rna_CompositorNodesModifierPropertyInput_path()

◆ RNA_def_node_boolean()

◆ RNA_def_node_enum()

PropertyRNA * blender::nodes::RNA_def_node_enum ( StructRNA * srna,
const char * identifier,
const char * ui_name,
const char * ui_description,
const EnumPropertyItem * static_items,
const EnumRNAAccessors accessors,
std::optional< int > default_value,
const EnumPropertyItemFunc item_func,
const bool allow_animation )

Definition at line 29 of file node_rna_define.cc.

References blender::nodes::EnumRNAAccessors::getter, NA_EDITED, NC_NODE, blender::PROP_ANIMATABLE, blender::PROP_ENUM, blender::PROP_NONE, RNA_def_node_enum(), blender::RNA_def_property(), blender::RNA_def_property_clear_flag(), blender::RNA_def_property_enum_default(), blender::RNA_def_property_enum_funcs_runtime(), blender::RNA_def_property_enum_items(), blender::RNA_def_property_ui_text(), blender::RNA_def_property_update_notifier(), blender::RNA_def_property_update_runtime(), blender::rna_Node_socket_update(), blender::rna_Node_update(), and blender::nodes::EnumRNAAccessors::setter.

Referenced by blender::nodes::node_composite_relative_to_pixel_cc::node_rna(), blender::nodes::node_fn_align_euler_to_vector_cc::node_rna(), blender::nodes::node_fn_align_rotation_to_vector_cc::node_rna(), blender::nodes::node_fn_axes_to_rotation_cc::node_rna(), blender::nodes::node_fn_bit_math_cc::node_rna(), blender::nodes::node_fn_boolean_math_cc::node_rna(), blender::nodes::node_fn_combine_color_cc::node_rna(), blender::nodes::node_fn_compare_cc::node_rna(), blender::nodes::node_fn_hash_value_cc::node_rna(), blender::nodes::node_fn_integer_math_cc::node_rna(), blender::nodes::node_fn_rotate_rotation_cc::node_rna(), blender::nodes::node_fn_separate_color_cc::node_rna(), blender::nodes::node_fn_string_to_value_cc::node_rna(), blender::nodes::node_fn_value_to_string_cc::node_rna(), blender::nodes::node_geo_accumulate_field_cc::node_rna(), blender::nodes::node_geo_attribute_domain_size_cc::node_rna(), blender::nodes::node_geo_attribute_statistic_cc::node_rna(), blender::nodes::node_geo_blur_attribute_cc::node_rna(), blender::nodes::node_geo_bone_info_cc::node_rna(), blender::nodes::node_geo_boolean_cc::node_rna(), blender::nodes::node_geo_collection_info_cc::node_rna(), blender::nodes::node_geo_combine_list_cc::node_rna(), blender::nodes::node_geo_curve_primitive_arc_cc::node_rna(), blender::nodes::node_geo_curve_primitive_bezier_segment_cc::node_rna(), blender::nodes::node_geo_curve_primitive_circle_cc::node_rna(), blender::nodes::node_geo_curve_primitive_line_cc::node_rna(), blender::nodes::node_geo_curve_primitive_quadrilateral_cc::node_rna(), blender::nodes::node_geo_curve_spline_type_cc::node_rna(), blender::nodes::node_geo_curve_to_points_cc::node_rna(), blender::nodes::node_geo_curve_trim_cc::node_rna(), blender::nodes::node_geo_delete_geometry_cc::node_rna(), blender::nodes::node_geo_distribute_points_in_grid_cc::node_rna(), blender::nodes::node_geo_duplicate_elements_cc::node_rna(), blender::nodes::node_geo_enable_output_cc::node_rna(), blender::nodes::node_geo_evaluate_at_index_cc::node_rna(), blender::nodes::node_geo_evaluate_on_domain_cc::node_rna(), blender::nodes::node_geo_extrude_mesh_cc::node_rna(), blender::nodes::node_geo_field_average_cc::node_rna(), blender::nodes::node_geo_field_min_and_max_cc::node_rna(), blender::nodes::node_geo_field_variance_cc::node_rna(), blender::nodes::node_geo_filter_list_cc::node_rna(), blender::nodes::node_geo_get_bundle_item_cc::node_rna(), blender::nodes::node_geo_get_named_grid_cc::node_rna(), blender::nodes::node_geo_gizmo_dial_cc::node_rna(), blender::nodes::node_geo_gizmo_linear_cc::node_rna(), blender::nodes::node_geo_grid_advect_cc::node_rna(), blender::nodes::node_geo_grid_clip_cc::node_rna(), blender::nodes::node_geo_grid_deactivate_voxels::node_rna(), blender::nodes::node_geo_grid_dilate_erode_cc::node_rna(), blender::nodes::node_geo_grid_info_cc::node_rna(), blender::nodes::node_geo_grid_mean_cc::node_rna(), blender::nodes::node_geo_grid_median_cc::node_rna(), blender::nodes::node_geo_grid_prune_cc::node_rna(), blender::nodes::node_geo_grid_to_points_cc::node_rna(), blender::nodes::node_geo_grid_topology_boolean::node_rna(), blender::nodes::node_geo_grid_voxelize_cc::node_rna(), blender::nodes::node_geo_index_switch_cc::node_rna(), blender::nodes::node_geo_input_named_attribute_cc::node_rna(), blender::nodes::node_geo_list_get_item_cc::node_rna(), blender::nodes::node_geo_list_length_cc::node_rna(), blender::nodes::node_geo_menu_switch_cc::node_rna(), blender::nodes::node_geo_mesh_primitive_circle_cc::node_rna(), blender::nodes::node_geo_mesh_primitive_cone_cc::node_rna(), blender::nodes::node_geo_mesh_primitive_cylinder_cc::node_rna(), blender::nodes::node_geo_mesh_primitive_line_cc::node_rna(), blender::nodes::node_geo_mesh_to_curve_cc::node_rna(), blender::nodes::node_geo_mesh_to_points_cc::node_rna(), blender::nodes::node_geo_object_info_cc::node_rna(), blender::nodes::node_geo_proximity_cc::node_rna(), blender::nodes::node_geo_raycast_cc::node_rna(), blender::nodes::node_geo_sample_grid_cc::node_rna(), blender::nodes::node_geo_sample_grid_index_cc::node_rna(), blender::nodes::node_geo_sample_nearest_cc::node_rna(), blender::nodes::node_geo_sample_nearest_surface_cc::node_rna(), blender::nodes::node_geo_sample_uv_surface_cc::node_rna(), blender::nodes::node_geo_scale_elements_cc::node_rna(), blender::nodes::node_geo_sdf_grid_boolean_cc::node_rna(), blender::nodes::node_geo_separate_geometry_cc::node_rna(), blender::nodes::node_geo_set_curve_handles_cc::node_rna(), blender::nodes::node_geo_set_grid_background::node_rna(), blender::nodes::node_geo_set_grid_transform::node_rna(), blender::nodes::node_geo_set_mesh_normal_cc::node_rna(), blender::nodes::node_geo_set_shade_smooth_cc::node_rna(), blender::nodes::node_geo_sort_elements_cc::node_rna(), blender::nodes::node_geo_sort_list_cc::node_rna(), blender::nodes::node_geo_split_to_instances_cc::node_rna(), blender::nodes::node_geo_store_bundle_item_cc::node_rna(), blender::nodes::node_geo_store_named_attribute_cc::node_rna(), blender::nodes::node_geo_store_named_grid_cc::node_rna(), blender::nodes::node_geo_switch_cc::node_rna(), blender::nodes::node_geo_tool_active_element_cc::node_rna(), blender::nodes::node_geo_tool_set_selection_cc::node_rna(), blender::nodes::node_geo_warning_cc::node_rna(), and RNA_def_node_enum().

◆ rna_NodesModifierPropertyInput_path()

◆ rna_NodesModifierPropertyOutput_path()

◆ rna_SceneCompositorEffectInputProperty_path()

◆ search_filtered_link_ops_for_basic_node()

◆ search_link_ops_for_basic_node()

void blender::nodes::search_link_ops_for_basic_node ( GatherLinkSearchOpParams & params)

This callback can be used for a node type when a few things are true about its inputs. To avoid creating more boilerplate, it is the default callback for node types.

  • Either all declared sockets are visible in the default state of the node, OR the node's type's declaration has been extended with #make_available functions for those sockets.

If a node type does not meet these criteria, the function will do nothing in a release build. In a debug build, an assert will most likely be hit.

Note
For nodes with the deprecated #bke::bNodeSocketTemplate instead of a declaration, these criteria do not apply and the function just tries its best without asserting.

Definition at line 181 of file socket_search_link.cc.

References blender::nodes::GatherLinkSearchOpParams::in_out(), blender::nodes::GatherLinkSearchOpParams::node_type(), search_link_ops_for_basic_node(), search_link_ops_for_declarations(), blender::nodes::NodeDeclaration::sockets(), and blender::bke::bNodeType::static_declaration.

Referenced by blender::cmp_node_type_base(), blender::common_node_type_base(), blender::fn_cmp_node_type_base(), blender::fn_node_type_base(), blender::geo_cmp_node_type_base(), blender::geo_node_type_base(), blender::nodes::node_geo_object_info_cc::node_gather_link_searches(), search_link_ops_for_basic_node(), search_link_ops_for_tool_node(), blender::sh_geo_node_type_base(), and blender::sh_node_type_base().

◆ search_link_ops_for_declarations()

void blender::nodes::search_link_ops_for_declarations ( GatherLinkSearchOpParams & params,
Span< SocketDeclaration * > declarations )

Definition at line 136 of file socket_search_link.cc.

References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::nodes::GatherLinkSearchOpParams::add_item(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::nodes::SocketDeclaration::can_connect(), IFACE_, blender::Span< T >::index_range(), blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), blender::nodes::SocketDeclaration::is_default_link_socket, blender::nodes::SocketDeclaration::name, blender::nodes::GatherLinkSearchOpParams::node_type(), blender::nodes::GatherLinkSearchOpParams::other_socket(), blender::UString::ref(), and search_link_ops_for_declarations().

Referenced by blender::nodes::node_geo_accumulate_field_cc::node_gather_link_searches(), blender::nodes::node_geo_attribute_statistic_cc::node_gather_link_searches(), blender::nodes::node_geo_blur_attribute_cc::node_gather_link_searches(), blender::nodes::node_geo_curve_primitive_quadrilateral_cc::node_gather_link_searches(), blender::nodes::node_geo_curve_sample_cc::node_gather_link_searches(), blender::nodes::node_geo_curve_trim_cc::node_gather_link_searches(), blender::nodes::node_geo_field_average_cc::node_gather_link_searches(), blender::nodes::node_geo_field_min_and_max_cc::node_gather_link_searches(), blender::nodes::node_geo_field_variance_cc::node_gather_link_searches(), blender::nodes::node_geo_input_named_attribute_cc::node_gather_link_searches(), blender::nodes::node_geo_mesh_primitive_line_cc::node_gather_link_searches(), blender::nodes::node_geo_raycast_cc::node_gather_link_searches(), blender::nodes::node_geo_sample_index_cc::node_gather_link_searches(), blender::nodes::node_geo_sample_nearest_surface_cc::node_gather_link_searches(), blender::nodes::node_geo_sample_uv_surface_cc::node_gather_link_searches(), blender::nodes::node_geo_store_named_attribute_cc::node_gather_link_searches(), blender::nodes::node_shader_tex_sky_cc::node_gather_link_searches(), search_filtered_link_ops_for_basic_node(), search_link_ops_for_basic_node(), and search_link_ops_for_declarations().

◆ search_link_ops_for_tool_node()

◆ set_default_remaining_node_outputs()

void blender::nodes::set_default_remaining_node_outputs ( lf::Params & params,
const bNode & node )

Outputs the default value of each output socket that has not been output yet. This needs the bNode because otherwise the default values for the outputs are not known. The lazy-function parameters do not differentiate between e.g. float and vector sockets. The SocketValueVariant type is used for both.

Definition at line 404 of file geometry_nodes_lazy_function.cc.

References blender::nodes::GeometryNodeLazyFunctionGraphMapping::lf_index_by_bsocket, blender::nodes::GeometryNodesLazyFunctionGraphInfo::mapping, node, blender::bNodeTree::runtime, blender::bke::bNodeTreeRuntime::self_geometry_nodes_lazy_function_graph_info, set_default_remaining_node_outputs(), and set_default_value_for_output_socket().

Referenced by blender::nodes::LazyFunctionForGizmoNode::execute_impl(), blender::nodes::LazyFunctionForMultiFunctionNode::execute_impl(), blender::nodes::LazyFunctionForUndefinedNode::execute_impl(), blender::nodes::node_geo_enable_output_cc::LazyFunctionForEnableOutputNode::execute_impl(), blender::nodes::node_geo_index_switch_cc::LazyFunctionForIndexSwitchNode::execute_single(), blender::nodes::node_geo_bake_cc::LazyFunctionForBakeNode::set_default_outputs(), blender::nodes::node_geo_simulation_cc::sim_input_node::LazyFunctionForSimulationInputNode::set_default_outputs(), blender::nodes::node_geo_simulation_cc::sim_output_node::LazyFunctionForSimulationOutputNode::set_default_outputs(), set_default_remaining_node_outputs(), and blender::nodes::GeoNodeExecParams::set_default_remaining_outputs().

◆ set_default_value_for_output_socket()

◆ should_log_verbose_in_context()

◆ socket_type_for_value_variant()

◆ socket_type_has_attribute_toggle()

bool blender::nodes::socket_type_has_attribute_toggle ( eNodeSocketDatatype type)

◆ socket_type_info_by_static_type()

◆ socket_type_supported_in_bundle()

◆ socket_type_supported_in_closure()

◆ socket_type_supports_attributes()

◆ socket_type_supports_default_input_type()

◆ socket_type_supports_fields()

◆ socket_type_supports_grids()

◆ socket_type_to_static_decl_type()

◆ store_computed_output_attributes()

◆ store_output_attributes()

◆ sync_node()

◆ sync_node_description_get()

◆ sync_sockets_closure()

void blender::nodes::sync_sockets_closure ( SpaceNode & snode,
bNode & closure_input_node,
bNode & closure_output_node,
ReportList * reports,
const bNodeSocket * src_closure_socket )

Definition at line 408 of file sync_sockets.cc.

References blender::nodes::socket_items::add_item_with_socket_type_and_name(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::BKE_ntree_update_tag_node_property(), blender::BKE_report(), CanBeSynced, blender::nodes::socket_items::clear(), ConflictingSyncSources, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::SpaceNode::edittree, get_sync_state_closure_output(), blender::NodeClosureInputItem::identifier, blender::NodeClosureOutputItem::identifier, blender::IndexRange::IndexRange(), blender::nodes::ClosureSignature::inputs, blender::nodes::ClosureSignature::Item::key, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_try(), blender::NodeClosureInputItem::name, blender::NodeClosureOutputItem::name, blender::bke::node_add_link(), NoSyncSource, blender::nodes::ClosureSignature::outputs, blender::RPT_INFO, blender::nodes::ClosureSyncState::source_signature, blender::nodes::ClosureSyncState::state, blender::bNode::storage, storage, blender::StringRef::StringRef(), blender::NodeClosureInputItem::structure_type, blender::NodeClosureOutputItem::structure_type, blender::nodes::ClosureSignature::Item::structure_type, sync_sockets_closure(), Synced, blender::bke::bNodeSocketType::type, blender::nodes::ClosureSignature::Item::type, blender::bNodeTree::typeinfo, update_node_declaration_and_sockets(), and blender::bke::bNodeTreeType::validate_link.

Referenced by blender::nodes::node_geo_closure_cc::output_node::node_gather_link_searches(), blender::nodes::node_geo_closure_cc::output_node::node_insert_link(), sync_node(), and sync_sockets_closure().

◆ sync_sockets_closure_to_list()

void blender::nodes::sync_sockets_closure_to_list ( SpaceNode & snode,
bNode & closure_to_list_node,
ReportList * reports,
const bNodeSocket * src_closure_socket )

◆ sync_sockets_combine_bundle()

void blender::nodes::sync_sockets_combine_bundle ( SpaceNode & snode,
bNode & combine_bundle_node,
ReportList * reports,
const bNodeSocket * src_bundle_socket )

◆ sync_sockets_evaluate_closure()

void blender::nodes::sync_sockets_evaluate_closure ( SpaceNode & snode,
bNode & evaluate_closure_node,
ReportList * reports,
const bNodeSocket * src_closure_socket )

Definition at line 349 of file sync_sockets.cc.

References blender::nodes::socket_items::add_item_with_socket_type_and_name(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), blender::BKE_ntree_update_tag_node_property(), blender::BKE_report(), CanBeSynced, blender::nodes::socket_items::clear(), ConflictingSyncSources, blender::SpaceNode::edittree, get_sync_state_evaluate_closure(), blender::NodeEvaluateClosureInputItem::identifier, blender::NodeEvaluateClosureOutputItem::identifier, blender::IndexRange::IndexRange(), blender::nodes::ClosureSignature::Item::key, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_try(), blender::NodeEvaluateClosureInputItem::name, blender::NodeEvaluateClosureOutputItem::name, NoSyncSource, blender::RPT_INFO, blender::nodes::ClosureSyncState::source_signature, blender::nodes::ClosureSyncState::state, blender::bNode::storage, storage, blender::StringRef::StringRef(), blender::NodeEvaluateClosureInputItem::structure_type, blender::NodeEvaluateClosureOutputItem::structure_type, blender::nodes::ClosureSignature::Item::structure_type, sync_sockets_evaluate_closure(), Synced, blender::bke::bNodeSocketType::type, and blender::nodes::ClosureSignature::Item::type.

Referenced by blender::nodes::node_geo_evaluate_closure_cc::node_gather_link_searches(), blender::nodes::node_geo_evaluate_closure_cc::node_insert_link(), sync_node(), and sync_sockets_evaluate_closure().

◆ sync_sockets_separate_bundle()

void blender::nodes::sync_sockets_separate_bundle ( SpaceNode & snode,
bNode & separate_bundle_node,
ReportList * reports,
const bNodeSocket * src_bundle_socket )

◆ tag_filter_matches()

◆ target_socket_evaluates_closure()

◆ to_stored_type()

◆ update_node_declaration_and_sockets()

◆ use_link_for_tracing()

◆ warning_is_propagated()

◆ zone_wrapper_input_name()

◆ zone_wrapper_output_name()

Variable Documentation

◆ compositor_nodes_input_type_items_fallback

◆ compositor_nodes_input_type_items_value

◆ geometry_nodes_input_type_items_fallback

const EnumPropertyItem blender::nodes::geometry_nodes_input_type_items_fallback
Initial value:

Definition at line 42 of file geometry_nodes_srna.cc.

Referenced by blender::make_common_fallback_props().

◆ geometry_nodes_input_type_items_value

const EnumPropertyItem blender::nodes::geometry_nodes_input_type_items_value

◆ geometry_nodes_input_type_items_value_or_attribute

const EnumPropertyItem blender::nodes::geometry_nodes_input_type_items_value_or_attribute

◆ geometry_nodes_input_type_items_value_or_attribute_or_layer

const EnumPropertyItem blender::nodes::geometry_nodes_input_type_items_value_or_attribute_or_layer

◆ input_attribute_name_suffix

StringRef blender::nodes::input_attribute_name_suffix = "_attribute_name"
constexpr

Definition at line 41 of file NOD_geometry_nodes_execute.hh.

◆ input_type_item_attribute

EnumPropertyItem blender::nodes::input_type_item_attribute
staticconstexpr
Initial value:
= {
int(GeometryNodesInputType::Attribute), "ATTRIBUTE", 0, "Attribute", "Pass an attribute"}

Definition at line 37 of file geometry_nodes_srna.cc.

◆ input_type_item_fallback [1/2]

EnumPropertyItem blender::nodes::input_type_item_fallback
staticconstexpr
Initial value:

Definition at line 32 of file compositor_nodes_srna.cc.

◆ input_type_item_fallback [2/2]

EnumPropertyItem blender::nodes::input_type_item_fallback
staticconstexpr
Initial value:
= {
int(GeometryNodesInputType::Fallback), "FALLBACK", 0, "Fallback", "Fallback"}

Definition at line 33 of file geometry_nodes_srna.cc.

◆ input_type_item_layer

EnumPropertyItem blender::nodes::input_type_item_layer
staticconstexpr
Initial value:
= {
int(GeometryNodesInputType::Layer), "LAYER", 0, "Layer", "Pass a layer selection"}

Definition at line 39 of file geometry_nodes_srna.cc.

◆ input_type_item_value [1/2]

EnumPropertyItem blender::nodes::input_type_item_value
staticconstexpr
Initial value:
= {
int(CompositorNodesInputType::Value), "VALUE", 0, "Value", "Pass a single value"}

Definition at line 34 of file compositor_nodes_srna.cc.

◆ input_type_item_value [2/2]

EnumPropertyItem blender::nodes::input_type_item_value
staticconstexpr
Initial value:
= {
int(GeometryNodesInputType::Value), "VALUE", 0, "Value", "Pass a single value"}

Definition at line 35 of file geometry_nodes_srna.cc.

◆ input_use_attribute_suffix

StringRef blender::nodes::input_use_attribute_suffix = "_use_attribute"
constexpr

Definition at line 40 of file NOD_geometry_nodes_execute.hh.

◆ is_GeoNodesMultiInput_v

template<typename T>
bool blender::nodes::is_GeoNodesMultiInput_v = false
constexpr

◆ is_GeoNodesMultiInput_v< GeoNodesMultiInput< T > >

template<typename T>
bool blender::nodes::is_GeoNodesMultiInput_v< GeoNodesMultiInput< T > > = true
constexpr

Definition at line 45 of file NOD_geometry_nodes_values.hh.

◆ is_ListPtr_v

template<typename T>
bool blender::nodes::is_ListPtr_v = false
constexpr

Definition at line 185 of file NOD_geometry_nodes_list.hh.

◆ is_ListPtr_v< ListPtr< T > >

template<typename T>
bool blender::nodes::is_ListPtr_v< ListPtr< T > > = true
constexpr

Definition at line 186 of file NOD_geometry_nodes_list.hh.

◆ node_timer_log_threshold

auto blender::nodes::node_timer_log_threshold = std::chrono::microseconds(100)
constexpr

In compute contexts that should not be logged verbosely, still log slow nodes.

Definition at line 516 of file NOD_geometry_nodes_lazy_function.hh.

Referenced by blender::nodes::ScopedComputeContextTimer::~ScopedComputeContextTimer(), and blender::nodes::ScopedNodeTimer::~ScopedNodeTimer().

◆ string_pattern_mode_items

const EnumPropertyItem blender::nodes::string_pattern_mode_items
Initial value:
= {
"EXACT",
0,
N_("Exact"),
N_("Remove the one attribute with the given name")},
"WILDCARD",
0,
N_("Wildcard"),
N_("Remove all attributes that match the pattern which is allowed to contain a single "
"wildcard (*)")},
{0, nullptr, 0, nullptr, nullptr},
}
#define N_(msgid)

Definition at line 15 of file string_pattern.cc.

Referenced by blender::nodes::node_geo_get_nested_bundle_paths_cc::node_declare(), blender::nodes::node_geo_remove_attribute_cc::node_declare(), and blender::nodes::node_geo_transfer_attributes_cc::node_declare().