Blender
V3.3
|
#include <float.h>
#include <stdio.h>
#include <stdlib.h>
#include "DNA_brush_types.h"
#include "DNA_light_types.h"
#include "DNA_material_types.h"
#include "DNA_node_types.h"
#include "DNA_object_types.h"
#include "DNA_particle_types.h"
#include "DNA_scene_types.h"
#include "DNA_texture_types.h"
#include "DNA_world_types.h"
#include "BLI_utildefines.h"
#include "BKE_node.h"
#include "BKE_node_tree_update.h"
#include "BKE_paint.h"
#include "RNA_define.h"
#include "RNA_enum_types.h"
#include "rna_internal.h"
#include "WM_api.h"
#include "WM_types.h"
Go to the source code of this file.
Functions | |
static void | rna_def_texmapping (BlenderRNA *brna) |
static void | rna_def_colormapping (BlenderRNA *brna) |
static void | rna_def_mtex (BlenderRNA *brna) |
static void | rna_def_filter_common (StructRNA *srna) |
static void | rna_def_texture_clouds (BlenderRNA *brna) |
static void | rna_def_texture_wood (BlenderRNA *brna) |
static void | rna_def_texture_marble (BlenderRNA *brna) |
static void | rna_def_texture_magic (BlenderRNA *brna) |
static void | rna_def_texture_blend (BlenderRNA *brna) |
static void | rna_def_texture_stucci (BlenderRNA *brna) |
static void | rna_def_texture_noise (BlenderRNA *brna) |
static void | rna_def_texture_image (BlenderRNA *brna) |
static void | rna_def_texture_musgrave (BlenderRNA *brna) |
static void | rna_def_texture_voronoi (BlenderRNA *brna) |
static void | rna_def_texture_distorted_noise (BlenderRNA *brna) |
static void | rna_def_texture (BlenderRNA *brna) |
void | RNA_def_texture (BlenderRNA *brna) |
Variables | |
static const EnumPropertyItem | texture_filter_items [] |
const EnumPropertyItem | rna_enum_texture_type_items [] |
static const EnumPropertyItem | blend_type_items [] |
static const EnumPropertyItem | prop_noise_basis_items [] |
static const EnumPropertyItem | prop_noise_type [] |
|
static |
Definition at line 559 of file rna_texture.c.
References blend_type_items, COLORMAP_USE_RAMP, NULL, PROP_BOOLEAN, PROP_COLOR, PROP_ENUM, PROP_FLOAT, PROP_NEVER_NULL, PROP_NONE, PROP_POINTER, RNA_def_property(), RNA_def_property_array(), RNA_def_property_boolean_sdna(), RNA_def_property_enum_items(), RNA_def_property_float_sdna(), RNA_def_property_pointer_sdna(), RNA_def_property_range(), RNA_def_property_struct_type(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), and RNA_def_struct_ui_text().
Referenced by RNA_def_texture().
Definition at line 700 of file rna_texture.c.
References NULL, PROP_BOOLEAN, PROP_ENUM, PROP_FLOAT, PROP_INT, PROP_NONE, RNA_def_property(), RNA_def_property_boolean_funcs(), RNA_def_property_boolean_sdna(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_float_sdna(), RNA_def_property_int_sdna(), RNA_def_property_range(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), TEX_FILTER_MIN, TEX_GAUSS_MIP, TEX_MIPMAP, and texture_filter_items.
Referenced by rna_def_texture_image().
|
static |
Definition at line 612 of file rna_texture.c.
References blend_type_items, NC_MATERIAL, ND_SHADING_LINKS, NULL, PROP_COLOR, PROP_CONTEXT_UPDATE, PROP_EDITABLE, PROP_ENUM, PROP_FLOAT, PROP_NONE, PROP_POINTER, PROP_PROPORTIONAL, PROP_STRING, PROP_TRANSLATION, PROP_XYZ, PROPOVERRIDE_OVERRIDABLE_LIBRARY, RNA_def_property(), RNA_def_property_array(), 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_override_flag(), RNA_def_property_pointer_sdna(), RNA_def_property_string_funcs(), RNA_def_property_struct_type(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_name_property(), RNA_def_struct_path_func(), RNA_def_struct_sdna(), RNA_def_struct_ui_icon(), RNA_def_struct_ui_text(), and RNA_TRANSLATION_PREC_DEFAULT.
Referenced by RNA_def_texture().
|
static |
Definition at line 467 of file rna_texture.c.
References MTEX_CUBE, MTEX_FLAT, MTEX_SPHERE, MTEX_TUBE, NULL, PROP_BOOLEAN, PROP_ENUM, PROP_EULER, PROP_FLOAT, PROP_NONE, PROP_PROPORTIONAL, PROP_TRANSLATION, PROP_XYZ, RNA_def_property(), RNA_def_property_boolean_sdna(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_flag(), RNA_def_property_float_sdna(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_ui_text(), rna_enum_mapping_type_items, RNA_TRANSLATION_PREC_DEFAULT, TEXMAP_CLIP_MAX, and TEXMAP_CLIP_MIN.
Referenced by RNA_def_texture().
|
static |
Definition at line 1546 of file rna_texture.c.
References NULL, PROP_BOOLEAN, PROP_CONTEXT_UPDATE, PROP_ENUM, PROP_FLOAT, PROP_NEVER_NULL, PROP_NONE, PROP_POINTER, PROP_PTR_NO_OWNERSHIP, PROPOVERRIDE_OVERRIDABLE_LIBRARY, RNA_api_texture(), rna_def_animdata_common(), 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_override_flag(), RNA_def_property_pointer_sdna(), RNA_def_property_range(), RNA_def_property_struct_type(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_refine_func(), RNA_def_struct_sdna(), RNA_def_struct_ui_icon(), RNA_def_struct_ui_text(), rna_def_texture_blend(), rna_def_texture_clouds(), rna_def_texture_distorted_noise(), rna_def_texture_image(), rna_def_texture_magic(), rna_def_texture_marble(), rna_def_texture_musgrave(), rna_def_texture_noise(), rna_def_texture_stucci(), rna_def_texture_voronoi(), rna_def_texture_wood(), rna_enum_texture_type_items, TEX_COLORBAND, TEX_NO_CLAMP, and TEX_PRV_ALPHA.
Referenced by RNA_def_texture().
void RNA_def_texture | ( | BlenderRNA * | brna | ) |
Definition at line 1670 of file rna_texture.c.
References rna_def_colormapping(), rna_def_mtex(), rna_def_texmapping(), and rna_def_texture().
|
static |
Definition at line 1036 of file rna_texture.c.
References NULL, PROP_ENUM, PROP_NONE, RNA_def_property(), RNA_def_property_enum_bitflag_sdna(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), TEX_DIAG, TEX_EASE, TEX_FLIPBLEND, TEX_HALO, TEX_LIN, TEX_QUAD, TEX_RAD, and TEX_SPHERE.
Referenced by rna_def_texture().
|
static |
Definition at line 813 of file rna_texture.c.
References NULL, PROP_ENUM, PROP_FLOAT, PROP_INT, prop_noise_basis_items, prop_noise_type, PROP_NONE, RNA_def_property(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_float_sdna(), RNA_def_property_int_sdna(), RNA_def_property_range(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), TEX_COLOR, and TEX_DEFAULT.
Referenced by rna_def_texture().
|
static |
Definition at line 1505 of file rna_texture.c.
References NULL, PROP_ENUM, PROP_FLOAT, prop_noise_basis_items, PROP_NONE, RNA_def_property(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_float_sdna(), RNA_def_property_range(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by rna_def_texture().
|
static |
Definition at line 1137 of file rna_texture.c.
References NULL, PROP_BOOLEAN, PROP_EDITABLE, PROP_ENUM, PROP_FLOAT, PROP_INT, PROP_NEVER_NULL, PROP_NONE, PROP_POINTER, PROPOVERRIDE_OVERRIDABLE_LIBRARY, rna_def_filter_common(), RNA_def_property(), RNA_def_property_array(), RNA_def_property_boolean_sdna(), 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_struct_type(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), TEX_CALCALPHA, TEX_CHECKER, TEX_CHECKER_EVEN, TEX_CHECKER_ODD, TEX_CLIP, TEX_CLIPCUBE, TEX_EXTEND, TEX_IMAROT, TEX_INTERPOL, TEX_NEGALPHA, TEX_NORMALMAP, TEX_REPEAT, TEX_REPEAT_XMIR, TEX_REPEAT_YMIR, and TEX_USEALPHA.
Referenced by rna_def_texture().
|
static |
Definition at line 1012 of file rna_texture.c.
References NULL, PROP_FLOAT, PROP_INT, PROP_NONE, RNA_def_property(), RNA_def_property_float_sdna(), RNA_def_property_int_sdna(), RNA_def_property_range(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by rna_def_texture().
|
static |
Definition at line 937 of file rna_texture.c.
References NULL, PROP_ENUM, PROP_FLOAT, PROP_INT, prop_noise_basis_items, prop_noise_type, PROP_NONE, RNA_def_property(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_float_sdna(), RNA_def_property_int_sdna(), RNA_def_property_range(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), TEX_SAW, TEX_SHARP, TEX_SHARPER, TEX_SIN, TEX_SOFT, and TEX_TRI.
Referenced by rna_def_texture().
|
static |
Definition at line 1300 of file rna_texture.c.
References NULL, PROP_ENUM, PROP_FLOAT, prop_noise_basis_items, PROP_NONE, RNA_def_property(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_float_sdna(), RNA_def_property_range(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), TEX_FBM, TEX_HTERRAIN, TEX_HYBRIDMF, TEX_MFRACTAL, and TEX_RIDGEDMF.
Referenced by rna_def_texture().
|
static |
Definition at line 1128 of file rna_texture.c.
References RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by rna_def_texture().
|
static |
Definition at line 1079 of file rna_texture.c.
References NULL, PROP_ENUM, PROP_FLOAT, prop_noise_basis_items, prop_noise_type, PROP_NONE, RNA_def_property(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_float_sdna(), RNA_def_property_range(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), TEX_PLASTIC, TEX_WALLIN, and TEX_WALLOUT.
Referenced by rna_def_texture().
|
static |
Definition at line 1394 of file rna_texture.c.
References NULL, PROP_ENUM, PROP_FLOAT, PROP_NONE, RNA_def_property(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_float_sdna(), RNA_def_property_range(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), TEX_CHEBYCHEV, TEX_COL1, TEX_COL2, TEX_COL3, TEX_DISTANCE, TEX_DISTANCE_SQUARED, TEX_INTENSITY, TEX_MANHATTAN, TEX_MINKOVSKY, TEX_MINKOVSKY_FOUR, and TEX_MINKOVSKY_HALF.
Referenced by rna_def_texture().
|
static |
Definition at line 868 of file rna_texture.c.
References NULL, PROP_ENUM, PROP_FLOAT, prop_noise_basis_items, prop_noise_type, PROP_NONE, RNA_def_property(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_float_sdna(), RNA_def_property_range(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), TEX_BAND, TEX_BANDNOISE, TEX_RING, TEX_RINGNOISE, TEX_SAW, TEX_SIN, and TEX_TRI.
Referenced by rna_def_texture().
|
static |
Definition at line 99 of file rna_texture.c.
Referenced by rna_def_colormapping(), and rna_def_mtex().
|
static |
Definition at line 757 of file rna_texture.c.
Referenced by rna_def_texture_clouds(), rna_def_texture_distorted_noise(), rna_def_texture_marble(), rna_def_texture_musgrave(), rna_def_texture_stucci(), and rna_def_texture_wood().
|
static |
Definition at line 807 of file rna_texture.c.
Referenced by rna_def_texture_clouds(), rna_def_texture_marble(), rna_def_texture_stucci(), and rna_def_texture_wood().
const EnumPropertyItem rna_enum_texture_type_items[] |
Definition at line 45 of file rna_texture.c.
Referenced by RNA_def_main_textures(), and rna_def_texture().
|
static |
Definition at line 36 of file rna_texture.c.
Referenced by rna_def_filter_common().