Blender V4.3
rna_nodetree.cc File Reference
#include <climits>
#include <cstdlib>
#include <cstring>
#include <utility>
#include "BLI_function_ref.hh"
#include "BLI_linear_allocator.hh"
#include "BLI_math_rotation.h"
#include "BLI_string.h"
#include "BLI_string_utf8_symbols.h"
#include "BLI_utildefines.h"
#include "BLF_api.hh"
#include "BLT_translation.hh"
#include "DNA_curves_types.h"
#include "DNA_material_types.h"
#include "DNA_mesh_types.h"
#include "DNA_modifier_types.h"
#include "DNA_node_types.h"
#include "DNA_object_types.h"
#include "DNA_particle_types.h"
#include "DNA_text_types.h"
#include "DNA_texture_types.h"
#include "BKE_animsys.h"
#include "BKE_attribute.hh"
#include "BKE_context.hh"
#include "BKE_cryptomatte.h"
#include "BKE_geometry_set.hh"
#include "BKE_image.hh"
#include "BKE_node.hh"
#include "BKE_node_runtime.hh"
#include "BKE_node_tree_update.hh"
#include "BKE_scene.hh"
#include "BKE_texture.h"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "RNA_enum_types.hh"
#include "rna_internal.hh"
#include "rna_internal_types.hh"
#include "IMB_colormanagement.hh"
#include "IMB_imbuf.hh"
#include "IMB_imbuf_types.hh"
#include "WM_types.hh"
#include "MEM_guardedalloc.h"
#include "RE_texture.h"
#include "NOD_composite.hh"
#include "NOD_geometry.hh"
#include "NOD_geometry_nodes_lazy_function.hh"
#include "NOD_socket.hh"
#include "DEG_depsgraph.hh"
#include "DEG_depsgraph_query.hh"
#include "BLI_string_utils.hh"
#include "../../nodes/NOD_static_types.h"

Go to the source code of this file.

Macros

#define DefNode(Category, ID, DefFunc, EnumName, StructName, UIName, UIDesc)
 

Functions

static void def_group_input (StructRNA *)
 
static void def_group_output (StructRNA *srna)
 
static void def_group (StructRNA *srna)
 
static void def_custom_group (BlenderRNA *brna, const char *struct_name, const char *base_name, const char *ui_name, const char *ui_desc, const char *reg_func)
 
static void def_frame (StructRNA *srna)
 
static void def_clamp (StructRNA *srna)
 
static void def_map_range (StructRNA *srna)
 
static void def_math (StructRNA *srna)
 
static void def_sh_mix (StructRNA *srna)
 
static void def_float_to_int (StructRNA *srna)
 
static void def_vector_math (StructRNA *srna)
 
static void def_rgb_curve (StructRNA *srna)
 
static void def_vector_curve (StructRNA *srna)
 
static void def_float_curve (StructRNA *srna)
 
static void def_time (StructRNA *srna)
 
static void def_colorramp (StructRNA *srna)
 
static void def_mix_rgb (StructRNA *srna)
 
static void def_texture (StructRNA *srna)
 
static void def_fn_input_color (StructRNA *srna)
 
static void def_fn_input_bool (StructRNA *srna)
 
static void def_fn_input_int (StructRNA *srna)
 
static void def_fn_input_rotation (StructRNA *srna)
 
static void def_fn_input_vector (StructRNA *srna)
 
static void def_fn_input_string (StructRNA *srna)
 
static void def_sh_output (StructRNA *srna)
 
static void def_sh_output_linestyle (StructRNA *srna)
 
static void def_sh_mapping (StructRNA *srna)
 
static void def_sh_vector_rotate (StructRNA *srna)
 
static void def_sh_attribute (StructRNA *srna)
 
static void def_sh_tex (StructRNA *srna)
 
static void def_sh_tex_sky (StructRNA *srna)
 
static void def_sh_tex_environment (StructRNA *srna)
 
static void def_sh_tex_gabor (StructRNA *srna)
 
static void def_sh_tex_image (StructRNA *srna)
 
static void def_tex_combsep_color (StructRNA *srna)
 
static void def_geo_image_texture (StructRNA *srna)
 
static void rna_def_geo_gizmo_transform (StructRNA *srna)
 
static void def_sh_tex_gradient (StructRNA *srna)
 
static void def_sh_tex_noise (StructRNA *srna)
 
static void def_sh_tex_checker (StructRNA *srna)
 
static void def_sh_tex_brick (StructRNA *srna)
 
static void def_sh_tex_magic (StructRNA *srna)
 
static void def_sh_tex_voronoi (StructRNA *srna)
 
static void def_sh_tex_wave (StructRNA *srna)
 
static void def_sh_tex_white_noise (StructRNA *srna)
 
static void def_sh_tex_coord (StructRNA *srna)
 
static void def_sh_vect_transform (StructRNA *srna)
 
static void def_sh_tex_wireframe (StructRNA *srna)
 
static void def_sh_tex_pointdensity (StructRNA *srna)
 
static void def_metallic (StructRNA *srna)
 
static void def_glossy (StructRNA *srna)
 
static void def_glass (StructRNA *srna)
 
static void def_sheen (StructRNA *srna)
 
static void def_principled (StructRNA *srna)
 
static void def_refraction (StructRNA *srna)
 
static void def_scatter (StructRNA *srna)
 
static void def_toon (StructRNA *srna)
 
static void def_sh_bump (StructRNA *srna)
 
static void def_hair (StructRNA *srna)
 
static void def_hair_principled (StructRNA *srna)
 
static void def_sh_uvmap (StructRNA *srna)
 
static void def_sh_vertex_color (StructRNA *srna)
 
static void def_sh_uvalongstroke (StructRNA *srna)
 
static void def_sh_normal_map (StructRNA *srna)
 
static void def_sh_displacement (StructRNA *srna)
 
static void def_sh_vector_displacement (StructRNA *srna)
 
static void def_sh_tangent (StructRNA *srna)
 
static void def_sh_bevel (StructRNA *srna)
 
static void def_sh_ambient_occlusion (StructRNA *srna)
 
static void def_sh_subsurface (StructRNA *srna)
 
static void def_sh_tex_ies (StructRNA *srna)
 
static void def_sh_output_aov (StructRNA *srna)
 
static void def_sh_combsep_color (StructRNA *srna)
 
static void def_sh_script (StructRNA *srna)
 
static void def_cmp_alpha_over (StructRNA *srna)
 
static void def_cmp_blur (StructRNA *srna)
 
static void def_cmp_filter (StructRNA *srna)
 
static void def_cmp_map_value (StructRNA *srna)
 
static void def_cmp_map_range (StructRNA *srna)
 
static void def_cmp_vector_blur (StructRNA *srna)
 
static void def_cmp_set_alpha (StructRNA *srna)
 
static void def_cmp_levels (StructRNA *srna)
 
static void def_node_image_user (StructRNA *srna)
 
static void def_cmp_image (StructRNA *srna)
 
static void def_cmp_render_layers (StructRNA *srna)
 
static void rna_def_cmp_output_file_slot_file (BlenderRNA *brna)
 
static void rna_def_cmp_output_file_slot_layer (BlenderRNA *brna)
 
static void rna_def_cmp_output_file_slots_api (BlenderRNA *brna, PropertyRNA *cprop, const char *struct_name)
 
static void def_cmp_output_file (BlenderRNA *brna, StructRNA *srna)
 
static void def_cmp_dilate_erode (StructRNA *srna)
 
static void def_cmp_inpaint (StructRNA *srna)
 
static void def_cmp_despeckle (StructRNA *srna)
 
static void def_cmp_scale (StructRNA *srna)
 
static void def_cmp_rotate (StructRNA *srna)
 
static void def_cmp_diff_matte (StructRNA *srna)
 
static void def_cmp_color_matte (StructRNA *srna)
 
static void def_cmp_distance_matte (StructRNA *srna)
 
static void def_cmp_convert_color_space (StructRNA *srna)
 
static void def_cmp_color_spill (StructRNA *srna)
 
static void def_cmp_luma_matte (StructRNA *srna)
 
static void def_cmp_brightcontrast (StructRNA *srna)
 
static void def_cmp_chroma_matte (StructRNA *srna)
 
static void def_cmp_channel_matte (StructRNA *srna)
 
static void def_cmp_flip (StructRNA *srna)
 
static void def_cmp_split (StructRNA *srna)
 
static void def_cmp_id_mask (StructRNA *srna)
 
static void def_cmp_double_edge_mask (StructRNA *srna)
 
static void def_cmp_map_uv (StructRNA *srna)
 
static void def_cmp_defocus (StructRNA *srna)
 
static void def_cmp_invert (StructRNA *srna)
 
static void def_cmp_crop (StructRNA *srna)
 
static void def_cmp_dblur (StructRNA *srna)
 
static void def_cmp_bilateral_blur (StructRNA *srna)
 
static void def_cmp_premul_key (StructRNA *srna)
 
static void def_cmp_glare (StructRNA *srna)
 
static void def_cmp_tonemap (StructRNA *srna)
 
static void def_cmp_lensdist (StructRNA *srna)
 
static void def_cmp_colorbalance (StructRNA *srna)
 
static void def_cmp_huecorrect (StructRNA *srna)
 
static void def_cmp_zcombine (StructRNA *srna)
 
static void def_cmp_ycc (StructRNA *srna)
 
static void def_cmp_combsep_color (StructRNA *srna)
 
static void def_cmp_movieclip (StructRNA *srna)
 
static void def_cmp_stabilize2d (StructRNA *srna)
 
static void def_cmp_moviedistortion (StructRNA *srna)
 
static void def_cmp_mask (StructRNA *srna)
 
static void dev_cmd_transform (StructRNA *srna)
 
static void def_cmp_boxmask (StructRNA *srna)
 
static void def_cmp_ellipsemask (StructRNA *srna)
 
static void def_cmp_bokehblur (StructRNA *srna)
 
static void def_cmp_bokehimage (StructRNA *srna)
 
static void def_cmp_switch (StructRNA *srna)
 
static void def_cmp_switch_view (StructRNA *)
 
static void def_cmp_colorcorrection (StructRNA *srna)
 
static void def_cmp_viewer (StructRNA *srna)
 
static void def_cmp_composite (StructRNA *srna)
 
static void def_cmp_keyingscreen (StructRNA *srna)
 
static void def_cmp_keying (StructRNA *srna)
 
static void def_cmp_trackpos (StructRNA *srna)
 
static void def_cmp_pixelate (StructRNA *srna)
 
static void def_cmp_translate (StructRNA *srna)
 
static void def_cmp_planetrackdeform (StructRNA *srna)
 
static void def_cmp_sunbeams (StructRNA *srna)
 
static void def_cmp_cryptomatte_entry (BlenderRNA *brna)
 
static void def_cmp_cryptomatte_common (StructRNA *srna)
 
static void def_cmp_cryptomatte_legacy (StructRNA *srna)
 
static void def_cmp_cryptomatte (StructRNA *srna)
 
static void def_cmp_denoise (StructRNA *srna)
 
static void def_cmp_kuwahara (StructRNA *srna)
 
static void def_cmp_antialiasing (StructRNA *srna)
 
static void def_tex_output (StructRNA *srna)
 
static void def_tex_image (StructRNA *srna)
 
static void def_tex_bricks (StructRNA *srna)
 
static void def_geo_curve_sample (StructRNA *srna)
 
static void def_fn_random_value (StructRNA *srna)
 
static void def_geo_distribute_points_on_faces (StructRNA *srna)
 
static void def_geo_curve_set_handle_type (StructRNA *srna)
 
static void def_common_zone_input (StructRNA *srna)
 
static void def_geo_simulation_input (StructRNA *srna)
 
static void def_geo_repeat_input (StructRNA *srna)
 
static void def_geo_foreach_geometry_element_input (StructRNA *srna)
 
static void rna_def_node_item_array_socket_item_common (StructRNA *srna, const char *accessor, const bool add_socket_type)
 
static void rna_def_node_item_array_common_functions (StructRNA *srna, const char *item_name, const char *accessor_name)
 
static void rna_def_node_item_array_new_with_socket_and_name (StructRNA *srna, const char *item_name, const char *accessor_name)
 
static void rna_def_simulation_state_item (BlenderRNA *brna)
 
static void rna_def_geo_simulation_output_items (BlenderRNA *brna)
 
static void def_geo_simulation_output (StructRNA *srna)
 
static void rna_def_repeat_item (BlenderRNA *brna)
 
static void rna_def_geo_repeat_output_items (BlenderRNA *brna)
 
static void def_geo_repeat_output (StructRNA *srna)
 
static void rna_def_geo_foreach_geometry_element_input_item (BlenderRNA *brna)
 
static void rna_def_geo_foreach_geometry_element_input_items (BlenderRNA *brna)
 
static void rna_def_geo_foreach_geometry_element_main_item (BlenderRNA *brna)
 
static void rna_def_geo_foreach_geometry_element_main_items (BlenderRNA *brna)
 
static void rna_def_geo_foreach_geometry_element_generation_item (BlenderRNA *brna)
 
static void rna_def_geo_foreach_geometry_element_generation_items (BlenderRNA *brna)
 
static void def_geo_foreach_geometry_element_output (StructRNA *srna)
 
static void rna_def_geo_capture_attribute_item (BlenderRNA *brna)
 
static void rna_def_geo_capture_attribute_items (BlenderRNA *brna)
 
static void rna_def_geo_capture_attribute (StructRNA *srna)
 
static void rna_def_geo_bake_item (BlenderRNA *brna)
 
static void rna_def_bake_items (BlenderRNA *brna)
 
static void rna_def_geo_bake (StructRNA *srna)
 
static void rna_def_index_switch_item (BlenderRNA *brna)
 
static void rna_def_geo_index_switch_items (BlenderRNA *brna)
 
static void def_geo_index_switch (StructRNA *srna)
 
static void def_geo_curve_handle_type_selection (StructRNA *srna)
 
static void def_fn_rotate_euler (StructRNA *srna)
 
static void def_geo_sample_index (StructRNA *srna)
 
static void def_geo_input_material (StructRNA *srna)
 
static void def_geo_image (StructRNA *srna)
 
static void def_geo_string_to_curves (StructRNA *srna)
 
static void rna_def_menu_switch_item (BlenderRNA *brna)
 
static void rna_def_geo_menu_switch_items (BlenderRNA *brna)
 
static void def_geo_menu_switch (StructRNA *srna)
 
static void rna_def_shader_node (BlenderRNA *brna)
 
static void rna_def_compositor_node (BlenderRNA *brna)
 
static void rna_def_texture_node (BlenderRNA *brna)
 
static void rna_def_geometry_node (BlenderRNA *brna)
 
static void rna_def_function_node (BlenderRNA *brna)
 
static void def_reroute (StructRNA *srna)
 
static void rna_def_internal_node (BlenderRNA *brna)
 
static void rna_def_node_sockets_api (BlenderRNA *brna, PropertyRNA *cprop, int in_out)
 
static void rna_def_node (BlenderRNA *brna)
 
static void rna_def_node_link (BlenderRNA *brna)
 
static void rna_def_nodetree_nodes_api (BlenderRNA *brna, PropertyRNA *cprop)
 
static void rna_def_nodetree_link_api (BlenderRNA *brna, PropertyRNA *cprop)
 
static void rna_def_nodetree (BlenderRNA *brna)
 
static void rna_def_composite_nodetree (BlenderRNA *brna)
 
static void rna_def_shader_nodetree (BlenderRNA *brna)
 
static void rna_def_texture_nodetree (BlenderRNA *brna)
 
static void rna_def_geometry_nodetree (BlenderRNA *brna)
 
static StructRNAdefine_specific_node (BlenderRNA *brna, const char *struct_name, const char *base_name, void(*def_func)(StructRNA *))
 
static void rna_def_node_instance_hash (BlenderRNA *brna)
 
void RNA_def_nodetree (BlenderRNA *brna)
 

Variables

const EnumPropertyItem rna_enum_node_socket_in_out_items []
 
const EnumPropertyItem rna_enum_node_socket_data_type_items []
 
const EnumPropertyItem rna_enum_node_group_color_tag_items []
 
const EnumPropertyItem rna_enum_mapping_type_items []
 
static const EnumPropertyItem rna_enum_vector_rotate_type_items []
 
const EnumPropertyItem rna_enum_node_math_items []
 
const EnumPropertyItem rna_enum_node_vec_math_items []
 
const EnumPropertyItem rna_enum_node_boolean_math_items []
 
const EnumPropertyItem rna_enum_node_float_compare_items []
 
const EnumPropertyItem rna_enum_node_integer_math_items []
 
const EnumPropertyItem rna_enum_node_compare_operation_items []
 
const EnumPropertyItem rna_enum_node_float_to_int_items []
 
const EnumPropertyItem rna_enum_node_map_range_items []
 
const EnumPropertyItem rna_enum_node_clamp_items []
 
static const EnumPropertyItem rna_enum_node_tex_dimensions_items []
 
const EnumPropertyItem rna_enum_node_filter_items []
 
static const EnumPropertyItem rna_node_geometry_curve_handle_type_items []
 
const EnumPropertyItem rna_enum_node_geometry_curve_handle_side_items []
 
const EnumPropertyItem rna_enum_node_combsep_color_items []
 
static const EnumPropertyItem rna_enum_mix_data_type_items []
 
const EnumPropertyItem rna_enum_node_geometry_mesh_circle_fill_type_items []
 
const EnumPropertyItem rna_enum_geometry_nodes_gizmo_color_items []
 
const EnumPropertyItem rna_enum_geometry_nodes_linear_gizmo_draw_style_items []
 
static const EnumPropertyItem node_sampler_type_items []
 
static const EnumPropertyItem prop_shader_output_target_items []
 
static const EnumPropertyItem node_cryptomatte_layer_name_items []
 
static const EnumPropertyItem prop_image_layer_items []
 
static const EnumPropertyItem prop_image_view_items []
 
static const EnumPropertyItem prop_view_layer_items []
 
static const EnumPropertyItem prop_tri_channel_items []
 
static const EnumPropertyItem node_flip_items []
 
static const EnumPropertyItem node_ycc_items []
 
static const EnumPropertyItem node_metallic_distribution_items []
 
static const EnumPropertyItem node_metallic_fresnel_type_items []
 
static const EnumPropertyItem node_glossy_items []
 
static const EnumPropertyItem node_glass_items []
 
static const EnumPropertyItem node_refraction_items []
 
static const EnumPropertyItem node_sheen_items []
 
static const EnumPropertyItem node_toon_items []
 
static const EnumPropertyItem node_hair_items []
 
static const EnumPropertyItem node_principled_hair_model_items []
 
static const EnumPropertyItem node_principled_hair_parametrization_items []
 
static const EnumPropertyItem node_script_mode_items []
 
static EnumPropertyItem node_ies_mode_items []
 
static const EnumPropertyItem node_principled_distribution_items []
 
static const EnumPropertyItem node_subsurface_method_items []
 
static const EnumPropertyItem prop_image_extension []
 
static const EnumPropertyItem node_scatter_phase_items []
 
static const EnumPropertyItem sh_tex_prop_interpolation_items []
 
static const EnumPropertyItem node_masktype_items []
 

Macro Definition Documentation

◆ DefNode

#define DefNode ( Category,
ID,
DefFunc,
EnumName,
StructName,
UIName,
UIDesc )
Value:
{ \
srna = define_specific_node(brna, #Category #StructName, #Category, DefFunc); \
if (ID == CMP_NODE_OUTPUT_FILE) { \
/* needs brna argument, can't use NOD_static_types.h */ \
def_cmp_output_file(brna, srna); \
} \
}
static StructRNA * define_specific_node(BlenderRNA *brna, const char *struct_name, const char *base_name, void(*def_func)(StructRNA *))
Definition DNA_ID.h:413

Function Documentation

◆ def_clamp()

◆ def_cmp_alpha_over()

◆ def_cmp_antialiasing()

◆ def_cmp_bilateral_blur()

◆ def_cmp_blur()

◆ def_cmp_bokehblur()

◆ def_cmp_bokehimage()

◆ def_cmp_boxmask()

◆ def_cmp_brightcontrast()

static void def_cmp_brightcontrast ( StructRNA * srna)
static

◆ def_cmp_channel_matte()

◆ def_cmp_chroma_matte()

◆ def_cmp_color_matte()

◆ def_cmp_color_spill()

◆ def_cmp_colorbalance()

◆ def_cmp_colorcorrection()

◆ def_cmp_combsep_color()

◆ def_cmp_composite()

◆ def_cmp_convert_color_space()

◆ def_cmp_crop()

◆ def_cmp_cryptomatte()

◆ def_cmp_cryptomatte_common()

◆ def_cmp_cryptomatte_entry()

◆ def_cmp_cryptomatte_legacy()

static void def_cmp_cryptomatte_legacy ( StructRNA * srna)
static

Definition at line 9080 of file rna_nodetree.cc.

References def_cmp_cryptomatte_common(), and RNA_def_struct_sdna_from().

◆ def_cmp_dblur()

◆ def_cmp_defocus()

◆ def_cmp_denoise()

◆ def_cmp_despeckle()

◆ def_cmp_diff_matte()

◆ def_cmp_dilate_erode()

◆ def_cmp_distance_matte()

◆ def_cmp_double_edge_mask()

◆ def_cmp_ellipsemask()

◆ def_cmp_filter()

◆ def_cmp_flip()

◆ def_cmp_glare()

◆ def_cmp_huecorrect()

◆ def_cmp_id_mask()

◆ def_cmp_image()

◆ def_cmp_inpaint()

◆ def_cmp_invert()

◆ def_cmp_keying()

◆ def_cmp_keyingscreen()

◆ def_cmp_kuwahara()

◆ def_cmp_lensdist()

◆ def_cmp_levels()

◆ def_cmp_luma_matte()

◆ def_cmp_map_range()

static void def_cmp_map_range ( StructRNA * srna)
static

◆ def_cmp_map_uv()

◆ def_cmp_map_value()

◆ def_cmp_mask()

◆ def_cmp_movieclip()

◆ def_cmp_moviedistortion()

◆ def_cmp_output_file()

◆ def_cmp_pixelate()

◆ def_cmp_planetrackdeform()

◆ def_cmp_premul_key()

◆ def_cmp_render_layers()

◆ def_cmp_rotate()

◆ def_cmp_scale()

◆ def_cmp_set_alpha()

◆ def_cmp_split()

◆ def_cmp_stabilize2d()

◆ def_cmp_sunbeams()

◆ def_cmp_switch()

◆ def_cmp_switch_view()

static void def_cmp_switch_view ( StructRNA * )
static

Definition at line 8514 of file rna_nodetree.cc.

◆ def_cmp_tonemap()

◆ def_cmp_trackpos()

◆ def_cmp_translate()

◆ def_cmp_vector_blur()

◆ def_cmp_viewer()

◆ def_cmp_ycc()

◆ def_cmp_zcombine()

◆ def_colorramp()

◆ def_common_zone_input()

◆ def_custom_group()

static void def_custom_group ( BlenderRNA * brna,
const char * struct_name,
const char * base_name,
const char * ui_name,
const char * ui_desc,
const char * reg_func )
static

◆ def_float_curve()

◆ def_float_to_int()

◆ def_fn_input_bool()

◆ def_fn_input_color()

◆ def_fn_input_int()

◆ def_fn_input_rotation()

◆ def_fn_input_string()

static void def_fn_input_string ( StructRNA * srna)
static

◆ def_fn_input_vector()

◆ def_fn_random_value()

◆ def_fn_rotate_euler()

◆ def_frame()

◆ def_geo_curve_handle_type_selection()

◆ def_geo_curve_sample()

◆ def_geo_curve_set_handle_type()

◆ def_geo_distribute_points_on_faces()

◆ def_geo_foreach_geometry_element_input()

static void def_geo_foreach_geometry_element_input ( StructRNA * srna)
static

Definition at line 9515 of file rna_nodetree.cc.

References def_common_zone_input(), and RNA_def_struct_sdna_from().

◆ def_geo_foreach_geometry_element_output()

◆ def_geo_image()

◆ def_geo_image_texture()

◆ def_geo_index_switch()

◆ def_geo_input_material()

◆ def_geo_menu_switch()

◆ def_geo_repeat_input()

static void def_geo_repeat_input ( StructRNA * srna)
static

Definition at line 9508 of file rna_nodetree.cc.

References def_common_zone_input(), and RNA_def_struct_sdna_from().

◆ def_geo_repeat_output()

◆ def_geo_sample_index()

◆ def_geo_simulation_input()

static void def_geo_simulation_input ( StructRNA * srna)
static

Definition at line 9501 of file rna_nodetree.cc.

References def_common_zone_input(), and RNA_def_struct_sdna_from().

◆ def_geo_simulation_output()

◆ def_geo_string_to_curves()

◆ def_glass()

◆ def_glossy()

◆ def_group()

◆ def_group_input()

static void def_group_input ( StructRNA * )
static

Definition at line 4512 of file rna_nodetree.cc.

◆ def_group_output()

◆ def_hair()

◆ def_hair_principled()

◆ def_map_range()

◆ def_math()

◆ def_metallic()

◆ def_mix_rgb()

◆ def_node_image_user()

◆ def_principled()

◆ def_refraction()

◆ def_reroute()

◆ def_rgb_curve()

◆ def_scatter()

◆ def_sh_ambient_occlusion()

◆ def_sh_attribute()

◆ def_sh_bevel()

◆ def_sh_bump()

◆ def_sh_combsep_color()

◆ def_sh_displacement()

◆ def_sh_mapping()

◆ def_sh_mix()

◆ def_sh_normal_map()

◆ def_sh_output()

◆ def_sh_output_aov()

◆ def_sh_output_linestyle()

static void def_sh_output_linestyle ( StructRNA * srna)
static

Definition at line 4911 of file rna_nodetree.cc.

References def_mix_rgb, and def_sh_output.

◆ def_sh_script()

◆ def_sh_subsurface()

◆ def_sh_tangent()

◆ def_sh_tex()

◆ def_sh_tex_brick()

◆ def_sh_tex_checker()

static void def_sh_tex_checker ( StructRNA * srna)
static

Definition at line 5440 of file rna_nodetree.cc.

References def_sh_tex(), and RNA_def_struct_sdna_from().

◆ def_sh_tex_coord()

◆ def_sh_tex_environment()

◆ def_sh_tex_gabor()

◆ def_sh_tex_gradient()

◆ def_sh_tex_ies()

◆ def_sh_tex_image()

◆ def_sh_tex_magic()

◆ def_sh_tex_noise()

◆ def_sh_tex_pointdensity()

◆ def_sh_tex_sky()

◆ def_sh_tex_voronoi()

◆ def_sh_tex_wave()

◆ def_sh_tex_white_noise()

◆ def_sh_tex_wireframe()

◆ def_sh_uvalongstroke()

static void def_sh_uvalongstroke ( StructRNA * srna)
static

◆ def_sh_uvmap()

◆ def_sh_vect_transform()

◆ def_sh_vector_displacement()

◆ def_sh_vector_rotate()

◆ def_sh_vertex_color()

static void def_sh_vertex_color ( StructRNA * srna)
static

◆ def_sheen()

◆ def_tex_bricks()

◆ def_tex_combsep_color()

◆ def_tex_image()

◆ def_tex_output()

◆ def_texture()

◆ def_time()

◆ def_toon()

◆ def_vector_curve()

◆ def_vector_math()

◆ define_specific_node()

◆ dev_cmd_transform()

◆ rna_def_bake_items()

◆ rna_def_cmp_output_file_slot_file()

◆ rna_def_cmp_output_file_slot_layer()

◆ rna_def_cmp_output_file_slots_api()

◆ rna_def_composite_nodetree()

◆ rna_def_compositor_node()

◆ rna_def_function_node()

static void rna_def_function_node ( BlenderRNA * brna)
static

◆ rna_def_geo_bake()

◆ rna_def_geo_bake_item()

◆ rna_def_geo_capture_attribute()

◆ rna_def_geo_capture_attribute_item()

◆ rna_def_geo_capture_attribute_items()

static void rna_def_geo_capture_attribute_items ( BlenderRNA * brna)
static

◆ rna_def_geo_foreach_geometry_element_generation_item()

◆ rna_def_geo_foreach_geometry_element_generation_items()

static void rna_def_geo_foreach_geometry_element_generation_items ( BlenderRNA * brna)
static

◆ rna_def_geo_foreach_geometry_element_input_item()

static void rna_def_geo_foreach_geometry_element_input_item ( BlenderRNA * brna)
static

◆ rna_def_geo_foreach_geometry_element_input_items()

static void rna_def_geo_foreach_geometry_element_input_items ( BlenderRNA * brna)
static

◆ rna_def_geo_foreach_geometry_element_main_item()

static void rna_def_geo_foreach_geometry_element_main_item ( BlenderRNA * brna)
static

◆ rna_def_geo_foreach_geometry_element_main_items()

static void rna_def_geo_foreach_geometry_element_main_items ( BlenderRNA * brna)
static

◆ rna_def_geo_gizmo_transform()

◆ rna_def_geo_index_switch_items()

◆ rna_def_geo_menu_switch_items()

◆ rna_def_geo_repeat_output_items()

static void rna_def_geo_repeat_output_items ( BlenderRNA * brna)
static

◆ rna_def_geo_simulation_output_items()

static void rna_def_geo_simulation_output_items ( BlenderRNA * brna)
static

◆ rna_def_geometry_node()

static void rna_def_geometry_node ( BlenderRNA * brna)
static

◆ rna_def_geometry_nodetree()

◆ rna_def_index_switch_item()

◆ rna_def_internal_node()

◆ rna_def_menu_switch_item()

◆ rna_def_node()

static void rna_def_node ( BlenderRNA * brna)
static

Definition at line 10661 of file rna_nodetree.cc.

References FUNC_ALLOW_WRITE, FUNC_NO_SELF, FUNC_REGISTER, FUNC_REGISTER_OPTIONAL, FUNC_USE_CONTEXT, FUNC_USE_SELF_ID, FUNC_USE_SELF_TYPE, INT32_MAX, MAX_NAME, NA_EDITED, NA_SELECTED, NC_NODE, ND_DISPLAY, NODE_ACTIVE_TEXTURE, NODE_CUSTOM, NODE_CUSTOM_COLOR, NODE_HIDDEN, NODE_MUTED, NODE_OPTIONS, NODE_PREVIEW, NODE_WARNING_PROPAGATION_ALL, NODE_WARNING_PROPAGATION_NONE, NODE_WARNING_PROPAGATION_ONLY_ERRORS, NODE_WARNING_PROPAGATION_ONLY_ERRORS_AND_WARNINGS, PARM_REQUIRED, PROP_ANIMATABLE, PROP_BOOLEAN, PROP_COLLECTION, PROP_COLOR_GAMMA, PROP_DYNAMIC, PROP_EDITABLE, PROP_ENUM, PROP_FLOAT, PROP_NEVER_NULL, PROP_NONE, PROP_POINTER, PROP_PTR_NO_OWNERSHIP, PROP_REGISTER, PROP_REGISTER_OPTIONAL, PROP_STRING, PROP_THICK_WRAP, PROP_TRANSLATION, PROP_UNSIGNED, PROP_XYZ, PROP_XYZ_LENGTH, PROPOVERRIDE_NO_COMPARISON, PROPOVERRIDE_OVERRIDABLE_LIBRARY, RNA_def_boolean(), RNA_def_function(), RNA_def_function_flag(), RNA_def_function_output(), RNA_def_function_return(), RNA_def_function_ui_description(), rna_def_node_sockets_api(), RNA_def_parameter_clear_flags(), RNA_def_parameter_flags(), RNA_def_pointer(), RNA_def_property(), RNA_def_property_array(), RNA_def_property_boolean_funcs(), RNA_def_property_boolean_sdna(), RNA_def_property_clear_flag(), RNA_def_property_collection_funcs(), RNA_def_property_collection_sdna(), RNA_def_property_enum_default(), RNA_def_property_enum_funcs(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_flag(), RNA_def_property_float_funcs(), RNA_def_property_float_sdna(), RNA_def_property_override_flag(), RNA_def_property_pointer_funcs(), RNA_def_property_pointer_sdna(), RNA_def_property_range(), RNA_def_property_string_funcs(), RNA_def_property_string_sdna(), RNA_def_property_struct_type(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_string(), RNA_def_struct(), RNA_def_struct_idprops_func(), RNA_def_struct_name_property(), RNA_def_struct_path_func(), RNA_def_struct_refine_func(), RNA_def_struct_register_funcs(), RNA_def_struct_sdna(), RNA_def_struct_ui_icon(), RNA_def_struct_ui_text(), rna_enum_icon_items, SELECT, SOCK_IN, and SOCK_OUT.

Referenced by RNA_def_nodetree().

◆ rna_def_node_instance_hash()

static void rna_def_node_instance_hash ( BlenderRNA * brna)
static

Definition at line 11573 of file rna_nodetree.cc.

References RNA_def_struct(), and RNA_def_struct_ui_text().

Referenced by RNA_def_nodetree().

◆ rna_def_node_item_array_common_functions()

◆ rna_def_node_item_array_new_with_socket_and_name()

◆ rna_def_node_item_array_socket_item_common()

◆ rna_def_node_link()

◆ rna_def_node_sockets_api()

◆ RNA_def_nodetree()

◆ rna_def_nodetree()

static void rna_def_nodetree ( BlenderRNA * brna)
static

Definition at line 11193 of file rna_nodetree.cc.

References FUNC_ALLOW_WRITE, FUNC_NO_SELF, FUNC_REGISTER_OPTIONAL, FUNC_USE_CONTEXT, GROUP_NODE_DEFAULT_WIDTH, GROUP_NODE_MAX_WIDTH, GROUP_NODE_MIN_WIDTH, INT32_MAX, MAX_NAME, NC_NODE, NTREE_COMPOSIT, NTREE_CUSTOM, NTREE_GEOMETRY, NTREE_SHADER, NTREE_TEXTURE, NTREE_UNDEFINED, PARM_REQUIRED, PROP_BOOLEAN, PROP_COLLECTION, PROP_DYNAMIC, PROP_EDITABLE, PROP_ENUM, PROP_FLOAT, PROP_ID_REFCOUNT, PROP_INT, PROP_NEVER_NULL, PROP_NONE, PROP_POINTER, PROP_REGISTER, PROP_REGISTER_OPTIONAL, PROP_STRING, PROP_THICK_WRAP, PROP_TRANSLATION, PROP_XYZ, PROPOVERRIDE_OVERRIDABLE_LIBRARY, rna_def_animdata_common(), RNA_def_boolean(), RNA_def_function(), RNA_def_function_flag(), RNA_def_function_output(), RNA_def_function_return(), RNA_def_function_ui_description(), rna_def_nodetree_link_api(), rna_def_nodetree_nodes_api(), RNA_def_parameter_clear_flags(), RNA_def_parameter_flags(), RNA_def_pointer(), RNA_def_property(), RNA_def_property_array(), RNA_def_property_clear_flag(), RNA_def_property_collection_sdna(), RNA_def_property_enum_default(), RNA_def_property_enum_funcs(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_flag(), RNA_def_property_float_sdna(), RNA_def_property_int_default(), RNA_def_property_override_flag(), RNA_def_property_pointer_funcs(), RNA_def_property_pointer_sdna(), RNA_def_property_range(), RNA_def_property_string_sdna(), RNA_def_property_struct_type(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_string(), RNA_def_struct(), RNA_def_struct_refine_func(), RNA_def_struct_register_funcs(), RNA_def_struct_sdna(), RNA_def_struct_ui_icon(), RNA_def_struct_ui_text(), rna_enum_icon_items, and rna_enum_node_group_color_tag_items.

Referenced by RNA_def_nodetree().

◆ rna_def_nodetree_link_api()

◆ rna_def_nodetree_nodes_api()

◆ rna_def_repeat_item()

static void rna_def_repeat_item ( BlenderRNA * brna)
static

◆ rna_def_shader_node()

static void rna_def_shader_node ( BlenderRNA * brna)
static

◆ rna_def_shader_nodetree()

◆ rna_def_simulation_state_item()

◆ rna_def_texture_node()

static void rna_def_texture_node ( BlenderRNA * brna)
static

◆ rna_def_texture_nodetree()

static void rna_def_texture_nodetree ( BlenderRNA * brna)
static

Variable Documentation

◆ node_cryptomatte_layer_name_items

const EnumPropertyItem node_cryptomatte_layer_name_items[]
static
Initial value:
= {
{0, "CryptoObject", 0, "Object", "Use Object layer"},
{1, "CryptoMaterial", 0, "Material", "Use Material layer"},
{2, "CryptoAsset", 0, "Asset", "Use Asset layer"},
{0, nullptr, 0, nullptr, nullptr},
}

Definition at line 606 of file rna_nodetree.cc.

Referenced by def_cmp_cryptomatte().

◆ node_flip_items

const EnumPropertyItem node_flip_items[]
static
Initial value:
= {
{0, "X", 0, "Flip X", ""},
{1, "Y", 0, "Flip Y", ""},
{2, "XY", 0, "Flip X & Y", ""},
{0, nullptr, 0, nullptr, nullptr},
}

Definition at line 4271 of file rna_nodetree.cc.

Referenced by def_cmp_flip().

◆ node_glass_items

const EnumPropertyItem node_glass_items[]
static
Initial value:
= {
{SHD_GLOSSY_BECKMANN, "BECKMANN", 0, "Beckmann", ""},
{SHD_GLOSSY_GGX, "GGX", 0, "GGX", ""},
"MULTI_GGX",
0,
"Multiscatter GGX",
"GGX with additional correction to account for multiple scattering, preserve energy and "
"prevent unexpected darkening at high roughness"},
{0, nullptr, 0, nullptr, nullptr},
}
@ SHD_GLOSSY_BECKMANN
@ SHD_GLOSSY_GGX
@ SHD_GLOSSY_MULTI_GGX

Definition at line 4325 of file rna_nodetree.cc.

Referenced by def_glass().

◆ node_glossy_items

const EnumPropertyItem node_glossy_items[]
static
Initial value:
= {
{SHD_GLOSSY_BECKMANN, "BECKMANN", 0, "Beckmann", ""},
{SHD_GLOSSY_GGX, "GGX", 0, "GGX", ""},
{SHD_GLOSSY_ASHIKHMIN_SHIRLEY, "ASHIKHMIN_SHIRLEY", 0, "Ashikhmin-Shirley", ""},
"MULTI_GGX",
0,
"Multiscatter GGX",
"GGX with additional correction to account for multiple scattering, preserve energy and "
"prevent unexpected darkening at high roughness"},
{0, nullptr, 0, nullptr, nullptr},
}
@ SHD_GLOSSY_ASHIKHMIN_SHIRLEY

Definition at line 4312 of file rna_nodetree.cc.

Referenced by def_glossy().

◆ node_hair_items

const EnumPropertyItem node_hair_items[]
static
Initial value:
= {
"Reflection",
0,
"Reflection",
"The light that bounces off the surface of the hair"},
"Transmission",
0,
"Transmission",
"The light that passes through the hair and exits on the other side"},
{0, nullptr, 0, nullptr, nullptr},
}
@ SHD_HAIR_REFLECTION
@ SHD_HAIR_TRANSMISSION

Definition at line 4359 of file rna_nodetree.cc.

Referenced by def_hair().

◆ node_ies_mode_items

EnumPropertyItem node_ies_mode_items[]
static
Initial value:
= {
{NODE_IES_INTERNAL, "INTERNAL", 0, "Internal", "Use internal text data-block"},
{NODE_IES_EXTERNAL, "EXTERNAL", 0, "External", "Use external .ies file"},
{0, nullptr, 0, nullptr, nullptr},
}
@ NODE_IES_EXTERNAL
@ NODE_IES_INTERNAL

Definition at line 4418 of file rna_nodetree.cc.

Referenced by def_sh_tex_ies().

◆ node_masktype_items

const EnumPropertyItem node_masktype_items[]
static
Initial value:
= {
{0, "ADD", 0, "Add", ""},
{1, "SUBTRACT", 0, "Subtract", ""},
{2, "MULTIPLY", 0, "Multiply", ""},
{3, "NOT", 0, "Not", ""},
{0, nullptr, 0, nullptr, nullptr},
}

Definition at line 8323 of file rna_nodetree.cc.

Referenced by def_cmp_boxmask(), and def_cmp_ellipsemask().

◆ node_metallic_distribution_items

const EnumPropertyItem node_metallic_distribution_items[]
static
Initial value:
= {
{SHD_GLOSSY_BECKMANN, "BECKMANN", 0, "Beckmann", ""},
{SHD_GLOSSY_GGX, "GGX", 0, "GGX", ""},
"MULTI_GGX",
0,
"Multiscatter GGX",
"GGX with additional correction to account for multiple scattering, preserve energy and "
"prevent unexpected darkening at high roughness"},
{0, nullptr, 0, nullptr, nullptr},
}

Definition at line 4285 of file rna_nodetree.cc.

Referenced by def_metallic().

◆ node_metallic_fresnel_type_items

const EnumPropertyItem node_metallic_fresnel_type_items[]
static
Initial value:
= {
"PHYSICAL_CONDUCTOR",
0,
"Physical Conductor",
"Fresnel conductor based on the complex refractive index per color channel"},
"F82",
0,
"F82 Tint",
"An approximation of the Fresnel conductor curve based on the colors at perpendicular and "
"near-grazing (roughly 82°) angles"},
{0, nullptr, 0, nullptr, nullptr},
}
@ SHD_CONDUCTOR_F82
@ SHD_PHYSICAL_CONDUCTOR

Definition at line 4297 of file rna_nodetree.cc.

Referenced by def_metallic().

◆ node_principled_distribution_items

const EnumPropertyItem node_principled_distribution_items[]
static
Initial value:
= {
{SHD_GLOSSY_GGX, "GGX", 0, "GGX", ""},
"MULTI_GGX",
0,
"Multiscatter GGX",
"GGX with additional correction to account for multiple scattering, preserve energy and "
"prevent unexpected darkening at high roughness"},
{0, nullptr, 0, nullptr, nullptr},
}

Definition at line 4424 of file rna_nodetree.cc.

Referenced by def_principled().

◆ node_principled_hair_model_items

const EnumPropertyItem node_principled_hair_model_items[]
static
Initial value:
= {
"CHIANG",
0,
"Chiang",
"Near-field hair scattering model by Chiang et al. 2016, suitable for close-up looks, but is "
"more noisy when viewing from a distance."},
"HUANG",
0,
"Huang",
"Multi-scale hair scattering model by Huang et al. 2022, suitable for viewing both up close "
"and from a distance, supports elliptical cross-sections and has more precise highlight in "
"forward scattering directions."},
{0, nullptr, 0, nullptr, nullptr},
}
@ SHD_PRINCIPLED_HAIR_HUANG
@ SHD_PRINCIPLED_HAIR_CHIANG

Definition at line 4373 of file rna_nodetree.cc.

Referenced by def_hair_principled().

◆ node_principled_hair_parametrization_items

const EnumPropertyItem node_principled_hair_parametrization_items[]
static
Initial value:
= {
"ABSORPTION",
0,
"Absorption Coefficient",
"Directly set the absorption coefficient \"sigma_a\" (this is not the most intuitive way to "
"color hair)"},
"MELANIN",
0,
"Melanin Concentration",
"Define the melanin concentrations below to get the most realistic-looking hair (you can get "
"the concentrations for different types of hair online)"},
"COLOR",
0,
"Direct Coloring",
"Choose the color of your preference, and the shader will approximate the absorption "
"coefficient to render lookalike hair"},
{0, nullptr, 0, nullptr, nullptr},
}
@ SHD_PRINCIPLED_HAIR_REFLECTANCE
@ SHD_PRINCIPLED_HAIR_DIRECT_ABSORPTION
@ SHD_PRINCIPLED_HAIR_PIGMENT_CONCENTRATION

Definition at line 4390 of file rna_nodetree.cc.

Referenced by def_hair_principled().

◆ node_refraction_items

const EnumPropertyItem node_refraction_items[]
static
Initial value:
= {
{SHD_GLOSSY_BECKMANN, "BECKMANN", 0, "Beckmann", ""},
{SHD_GLOSSY_GGX, "GGX", 0, "GGX", ""},
{0, nullptr, 0, nullptr, nullptr},
}

Definition at line 4337 of file rna_nodetree.cc.

Referenced by def_refraction().

◆ node_sampler_type_items

const EnumPropertyItem node_sampler_type_items[]
static
Initial value:
= {
{0, "NEAREST", 0, "Nearest", ""},
{1, "BILINEAR", 0, "Bilinear", ""},
{2, "BICUBIC", 0, "Bicubic", ""},
{0, nullptr, 0, nullptr, nullptr},
}

Definition at line 588 of file rna_nodetree.cc.

Referenced by def_cmp_rotate(), def_cmp_stabilize2d(), and dev_cmd_transform().

◆ node_scatter_phase_items

const EnumPropertyItem node_scatter_phase_items[]
static
Initial value:
= {
"HENYEY_GREENSTEIN",
0,
"Henyey-Greenstein",
"Henyey-Greenstein, default phase function for the scattering of light"},
"FOURNIER_FORAND",
0,
"Fournier-Forand",
"Fournier-Forand phase function, used for the scattering of light in underwater "
"environments"},
"DRAINE",
0,
"Draine",
"Draine phase functions, mostly used for the scattering of light in interstellar dust"},
"RAYLEIGH",
0,
"Rayleigh",
"Rayleigh phase function, mostly used for particles smaller than the wavelength of light, "
"such as scattering of sunlight in earth's atmosphere"},
"MIE",
0,
"Mie",
"Approximation of Mie scattering in water droplets, used for scattering in clouds and fog"},
{0, nullptr, 0, nullptr, nullptr},
}
@ SHD_PHASE_DRAINE
@ SHD_PHASE_RAYLEIGH
@ SHD_PHASE_HENYEY_GREENSTEIN
@ SHD_PHASE_MIE
@ SHD_PHASE_FOURNIER_FORAND

Definition at line 4479 of file rna_nodetree.cc.

Referenced by def_scatter().

◆ node_script_mode_items

const EnumPropertyItem node_script_mode_items[]
static
Initial value:
= {
{NODE_SCRIPT_INTERNAL, "INTERNAL", 0, "Internal", "Use internal text data-block"},
{NODE_SCRIPT_EXTERNAL, "EXTERNAL", 0, "External", "Use external .osl or .oso file"},
{0, nullptr, 0, nullptr, nullptr},
}
@ NODE_SCRIPT_INTERNAL
@ NODE_SCRIPT_EXTERNAL

Definition at line 4412 of file rna_nodetree.cc.

Referenced by def_sh_script().

◆ node_sheen_items

const EnumPropertyItem node_sheen_items[]
static
Initial value:
= {
{SHD_SHEEN_ASHIKHMIN, "ASHIKHMIN", 0, "Ashikhmin", "Classic Ashikhmin velvet (legacy model)"},
"MICROFIBER",
0,
"Microfiber",
"Microflake-based model of multiple scattering between normal-oriented fibers"},
{0, nullptr, 0, nullptr, nullptr},
}
#define SHD_SHEEN_ASHIKHMIN
#define SHD_SHEEN_MICROFIBER

Definition at line 4343 of file rna_nodetree.cc.

Referenced by def_sheen().

◆ node_subsurface_method_items

const EnumPropertyItem node_subsurface_method_items[]
static
Initial value:
= {
"BURLEY",
0,
"Christensen-Burley",
"Approximation to physically based volume scattering"},
"RANDOM_WALK",
0,
"Random Walk",
"Volumetric approximation to physically based volume scattering, using the scattering radius "
"as specified"},
"RANDOM_WALK_SKIN",
0,
"Random Walk (Skin)",
"Volumetric approximation to physically based volume scattering, with scattering radius "
"automatically adjusted to match color textures. Designed for skin shading."},
{0, nullptr, 0, nullptr, nullptr}}
@ SHD_SUBSURFACE_BURLEY
@ SHD_SUBSURFACE_RANDOM_WALK_SKIN
@ SHD_SUBSURFACE_RANDOM_WALK

Definition at line 4435 of file rna_nodetree.cc.

Referenced by def_principled(), and def_sh_subsurface().

◆ node_toon_items

const EnumPropertyItem node_toon_items[]
static
Initial value:
= {
{SHD_TOON_DIFFUSE, "DIFFUSE", 0, "Diffuse", "Use diffuse BSDF"},
{SHD_TOON_GLOSSY, "GLOSSY", 0, "Glossy", "Use glossy BSDF"},
{0, nullptr, 0, nullptr, nullptr},
}
@ SHD_TOON_GLOSSY
@ SHD_TOON_DIFFUSE

Definition at line 4353 of file rna_nodetree.cc.

Referenced by def_toon().

◆ node_ycc_items

const EnumPropertyItem node_ycc_items[]
static
Initial value:
= {
{0, "ITUBT601", 0, "ITU 601", ""},
{1, "ITUBT709", 0, "ITU 709", ""},
{2, "JFIF", 0, "JPEG", ""},
{0, nullptr, 0, nullptr, nullptr},
}

Definition at line 4278 of file rna_nodetree.cc.

Referenced by def_cmp_combsep_color(), and def_cmp_ycc().

◆ prop_image_extension

const EnumPropertyItem prop_image_extension[]
static
Initial value:
= {
"REPEAT",
0,
"Repeat",
"Cause the image to repeat horizontally and vertically"},
"EXTEND",
0,
"Extend",
"Extend by repeating edge pixels of the image"},
"CLIP",
0,
"Clip",
"Clip to image size and set exterior pixels as transparent"},
"MIRROR",
0,
"Mirror",
"Repeatedly flip the image horizontally and vertically"},
{0, nullptr, 0, nullptr, nullptr},
}
@ SHD_IMAGE_EXTENSION_MIRROR
@ SHD_IMAGE_EXTENSION_CLIP
@ SHD_IMAGE_EXTENSION_REPEAT
@ SHD_IMAGE_EXTENSION_EXTEND

Definition at line 4455 of file rna_nodetree.cc.

Referenced by def_geo_image_texture(), def_sh_tex_image(), and rna_def_texture_image().

◆ prop_image_layer_items

const EnumPropertyItem prop_image_layer_items[]
static
Initial value:
= {
{0, "PLACEHOLDER", 0, "Placeholder", ""},
{0, nullptr, 0, nullptr, nullptr},
}

Definition at line 4249 of file rna_nodetree.cc.

Referenced by def_node_image_user().

◆ prop_image_view_items

const EnumPropertyItem prop_image_view_items[]
static
Initial value:
= {
{0, "ALL", 0, "All", ""},
{0, nullptr, 0, nullptr, nullptr},
}

Definition at line 4254 of file rna_nodetree.cc.

Referenced by def_node_image_user().

◆ prop_shader_output_target_items

const EnumPropertyItem prop_shader_output_target_items[]
static
Initial value:
= {
"ALL",
0,
"All",
"Use shaders for all renderers and viewports, unless there exists a more specific output"},
{SHD_OUTPUT_EEVEE, "EEVEE", 0, "EEVEE", "Use shaders for EEVEE renderer"},
{SHD_OUTPUT_CYCLES, "CYCLES", 0, "Cycles", "Use shaders for Cycles renderer"},
{0, nullptr, 0, nullptr, nullptr},
}
@ SHD_OUTPUT_CYCLES
@ SHD_OUTPUT_ALL
@ SHD_OUTPUT_EEVEE

Definition at line 595 of file rna_nodetree.cc.

Referenced by def_sh_output(), and rna_def_shader_nodetree().

◆ prop_tri_channel_items

const EnumPropertyItem prop_tri_channel_items[]
static
Initial value:
= {
{1, "R", 0, "R", "Red"},
{2, "G", 0, "G", "Green"},
{3, "B", 0, "B", "Blue"},
{0, nullptr, 0, nullptr, nullptr},
}

Definition at line 4264 of file rna_nodetree.cc.

Referenced by def_cmp_channel_matte().

◆ prop_view_layer_items

const EnumPropertyItem prop_view_layer_items[]
static
Initial value:
= {
{0, "PLACEHOLDER", 0, "Placeholder", ""},
{0, nullptr, 0, nullptr, nullptr},
}

Definition at line 4259 of file rna_nodetree.cc.

Referenced by def_cmp_render_layers().

◆ rna_enum_geometry_nodes_gizmo_color_items

const EnumPropertyItem rna_enum_geometry_nodes_gizmo_color_items[]
Initial value:
= {
{GEO_NODE_GIZMO_COLOR_PRIMARY, "PRIMARY", 0, "Primary", ""},
{GEO_NODE_GIZMO_COLOR_SECONDARY, "SECONDARY", 0, "Secondary", ""},
{GEO_NODE_GIZMO_COLOR_X, "X", 0, "X", ""},
{GEO_NODE_GIZMO_COLOR_Y, "Y", 0, "Y", ""},
{GEO_NODE_GIZMO_COLOR_Z, "Z", 0, "Z", ""},
{0, nullptr, 0, nullptr, nullptr},
}
@ GEO_NODE_GIZMO_COLOR_Z
@ GEO_NODE_GIZMO_COLOR_Y
@ GEO_NODE_GIZMO_COLOR_X
@ GEO_NODE_GIZMO_COLOR_PRIMARY
@ GEO_NODE_GIZMO_COLOR_SECONDARY

Definition at line 571 of file rna_nodetree.cc.

Referenced by blender::nodes::node_geo_gizmo_dial_cc::node_rna(), and blender::nodes::node_geo_gizmo_linear_cc::node_rna().

◆ rna_enum_geometry_nodes_linear_gizmo_draw_style_items

const EnumPropertyItem rna_enum_geometry_nodes_linear_gizmo_draw_style_items[]
Initial value:
= {
{GEO_NODE_LINEAR_GIZMO_DRAW_STYLE_ARROW, "ARROW", 0, "Arrow", ""},
{GEO_NODE_LINEAR_GIZMO_DRAW_STYLE_CROSS, "CROSS", 0, "Cross", ""},
{GEO_NODE_LINEAR_GIZMO_DRAW_STYLE_BOX, "BOX", 0, "Box", ""},
{0, nullptr, 0, nullptr, nullptr},
}
@ GEO_NODE_LINEAR_GIZMO_DRAW_STYLE_CROSS
@ GEO_NODE_LINEAR_GIZMO_DRAW_STYLE_BOX
@ GEO_NODE_LINEAR_GIZMO_DRAW_STYLE_ARROW

Definition at line 580 of file rna_nodetree.cc.

Referenced by blender::nodes::node_geo_gizmo_linear_cc::node_rna().

◆ rna_enum_mapping_type_items

const EnumPropertyItem rna_enum_mapping_type_items[]
Initial value:
= {
{NODE_MAPPING_TYPE_POINT, "POINT", 0, "Point", "Transform a point"},
"TEXTURE",
0,
"Texture",
"Transform a texture by inverse mapping the texture coordinate"},
"VECTOR",
0,
"Vector",
"Transform a direction vector (Location is ignored)"},
"NORMAL",
0,
"Normal",
"Transform a unit normal vector (Location is ignored)"},
{0, nullptr, 0, nullptr, nullptr},
}
@ NODE_MAPPING_TYPE_POINT
@ NODE_MAPPING_TYPE_VECTOR
@ NODE_MAPPING_TYPE_TEXTURE
@ NODE_MAPPING_TYPE_NORMAL

Definition at line 120 of file rna_nodetree.cc.

Referenced by def_sh_mapping(), and rna_def_texmapping().

◆ rna_enum_mix_data_type_items

const EnumPropertyItem rna_enum_mix_data_type_items[]
static
Initial value:
= {
{SOCK_FLOAT, "FLOAT", 0, "Float", ""},
{SOCK_VECTOR, "VECTOR", 0, "Vector", ""},
{SOCK_RGBA, "RGBA", 0, "Color", ""},
{SOCK_ROTATION, "ROTATION", 0, "Rotation", ""},
{0, nullptr, 0, nullptr, nullptr},
}
@ SOCK_VECTOR
@ SOCK_FLOAT
@ SOCK_ROTATION
@ SOCK_RGBA

Definition at line 556 of file rna_nodetree.cc.

Referenced by def_sh_mix().

◆ rna_enum_node_boolean_math_items

const EnumPropertyItem rna_enum_node_boolean_math_items[]
Initial value:
= {
{NODE_BOOLEAN_MATH_AND, "AND", 0, "And", "True when both inputs are true"},
{NODE_BOOLEAN_MATH_OR, "OR", 0, "Or", "True when at least one input is true"},
{NODE_BOOLEAN_MATH_NOT, "NOT", 0, "Not", "Opposite of the input"},
{NODE_BOOLEAN_MATH_NAND, "NAND", 0, "Not And", "True when at least one input is false"},
{NODE_BOOLEAN_MATH_NOR, "NOR", 0, "Nor", "True when both inputs are false"},
"XNOR",
0,
"Equal",
"True when both inputs are equal (exclusive nor)"},
"XOR",
0,
"Not Equal",
"True when both inputs are different (exclusive or)"},
"IMPLY",
0,
"Imply",
"True unless the first input is true and the second is false"},
"NIMPLY",
0,
"Subtract",
"True when the first input is true and the second is false (not imply)"},
{0, nullptr, 0, nullptr, nullptr},
}
@ NODE_BOOLEAN_MATH_IMPLY
@ NODE_BOOLEAN_MATH_AND
@ NODE_BOOLEAN_MATH_NAND
@ NODE_BOOLEAN_MATH_XOR
@ NODE_BOOLEAN_MATH_NOT
@ NODE_BOOLEAN_MATH_OR
@ NODE_BOOLEAN_MATH_NIMPLY
@ NODE_BOOLEAN_MATH_XNOR
@ NODE_BOOLEAN_MATH_NOR
#define RNA_ENUM_ITEM_SEPR
Definition RNA_types.hh:528

Definition at line 284 of file rna_nodetree.cc.

Referenced by blender::nodes::node_fn_boolean_math_cc::node_gather_link_searches(), blender::nodes::node_fn_boolean_math_cc::node_label(), and blender::nodes::node_fn_boolean_math_cc::node_rna().

◆ rna_enum_node_clamp_items

const EnumPropertyItem rna_enum_node_clamp_items[]
Initial value:
= {
{NODE_CLAMP_MINMAX, "MINMAX", 0, "Min Max", "Constrain value between min and max"},
"RANGE",
0,
"Range",
"Constrain value between min and max, swapping arguments when min > max"},
{0, nullptr, 0, nullptr, nullptr},
}
@ NODE_CLAMP_RANGE
@ NODE_CLAMP_MINMAX

Definition at line 491 of file rna_nodetree.cc.

Referenced by def_clamp().

◆ rna_enum_node_combsep_color_items

const EnumPropertyItem rna_enum_node_combsep_color_items[]
Initial value:
= {
{NODE_COMBSEP_COLOR_RGB, "RGB", ICON_NONE, "RGB", "Use RGB color processing"},
{NODE_COMBSEP_COLOR_HSV, "HSV", ICON_NONE, "HSV", "Use HSV color processing"},
{NODE_COMBSEP_COLOR_HSL, "HSL", ICON_NONE, "HSL", "Use HSL color processing"},
{0, nullptr, 0, nullptr, nullptr},
}
@ NODE_COMBSEP_COLOR_RGB
@ NODE_COMBSEP_COLOR_HSV
@ NODE_COMBSEP_COLOR_HSL

Definition at line 549 of file rna_nodetree.cc.

Referenced by def_tex_combsep_color(), blender::nodes::node_fn_combine_color_cc::node_rna(), and blender::nodes::node_fn_separate_color_cc::node_rna().

◆ rna_enum_node_compare_operation_items

◆ rna_enum_node_filter_items

const EnumPropertyItem rna_enum_node_filter_items[]
Initial value:
= {
{0, "SOFTEN", 0, "Soften", ""},
{1, "SHARPEN", 0, "Box Sharpen", "An aggressive sharpening filter"},
{7, "SHARPEN_DIAMOND", 0, "Diamond Sharpen", "A moderate sharpening filter"},
{2, "LAPLACE", 0, "Laplace", ""},
{3, "SOBEL", 0, "Sobel", ""},
{4, "PREWITT", 0, "Prewitt", ""},
{5, "KIRSCH", 0, "Kirsch", ""},
{6, "SHADOW", 0, "Shadow", ""},
{0, nullptr, 0, nullptr, nullptr},
}

Definition at line 509 of file rna_nodetree.cc.

Referenced by def_cmp_filter(), and node_filter_label().

◆ rna_enum_node_float_compare_items

const EnumPropertyItem rna_enum_node_float_compare_items[]
Initial value:
= {
"LESS_THAN",
0,
"Less Than",
"True when the first input is smaller than second input"},
"LESS_EQUAL",
0,
"Less Than or Equal",
"True when the first input is smaller than the second input or equal"},
"GREATER_THAN",
0,
"Greater Than",
"True when the first input is greater than the second input"},
"GREATER_EQUAL",
0,
"Greater Than or Equal",
"True when the first input is greater than the second input or equal"},
{NODE_COMPARE_EQUAL, "EQUAL", 0, "Equal", "True when both inputs are approximately equal"},
"NOT_EQUAL",
0,
"Not Equal",
"True when both inputs are not approximately equal"},
{0, nullptr, 0, nullptr, nullptr},
}
@ NODE_COMPARE_NOT_EQUAL
@ NODE_COMPARE_LESS_EQUAL
@ NODE_COMPARE_EQUAL
@ NODE_COMPARE_GREATER_EQUAL
@ NODE_COMPARE_GREATER_THAN
@ NODE_COMPARE_LESS_THAN

Definition at line 315 of file rna_nodetree.cc.

◆ rna_enum_node_float_to_int_items

const EnumPropertyItem rna_enum_node_float_to_int_items[]
Initial value:
= {
"ROUND",
0,
"Round",
"Round the float up or down to the nearest integer"},
"FLOOR",
0,
"Floor",
"Round the float down to the next smallest integer"},
"CEILING",
0,
"Ceiling",
"Round the float up to the next largest integer"},
"TRUNCATE",
0,
"Truncate",
"Round the float to the closest integer in the direction of zero (floor if positive; ceiling "
"if negative)"},
{0, nullptr, 0, nullptr, nullptr},
}
@ FN_NODE_FLOAT_TO_INT_TRUNCATE
@ FN_NODE_FLOAT_TO_INT_CEIL
@ FN_NODE_FLOAT_TO_INT_ROUND
@ FN_NODE_FLOAT_TO_INT_FLOOR

Definition at line 442 of file rna_nodetree.cc.

Referenced by def_float_to_int(), and blender::nodes::node_fn_float_to_int_cc::node_label().

◆ rna_enum_node_geometry_curve_handle_side_items

const EnumPropertyItem rna_enum_node_geometry_curve_handle_side_items[]
Initial value:
= {
{GEO_NODE_CURVE_HANDLE_LEFT, "LEFT", ICON_NONE, "Left", "Use the left handles"},
{GEO_NODE_CURVE_HANDLE_RIGHT, "RIGHT", ICON_NONE, "Right", "Use the right handles"},
{0, nullptr, 0, nullptr, nullptr}}
@ GEO_NODE_CURVE_HANDLE_RIGHT
@ GEO_NODE_CURVE_HANDLE_LEFT

Definition at line 544 of file rna_nodetree.cc.

Referenced by def_geo_curve_handle_type_selection(), def_geo_curve_set_handle_type(), and blender::nodes::node_geo_set_curve_handles_cc::node_rna().

◆ rna_enum_node_geometry_mesh_circle_fill_type_items

const EnumPropertyItem rna_enum_node_geometry_mesh_circle_fill_type_items[]
Initial value:
= {
{GEO_NODE_MESH_CIRCLE_FILL_NONE, "NONE", 0, "None", ""},
{GEO_NODE_MESH_CIRCLE_FILL_NGON, "NGON", 0, "N-Gon", ""},
{GEO_NODE_MESH_CIRCLE_FILL_TRIANGLE_FAN, "TRIANGLE_FAN", 0, "Triangles", ""},
{0, nullptr, 0, nullptr, nullptr},
}
@ GEO_NODE_MESH_CIRCLE_FILL_NGON
@ GEO_NODE_MESH_CIRCLE_FILL_TRIANGLE_FAN
@ GEO_NODE_MESH_CIRCLE_FILL_NONE

Definition at line 564 of file rna_nodetree.cc.

Referenced by blender::nodes::node_geo_mesh_primitive_circle_cc::node_rna(), blender::nodes::node_geo_mesh_primitive_cone_cc::node_rna(), and blender::nodes::node_geo_mesh_primitive_cylinder_cc::node_rna().

◆ rna_enum_node_group_color_tag_items

const EnumPropertyItem rna_enum_node_group_color_tag_items[]
Initial value:
= {
"NONE",
0,
"None",
"Default tag for new node groups"},
{int(blender::bke::NodeGroupColorTag::Attribute), "ATTRIBUTE", 0, "Attribute", ""},
{int(blender::bke::NodeGroupColorTag::Color), "COLOR", 0, "Color", ""},
{int(blender::bke::NodeGroupColorTag::Converter), "CONVERTER", 0, "Converter", ""},
{int(blender::bke::NodeGroupColorTag::Distort), "DISTORT", 0, "Distort", ""},
{int(blender::bke::NodeGroupColorTag::Filter), "FILTER", 0, "Filter", ""},
{int(blender::bke::NodeGroupColorTag::Geometry), "GEOMETRY", 0, "Geometry", ""},
{int(blender::bke::NodeGroupColorTag::Input), "INPUT", 0, "Input", ""},
{int(blender::bke::NodeGroupColorTag::Matte), "MATTE", 0, "Matte", ""},
{int(blender::bke::NodeGroupColorTag::Output), "OUTPUT", 0, "Output", ""},
{int(blender::bke::NodeGroupColorTag::Script), "SCRIPT", 0, "Script", ""},
{int(blender::bke::NodeGroupColorTag::Shader), "SHADER", 0, "Shader", ""},
{int(blender::bke::NodeGroupColorTag::Texture), "TEXTURE", 0, "Texture", ""},
{int(blender::bke::NodeGroupColorTag::Vector), "VECTOR", 0, "Vector", ""},
{0, nullptr, 0, nullptr, nullptr},
}
draw_view push_constant(Type::INT, "radiance_src") .push_constant(Type capture_info_buf storage_buf(1, Qualifier::READ, "ObjectBounds", "bounds_buf[]") .push_constant(Type draw_view int

Definition at line 98 of file rna_nodetree.cc.

Referenced by rna_def_nodetree().

◆ rna_enum_node_integer_math_items

◆ rna_enum_node_map_range_items

const EnumPropertyItem rna_enum_node_map_range_items[]
Initial value:
= {
"LINEAR",
0,
"Linear",
"Linear interpolation between From Min and From Max values"},
"STEPPED",
0,
"Stepped Linear",
"Stepped linear interpolation between From Min and From Max values"},
"SMOOTHSTEP",
0,
"Smooth Step",
"Smooth Hermite edge interpolation between From Min and From Max values"},
"SMOOTHERSTEP",
0,
"Smoother Step",
"Smoother Hermite edge interpolation between From Min and From Max values"},
{0, nullptr, 0, nullptr, nullptr},
}
@ NODE_MAP_RANGE_STEPPED
@ NODE_MAP_RANGE_SMOOTHERSTEP
@ NODE_MAP_RANGE_SMOOTHSTEP
@ NODE_MAP_RANGE_LINEAR

Definition at line 467 of file rna_nodetree.cc.

Referenced by def_map_range().

◆ rna_enum_node_math_items

◆ rna_enum_node_socket_data_type_items

const EnumPropertyItem rna_enum_node_socket_data_type_items[]
Initial value:
= {
{SOCK_FLOAT, "FLOAT", 0, "Float", ""},
{SOCK_INT, "INT", 0, "Integer", ""},
{SOCK_BOOLEAN, "BOOLEAN", 0, "Boolean", ""},
{SOCK_VECTOR, "VECTOR", 0, "Vector", ""},
{SOCK_ROTATION, "ROTATION", 0, "Rotation", ""},
{SOCK_MATRIX, "MATRIX", 0, "Matrix", ""},
{SOCK_STRING, "STRING", 0, "String", ""},
{SOCK_MENU, "MENU", 0, "Menu", ""},
{SOCK_RGBA, "RGBA", 0, "Color", ""},
{SOCK_OBJECT, "OBJECT", 0, "Object", ""},
{SOCK_IMAGE, "IMAGE", 0, "Image", ""},
{SOCK_GEOMETRY, "GEOMETRY", 0, "Geometry", ""},
{SOCK_COLLECTION, "COLLECTION", 0, "Collection", ""},
{SOCK_TEXTURE, "TEXTURE", 0, "Texture", ""},
{SOCK_MATERIAL, "MATERIAL", 0, "Material", ""},
{0, nullptr, 0, nullptr, nullptr},
}
@ SOCK_INT
@ SOCK_TEXTURE
@ SOCK_BOOLEAN
@ SOCK_MATERIAL
@ SOCK_MATRIX
@ SOCK_IMAGE
@ SOCK_COLLECTION
@ SOCK_GEOMETRY
@ SOCK_OBJECT
@ SOCK_STRING
@ SOCK_MENU

Definition at line 79 of file rna_nodetree.cc.

Referenced by blender::nodes::node_geo_sample_grid_cc::data_type_filter_fn(), blender::nodes::node_geo_sample_grid_index_cc::data_type_filter_fn(), blender::nodes::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_get_named_grid_cc::node_rna(), blender::nodes::node_geo_index_switch_cc::node_rna(), blender::nodes::node_geo_menu_switch_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_switch_cc::node_rna(), rna_def_node_item_array_new_with_socket_and_name(), and rna_def_node_item_array_socket_item_common().

◆ rna_enum_node_socket_in_out_items

const EnumPropertyItem rna_enum_node_socket_in_out_items[]
Initial value:
= {{SOCK_IN, "IN", 0, "Input", ""},
{SOCK_OUT, "OUT", 0, "Output", ""},
{0, nullptr, 0, nullptr, nullptr}}
@ SOCK_OUT
@ SOCK_IN

Definition at line 75 of file rna_nodetree.cc.

◆ rna_enum_node_tex_dimensions_items

const EnumPropertyItem rna_enum_node_tex_dimensions_items[]
static
Initial value:
= {
{1, "1D", 0, "1D", "Use the scalar value W as input"},
{2, "2D", 0, "2D", "Use the 2D vector (X, Y) as input. The Z component is ignored."},
{3, "3D", 0, "3D", "Use the 3D vector (X, Y, Z) as input"},
{4, "4D", 0, "4D", "Use the 4D vector (X, Y, Z, W) as input"},
{0, nullptr, 0, nullptr, nullptr},
}

Definition at line 501 of file rna_nodetree.cc.

Referenced by def_sh_tex_noise(), def_sh_tex_voronoi(), and def_sh_tex_white_noise().

◆ rna_enum_node_vec_math_items

◆ rna_enum_vector_rotate_type_items

const EnumPropertyItem rna_enum_vector_rotate_type_items[]
static
Initial value:
= {
"AXIS_ANGLE",
0,
"Axis Angle",
"Rotate a point using axis angle"},
{NODE_VECTOR_ROTATE_TYPE_AXIS_X, "X_AXIS", 0, "X Axis", "Rotate a point using X axis"},
{NODE_VECTOR_ROTATE_TYPE_AXIS_Y, "Y_AXIS", 0, "Y Axis", "Rotate a point using Y axis"},
{NODE_VECTOR_ROTATE_TYPE_AXIS_Z, "Z_AXIS", 0, "Z Axis", "Rotate a point using Z axis"},
{NODE_VECTOR_ROTATE_TYPE_EULER_XYZ, "EULER_XYZ", 0, "Euler", "Rotate a point using XYZ order"},
{0, nullptr, 0, nullptr, nullptr},
}
@ NODE_VECTOR_ROTATE_TYPE_AXIS
@ NODE_VECTOR_ROTATE_TYPE_AXIS_Z
@ NODE_VECTOR_ROTATE_TYPE_AXIS_X
@ NODE_VECTOR_ROTATE_TYPE_EULER_XYZ
@ NODE_VECTOR_ROTATE_TYPE_AXIS_Y

Definition at line 140 of file rna_nodetree.cc.

Referenced by def_sh_vector_rotate().

◆ rna_node_geometry_curve_handle_type_items

const EnumPropertyItem rna_node_geometry_curve_handle_type_items[]
static
Initial value:
= {
"FREE",
ICON_HANDLE_FREE,
"Free",
"The handle can be moved anywhere, and doesn't influence the point's other handle"},
"AUTO",
ICON_HANDLE_AUTO,
"Auto",
"The location is automatically calculated to be smooth"},
"VECTOR",
ICON_HANDLE_VECTOR,
"Vector",
"The location is calculated to point to the next/previous control point"},
"ALIGN",
ICON_HANDLE_ALIGNED,
"Align",
"The location is constrained to point in the opposite direction as the other handle"},
{0, nullptr, 0, nullptr, nullptr}}
@ GEO_NODE_CURVE_HANDLE_ALIGN
@ GEO_NODE_CURVE_HANDLE_AUTO
@ GEO_NODE_CURVE_HANDLE_FREE
@ GEO_NODE_CURVE_HANDLE_VECTOR

Definition at line 521 of file rna_nodetree.cc.

Referenced by def_geo_curve_handle_type_selection(), and def_geo_curve_set_handle_type().

◆ sh_tex_prop_interpolation_items

const EnumPropertyItem sh_tex_prop_interpolation_items[]
static
Initial value:
= {
{SHD_INTERP_LINEAR, "Linear", 0, "Linear", "Linear interpolation"},
{SHD_INTERP_CLOSEST, "Closest", 0, "Closest", "No interpolation (sample closest texel)"},
{SHD_INTERP_CUBIC, "Cubic", 0, "Cubic", "Cubic interpolation"},
{SHD_INTERP_SMART, "Smart", 0, "Smart", "Bicubic when magnifying, else bilinear (OSL only)"},
{0, nullptr, 0, nullptr, nullptr},
}
@ SHD_INTERP_LINEAR
@ SHD_INTERP_SMART
@ SHD_INTERP_CUBIC
@ SHD_INTERP_CLOSEST

Definition at line 5113 of file rna_nodetree.cc.

Referenced by def_sh_tex_environment(), and def_sh_tex_image().