Blender V5.3
texture.cc File Reference
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <optional>
#include "MEM_guardedalloc.h"
#include "BLI_kdopbvh.hh"
#include "BLI_listbase.hh"
#include "BLI_math_matrix_c.hh"
#include "BLI_math_rotation_c.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_utildefines.hh"
#include "BLT_translation.hh"
#include "BKE_node_legacy_types.hh"
#include "DNA_brush_types.h"
#include "DNA_color_types.h"
#include "DNA_linestyle_types.h"
#include "DNA_material_types.h"
#include "DNA_node_types.h"
#include "DNA_particle_types.h"
#include "DNA_texture_types.h"
#include "BKE_brush.hh"
#include "BKE_colorband.hh"
#include "BKE_colortools.hh"
#include "BKE_icons.hh"
#include "BKE_idtype.hh"
#include "BKE_image.hh"
#include "BKE_lib_id.hh"
#include "BKE_lib_query.hh"
#include "BKE_node_runtime.hh"
#include "BKE_preview_image.hh"
#include "BKE_texture.h"
#include "NOD_texture.h"
#include "RE_texture.h"
#include "DRW_engine.hh"
#include "BLO_read_write.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define DNA_DEPRECATED_ALLOW

Functions

static void blender::texture_init_data (ID *id)
static void blender::texture_copy_data (Main *bmain, std::optional< Library * > owner_library, ID *id_dst, const ID *id_src, const int flag)
static void blender::texture_free_data (ID *id)
static void blender::texture_foreach_id (ID *id, LibraryForeachIDData *data)
static void blender::texture_blend_write (BlendWriter *writer, ID *id, const void *id_address)
static void blender::texture_blend_read_data (BlendDataReader *reader, ID *id)
void blender::BKE_texture_mtex_foreach_id (struct LibraryForeachIDData *data, struct MTex *mtex)
struct TexMapping * blender::BKE_texture_mapping_add (int type)
void blender::BKE_texture_mapping_default (struct TexMapping *texmap, int type)
void blender::BKE_texture_mapping_init (struct TexMapping *texmap)
struct ColorMapping * blender::BKE_texture_colormapping_add ()
void blender::BKE_texture_colormapping_default (struct ColorMapping *colormap)
void blender::BKE_texture_default (struct Tex *tex)
void blender::BKE_texture_type_set (struct Tex *tex, eTex_Type type)
struct Tex * blender::BKE_texture_add (struct Main *bmain, const char *name)
void blender::BKE_texture_mtex_default (struct MTex *mtex)
struct MTex * blender::BKE_texture_mtex_add ()
struct MTex * blender::BKE_texture_mtex_add_id (struct ID *id, int slot)
struct Tex * blender::give_current_linestyle_texture (struct FreestyleLineStyle *linestyle)
void blender::set_current_linestyle_texture (struct FreestyleLineStyle *linestyle, struct Tex *tex)
bool blender::give_active_mtex (struct ID *id, struct MTex ***mtex_ar, short *act)
void blender::set_active_mtex (struct ID *id, short act)
struct Tex * blender::give_current_brush_texture (struct Brush *br)
void blender::set_current_brush_texture (struct Brush *br, struct Tex *tex)
struct Tex * blender::give_current_particle_texture (struct ParticleSettings *part)
void blender::set_current_particle_texture (struct ParticleSettings *part, struct Tex *tex)
bool blender::BKE_texture_is_image_user (const Tex *tex)
bool blender::BKE_texture_dependsOnTime (const Tex *texture)
void blender::BKE_texture_get_value_ex (struct Tex *texture, const float *tex_co, struct TexResult *texres, struct ImagePool *pool, bool use_color_management)
void blender::BKE_texture_get_value (struct Tex *texture, const float *tex_co, struct TexResult *texres, bool use_color_management)
static void blender::texture_nodes_fetch_images_for_pool (Tex *texture, bNodeTree *ntree, ImagePool *pool)
void blender::BKE_texture_fetch_images_for_pool (struct Tex *texture, struct ImagePool *pool)

Macro Definition Documentation

◆ DNA_DEPRECATED_ALLOW

#define DNA_DEPRECATED_ALLOW

Definition at line 27 of file texture.cc.