Blender V5.0
MTex Struct Reference

#include <DNA_texture_types.h>

Public Attributes

short texco
short mapto
short blendtype
char _pad2 [2]
struct Objectobject
struct Textex
char uvname [68]
char projx
char projy
char projz
char mapping
char brush_map_mode
char brush_angle_mode
short which_output
float ofs [3]
float size [3]
float rot
float random_angle
float r
float g
float b
float k
float def_var
float colfac
float alphafac
float timefac
float lengthfac
float clumpfac
float dampfac
float kinkfac
float kinkampfac
float roughfac
float padensfac
float gravityfac
float lifefac
float sizefac
float ivelfac
float fieldfac
float twistfac

Detailed Description

Definition at line 28 of file DNA_texture_types.h.

Member Data Documentation

◆ _pad2

char MTex::_pad2[2]

Definition at line 32 of file DNA_texture_types.h.

◆ alphafac

float MTex::alphafac

Definition at line 53 of file DNA_texture_types.h.

◆ b

float MTex::b

Definition at line 48 of file DNA_texture_types.h.

Referenced by RE_texture_evaluate().

◆ blendtype

short MTex::blendtype

◆ brush_angle_mode

◆ brush_map_mode

◆ clumpfac

float MTex::clumpfac

Definition at line 56 of file DNA_texture_types.h.

Referenced by get_cpa_texture().

◆ colfac

float MTex::colfac

Definition at line 52 of file DNA_texture_types.h.

◆ dampfac

float MTex::dampfac

Definition at line 56 of file DNA_texture_types.h.

Referenced by psys_get_texture().

◆ def_var

float MTex::def_var

Definition at line 49 of file DNA_texture_types.h.

Referenced by get_cpa_texture(), and psys_get_texture().

◆ fieldfac

float MTex::fieldfac

Definition at line 58 of file DNA_texture_types.h.

Referenced by psys_get_texture().

◆ g

float MTex::g

Definition at line 48 of file DNA_texture_types.h.

Referenced by RE_texture_evaluate().

◆ gravityfac

float MTex::gravityfac

Definition at line 57 of file DNA_texture_types.h.

Referenced by psys_get_texture().

◆ ivelfac

float MTex::ivelfac

Definition at line 58 of file DNA_texture_types.h.

Referenced by psys_get_texture().

◆ k

float MTex::k

Definition at line 48 of file DNA_texture_types.h.

◆ kinkampfac

float MTex::kinkampfac

Definition at line 57 of file DNA_texture_types.h.

Referenced by blo_do_versions_270(), and get_cpa_texture().

◆ kinkfac

float MTex::kinkfac

Definition at line 57 of file DNA_texture_types.h.

Referenced by get_cpa_texture().

◆ lengthfac

float MTex::lengthfac

Definition at line 56 of file DNA_texture_types.h.

Referenced by get_cpa_texture(), and psys_get_texture().

◆ lifefac

float MTex::lifefac

Definition at line 58 of file DNA_texture_types.h.

Referenced by psys_get_texture().

◆ mapping

char MTex::mapping

Definition at line 37 of file DNA_texture_types.h.

Referenced by do_2d_mapping(), and multitex_nodes_intern().

◆ mapto

short MTex::mapto

◆ object

◆ ofs

float MTex::ofs[3]

Definition at line 46 of file DNA_texture_types.h.

Referenced by RE_texture_evaluate(), and sculpt_apply_texture().

◆ padensfac

float MTex::padensfac

Definition at line 57 of file DNA_texture_types.h.

Referenced by get_cpa_texture(), and psys_get_texture().

◆ projx

char MTex::projx

Definition at line 37 of file DNA_texture_types.h.

Referenced by RE_texture_evaluate().

◆ projy

char MTex::projy

Definition at line 37 of file DNA_texture_types.h.

Referenced by RE_texture_evaluate().

◆ projz

char MTex::projz

Definition at line 37 of file DNA_texture_types.h.

Referenced by RE_texture_evaluate().

◆ r

float MTex::r

Definition at line 48 of file DNA_texture_types.h.

Referenced by RE_texture_evaluate().

◆ random_angle

float MTex::random_angle

Definition at line 46 of file DNA_texture_types.h.

Referenced by blender::ed::sculpt_paint::paint_brush_update().

◆ rot

◆ roughfac

float MTex::roughfac

Definition at line 57 of file DNA_texture_types.h.

Referenced by get_cpa_texture().

◆ size

◆ sizefac

float MTex::sizefac

Definition at line 58 of file DNA_texture_types.h.

Referenced by psys_get_texture().

◆ tex

struct Tex* MTex::tex

Definition at line 34 of file DNA_texture_types.h.

Referenced by BKE_brush_sample_masktex(), BKE_brush_sample_tex_3d(), BKE_paint_invalidate_overlay_tex(), BKE_texture_mtex_foreach_id(), blender::ed::sculpt_paint::brush_exit_tex(), brush_gen_texture(), brush_init_tex(), brush_painter_2d_require_imbuf(), blender::deg::DepsgraphNodeBuilder::build_particle_settings(), blender::deg::DepsgraphRelationBuilder::build_particle_settings(), buttons_texture_user_mtex_add(), buttons_texture_users_from_context(), blender::ed::sculpt_paint::calc_brush_texture_factors(), blender::ed::sculpt_paint::calc_brush_texture_factors(), do_2d_mapping(), blender::ed::sculpt_paint::expand::falloff_value_vertex_get(), get_cpa_texture(), give_current_brush_texture(), give_current_linestyle_texture(), give_current_particle_texture(), blender::ed::sculpt_paint::load_tex(), blender::ed::sculpt_paint::load_tex_task_cb_ex(), blender::ed::sculpt_paint::expand::max_vert_falloff_get(), multitex_nodes_intern(), paint_and_tex_color_alpha_intern(), paint_brush_exit_tex(), paint_brush_init_tex(), blender::ed::sculpt_paint::paint_brush_update(), blender::ed::sculpt_paint::paint_draw_tex_overlay(), paint_rake_rotation_active(), blender::ed::sculpt_paint::paint_stroke_new(), paint_use_opacity_masking(), project_state_init(), psys_get_texture(), RE_texture_evaluate(), sculpt_apply_texture(), blender::ed::sculpt_paint::sculpt_brush_needs_normal(), blender::ed::sculpt_paint::expand::sculpt_expand_modal(), blender::ed::sculpt_paint::expand::sculpt_expand_status(), blender::ed::sculpt_paint::sculpt_fix_noise_tear(), set_current_brush_texture(), set_current_linestyle_texture(), set_current_particle_texture(), stencil_fit_image_aspect_exec(), TEST_F(), blender::ed::outliner::unlink_texture_fn(), and vpaint_init_vpaint().

◆ texco

◆ timefac

float MTex::timefac

Definition at line 56 of file DNA_texture_types.h.

Referenced by psys_get_texture().

◆ twistfac

float MTex::twistfac

Definition at line 59 of file DNA_texture_types.h.

Referenced by get_cpa_texture(), and psys_get_texture().

◆ uvname

char MTex::uvname[68]

Definition at line 35 of file DNA_texture_types.h.

Referenced by get_cpa_texture(), and psys_get_texture().

◆ which_output

short MTex::which_output

Match against the texture node (TEX_NODE_OUTPUT, bNode::custom1 value). otherwise zero when unspecified (default).

Definition at line 44 of file DNA_texture_types.h.

Referenced by multitex_nodes_intern(), and RE_texture_evaluate().


The documentation for this struct was generated from the following file: