|
Blender V4.3
|
#include <cfloat>#include <cstdlib>#include "DNA_material_types.h"#include "DNA_mesh_types.h"#include "DNA_texture_types.h"#include "BLI_math_rotation.h"#include "BLT_translation.hh"#include "BKE_customdata.hh"#include "RNA_define.hh"#include "RNA_enum_types.hh"#include "rna_internal.hh"#include "WM_api.hh"#include "WM_types.hh"Go to the source code of this file.
Functions | |
| static void | rna_def_material_display (StructRNA *srna) |
| static void | rna_def_material_greasepencil (BlenderRNA *brna) |
| static void | rna_def_material_lineart (BlenderRNA *brna) |
| void | RNA_def_material (BlenderRNA *brna) |
| static void | rna_def_texture_slots (BlenderRNA *brna, PropertyRNA *cprop, const char *structname, const char *structname_slots) |
| void | rna_def_mtex_common (BlenderRNA *brna, StructRNA *srna, const char *begin, const char *activeget, const char *activeset, const char *activeeditable, const char *structname, const char *structname_slots, const char *update, const char *update_index) |
| static void | rna_def_tex_slot (BlenderRNA *brna) |
| void | rna_def_texpaint_slots (BlenderRNA *brna, StructRNA *srna) |
Variables | |
| const EnumPropertyItem | rna_enum_ramp_blend_items [] |
| void RNA_def_material | ( | BlenderRNA * | brna | ) |
Definition at line 818 of file rna_material.cc.
References BLT_I18NCONTEXT_ID_MATERIAL, FLT_MAX, MA_BL_CULL_BACKFACE, MA_BL_CULL_BACKFACE_SHADOW, MA_BL_HIDE_BACKFACE, MA_BL_LIGHTPROBE_VOLUME_DOUBLE_SIDED, MA_BL_SS_REFRACTION, MA_BL_THICKNESS_FROM_SHADOW, MA_BL_TRANSLUCENCY, MA_BL_TRANSPARENT_SHADOW, MA_BM_BLEND, MA_BM_CLIP, MA_BM_HASHED, MA_BM_SOLID, MA_CLOTH, MA_CUBE, MA_DISPLACEMENT_BOTH, MA_DISPLACEMENT_BUMP, MA_DISPLACEMENT_DISPLACE, MA_FLAT, MA_FLUID, MA_HAIR, MA_PREVIEW_WORLD, MA_SHADERBALL, MA_SPHERE, MA_SURFACE_METHOD_DEFERRED, MA_SURFACE_METHOD_FORWARD, MA_THICKNESS_SLAB, MA_THICKNESS_SPHERE, MA_VOLUME_ISECT_ACCURATE, MA_VOLUME_ISECT_FAST, NC_OBJECT, PROP_ANIMATABLE, PROP_BOOLEAN, PROP_CONTEXT_UPDATE, PROP_DISTANCE, PROP_EDITABLE, PROP_ENUM, PROP_FACTOR, PROP_FLOAT, PROP_INT, PROP_NONE, PROP_POINTER, PROP_PTR_NO_OWNERSHIP, PROP_UNSIGNED, PROPOVERRIDE_OVERRIDABLE_LIBRARY, RNA_api_material(), rna_def_animdata_common(), rna_def_material_display(), rna_def_material_greasepencil(), rna_def_material_lineart(), RNA_def_property(), RNA_def_property_boolean_funcs(), RNA_def_property_boolean_negative_sdna(), RNA_def_property_boolean_sdna(), RNA_def_property_clear_flag(), 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_sdna(), RNA_def_property_override_flag(), RNA_def_property_pointer_sdna(), RNA_def_property_range(), RNA_def_property_translation_context(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_ui_icon(), RNA_def_struct_ui_text(), and rna_def_texpaint_slots().
|
static |
Definition at line 438 of file rna_material.cc.
References PROP_COLOR, PROP_FACTOR, PROP_FLOAT, PROP_INT, PROP_NONE, PROPOVERRIDE_OVERRIDABLE_LIBRARY, RNA_def_property(), RNA_def_property_array(), RNA_def_property_float_array_default(), RNA_def_property_float_sdna(), RNA_def_property_int_sdna(), RNA_def_property_override_flag(), RNA_def_property_range(), RNA_def_property_ui_text(), and RNA_def_property_update().
Referenced by RNA_def_material().
|
static |
Definition at line 496 of file rna_material.cc.
References BLT_I18NCONTEXT_ID_GPENCIL, DEG2RADF, GP_MATERIAL_DISABLE_STENCIL, GP_MATERIAL_FILL_SHOW, GP_MATERIAL_FILL_STYLE_GRADIENT, GP_MATERIAL_FILL_STYLE_SOLID, GP_MATERIAL_FILL_STYLE_TEXTURE, GP_MATERIAL_FLIP_FILL, GP_MATERIAL_FOLLOW_FIXED, GP_MATERIAL_FOLLOW_OBJ, GP_MATERIAL_FOLLOW_PATH, GP_MATERIAL_GRADIENT_LINEAR, GP_MATERIAL_GRADIENT_RADIAL, GP_MATERIAL_HIDE, GP_MATERIAL_HIDE_ONIONSKIN, GP_MATERIAL_IS_FILL_HOLDOUT, GP_MATERIAL_IS_STROKE_HOLDOUT, GP_MATERIAL_LOCKED, GP_MATERIAL_MODE_DOT, GP_MATERIAL_MODE_LINE, GP_MATERIAL_MODE_SQUARE, GP_MATERIAL_STROKE_SHOW, GP_MATERIAL_STROKE_STYLE_SOLID, GP_MATERIAL_STROKE_STYLE_TEXTURE, GP_MATERIAL_TEX_CLAMP, NC_GPENCIL, ND_SHADING, PROP_ANGLE, PROP_BOOLEAN, PROP_COLOR, PROP_COORDS, PROP_EDITABLE, PROP_ENUM, PROP_FACTOR, PROP_FLOAT, PROP_INT, PROP_NONE, PROP_POINTER, PROP_UNSIGNED, PROPOVERRIDE_OVERRIDABLE_LIBRARY, 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_enum_bitflag_sdna(), RNA_def_property_enum_items(), RNA_def_property_flag(), RNA_def_property_float_default(), RNA_def_property_float_sdna(), RNA_def_property_int_sdna(), RNA_def_property_override_flag(), RNA_def_property_pointer_funcs(), RNA_def_property_pointer_sdna(), RNA_def_property_range(), RNA_def_property_translation_context(), RNA_def_property_ui_icon(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_path_func(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by RNA_def_material().
|
static |
Definition at line 768 of file rna_material.cc.
References LRT_MATERIAL_CUSTOM_INTERSECTION_PRIORITY, LRT_MATERIAL_MASK_ENABLED, NC_GPENCIL, ND_SHADING, PROP_BOOLEAN, PROP_INT, PROP_NONE, RNA_def_property(), RNA_def_property_array(), RNA_def_property_boolean_default(), RNA_def_property_boolean_sdna(), RNA_def_property_int_default(), RNA_def_property_range(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_path_func(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by RNA_def_material().
| void rna_def_mtex_common | ( | BlenderRNA * | brna, |
| StructRNA * | srna, | ||
| const char * | begin, | ||
| const char * | activeget, | ||
| const char * | activeset, | ||
| const char * | activeeditable, | ||
| const char * | structname, | ||
| const char * | structname_slots, | ||
| const char * | update, | ||
| const char * | update_index ) |
Definition at line 1187 of file rna_material.cc.
References MAX_MTEX, NC_MATERIAL, ND_SHADING_LINKS, PROP_COLLECTION, PROP_EDITABLE, PROP_INT, PROP_NONE, PROP_POINTER, PROP_UNSIGNED, RNA_def_property(), RNA_def_property_collection_funcs(), RNA_def_property_editable_func(), RNA_def_property_flag(), RNA_def_property_int_sdna(), RNA_def_property_pointer_funcs(), RNA_def_property_range(), RNA_def_property_struct_type(), RNA_def_property_ui_text(), RNA_def_property_update(), rna_def_texture_slots(), and update().
Referenced by rna_def_linestyle(), and rna_def_particle_settings().
|
static |
Definition at line 1233 of file rna_material.cc.
References NC_GEOM, ND_DATA, PROP_BOOLEAN, PROP_EDITABLE, PROP_INT, PROP_NONE, PROP_STRING, RNA_def_property(), RNA_def_property_boolean_sdna(), RNA_def_property_clear_flag(), RNA_def_property_int_funcs(), RNA_def_property_string_funcs(), RNA_def_property_string_maxlength(), RNA_def_property_string_sdna(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_name_property(), and RNA_def_struct_ui_text().
Referenced by rna_def_texpaint_slots().
| void rna_def_texpaint_slots | ( | BlenderRNA * | brna, |
| StructRNA * | srna ) |
Definition at line 1270 of file rna_material.cc.
References NC_MATERIAL, ND_SHADING_LINKS, PROP_COLLECTION, PROP_CONTEXT_UPDATE, PROP_INT, PROP_NONE, PROP_UNSIGNED, RNA_def_property(), RNA_def_property_collection_funcs(), RNA_def_property_collection_sdna(), RNA_def_property_flag(), RNA_def_property_range(), RNA_def_property_struct_type(), RNA_def_property_ui_text(), RNA_def_property_update(), and rna_def_tex_slot().
Referenced by RNA_def_material().
|
static |
Definition at line 1149 of file rna_material.cc.
References FUNC_NO_SELF, FUNC_USE_CONTEXT, FUNC_USE_REPORTS, FUNC_USE_SELF_ID, PARM_REQUIRED, RNA_def_function(), RNA_def_function_flag(), RNA_def_function_return(), RNA_def_int(), RNA_def_parameter_flags(), RNA_def_pointer(), RNA_def_property_srna(), RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by rna_def_mtex_common().
| const EnumPropertyItem rna_enum_ramp_blend_items[] |
Definition at line 30 of file rna_material.cc.
Referenced by def_mix_rgb(), def_sh_mix(), node_blend_label(), blender::nodes::node_composite_mixrgb_cc::node_gather_link_searches(), blender::nodes::node_sh_mix_cc::node_mix_gather_link_searches(), rna_def_modifier_type_common(), and blender::nodes::node_sh_mix_cc::sh_node_mix_label().