~ubuntu-branches/ubuntu/trusty/blender/trusty

« back to all changes in this revision

Viewing changes to source/blender/blenkernel/BKE_texture.h

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2013-03-06 12:08:47 UTC
  • mfrom: (1.5.1) (14.1.8 experimental)
  • Revision ID: package-import@ubuntu.com-20130306120847-frjfaryb2zrotwcg
Tags: 2.66a-1ubuntu1
* Resynchronize with Debian (LP: #1076930, #1089256, #1052743, #999024,
  #1122888, #1147084)
* debian/control:
  - Lower build-depends on libavcodec-dev since we're not
    doing the libav9 transition in Ubuntu yet

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
struct HaloRen;
45
45
struct Lamp;
46
46
struct LampRen;
 
47
struct Main;
47
48
struct Material;
48
49
struct MTex;
49
50
struct OceanTex;
50
51
struct ParticleSettings;
51
 
struct PluginTex;
52
52
struct PointDensity;
53
53
struct Tex;
54
54
struct TexMapping;
59
59
#define MAXCOLORBAND 32
60
60
 
61
61
 
62
 
void free_texture(struct Tex *t); 
63
 
int test_dlerr(const char *name,  const char *symbol);
64
 
void open_plugin_tex(struct PluginTex *pit);
65
 
struct PluginTex *add_plugin_tex(char *str);
66
 
void free_plugin_tex(struct PluginTex *pit);
 
62
void BKE_texture_free(struct Tex *t); 
67
63
 
68
64
void init_colorband(struct ColorBand *coba, int rangetype);
69
65
struct ColorBand *add_colorband(int rangetype);
74
70
void colorband_update_sort(struct ColorBand *coba);
75
71
 
76
72
void default_tex(struct Tex *tex);
77
 
struct Tex *add_texture(const char *name);
 
73
struct Tex *add_texture(struct Main *bmain, const char *name);
78
74
void tex_set_type(struct Tex *tex, int type);
79
75
void default_mtex(struct MTex *mtex);
80
76
struct MTex *add_mtex(void);
81
77
struct MTex *add_mtex_id(struct ID *id, int slot);
82
 
struct Tex *copy_texture(struct Tex *tex);
 
78
struct Tex *BKE_texture_copy(struct Tex *tex);
83
79
struct Tex *localize_texture(struct Tex *tex);
84
 
void make_local_texture(struct Tex *tex);
 
80
void BKE_texture_make_local(struct Tex *tex);
85
81
void autotexname(struct Tex *tex);
86
82
 
87
83
struct Tex *give_current_object_texture(struct Object *ob);
93
89
 
94
90
struct bNode *give_current_material_texture_node(struct Material *ma);
95
91
 
96
 
int                      give_active_mtex(struct ID *id, struct MTex ***mtex_ar, short *act);
97
 
void             set_active_mtex(struct ID *id, short act);
 
92
int  give_active_mtex(struct ID *id, struct MTex ***mtex_ar, short *act);
 
93
void set_active_mtex(struct ID *id, short act);
98
94
 
99
95
void set_current_brush_texture(struct Brush *br, struct Tex *tex);
100
96
void set_current_world_texture(struct World *wo, struct Tex *tex);