Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_texture.h
| Show First 20 Lines • Show All 64 Lines • ▼ Show 20 Lines | |||||
| bool do_colorband(const struct ColorBand *coba, float in, float out[4]); | bool do_colorband(const struct ColorBand *coba, float in, float out[4]); | ||||
| void colorband_table_RGBA(struct ColorBand *coba, float **array, int *size); | void colorband_table_RGBA(struct ColorBand *coba, float **array, int *size); | ||||
| struct CBData *colorband_element_add(struct ColorBand *coba, float position); | struct CBData *colorband_element_add(struct ColorBand *coba, float position); | ||||
| int colorband_element_remove(struct ColorBand *coba, int index); | int colorband_element_remove(struct ColorBand *coba, int index); | ||||
| void colorband_update_sort(struct ColorBand *coba); | void colorband_update_sort(struct ColorBand *coba); | ||||
| void BKE_texture_free(struct Tex *tex); | void BKE_texture_free(struct Tex *tex); | ||||
| void BKE_texture_default(struct Tex *tex); | void BKE_texture_default(struct Tex *tex); | ||||
| void BKE_texture_copy_data(struct Main *bmain, struct Tex *tex_dst, const struct Tex *tex_src, const int flag); | |||||
| struct Tex *BKE_texture_copy(struct Main *bmain, const struct Tex *tex); | struct Tex *BKE_texture_copy(struct Main *bmain, const struct Tex *tex); | ||||
| struct Tex *BKE_texture_add(struct Main *bmain, const char *name); | struct Tex *BKE_texture_add(struct Main *bmain, const char *name); | ||||
| struct Tex *BKE_texture_localize(struct Tex *tex); | struct Tex *BKE_texture_localize(struct Tex *tex); | ||||
| void BKE_texture_make_local(struct Main *bmain, struct Tex *tex, const bool lib_local); | void BKE_texture_make_local(struct Main *bmain, struct Tex *tex, const bool lib_local); | ||||
| void BKE_texture_type_set(struct Tex *tex, int type); | void BKE_texture_type_set(struct Tex *tex, int type); | ||||
| void BKE_texture_mtex_default(struct MTex *mtex); | void BKE_texture_mtex_default(struct MTex *mtex); | ||||
| struct MTex *BKE_texture_mtex_add(void); | struct MTex *BKE_texture_mtex_add(void); | ||||
| Show All 28 Lines | |||||
| void BKE_texture_mapping_init(struct TexMapping *texmap); | void BKE_texture_mapping_init(struct TexMapping *texmap); | ||||
| struct ColorMapping *BKE_texture_colormapping_add(void); | struct ColorMapping *BKE_texture_colormapping_add(void); | ||||
| void BKE_texture_colormapping_default(struct ColorMapping *colormap); | void BKE_texture_colormapping_default(struct ColorMapping *colormap); | ||||
| void BKE_texture_envmap_free_data(struct EnvMap *env); | void BKE_texture_envmap_free_data(struct EnvMap *env); | ||||
| void BKE_texture_envmap_free(struct EnvMap *env); | void BKE_texture_envmap_free(struct EnvMap *env); | ||||
| struct EnvMap *BKE_texture_envmap_add(void); | struct EnvMap *BKE_texture_envmap_add(void); | ||||
| struct EnvMap *BKE_texture_envmap_copy(const struct EnvMap *env); | struct EnvMap *BKE_texture_envmap_copy(const struct EnvMap *env, const int flag); | ||||
| void BKE_texture_pointdensity_init_data(struct PointDensity *pd); | void BKE_texture_pointdensity_init_data(struct PointDensity *pd); | ||||
| void BKE_texture_pointdensity_free_data(struct PointDensity *pd); | void BKE_texture_pointdensity_free_data(struct PointDensity *pd); | ||||
| void BKE_texture_pointdensity_free(struct PointDensity *pd); | void BKE_texture_pointdensity_free(struct PointDensity *pd); | ||||
| struct PointDensity *BKE_texture_pointdensity_add(void); | struct PointDensity *BKE_texture_pointdensity_add(void); | ||||
| struct PointDensity *BKE_texture_pointdensity_copy(const struct PointDensity *pd); | struct PointDensity *BKE_texture_pointdensity_copy(const struct PointDensity *pd, const int flag); | ||||
| void BKE_texture_voxeldata_free_data(struct VoxelData *vd); | void BKE_texture_voxeldata_free_data(struct VoxelData *vd); | ||||
| void BKE_texture_voxeldata_free(struct VoxelData *vd); | void BKE_texture_voxeldata_free(struct VoxelData *vd); | ||||
| struct VoxelData *BKE_texture_voxeldata_add(void); | struct VoxelData *BKE_texture_voxeldata_add(void); | ||||
| struct VoxelData *BKE_texture_voxeldata_copy(struct VoxelData *vd); | struct VoxelData *BKE_texture_voxeldata_copy(struct VoxelData *vd); | ||||
| void BKE_texture_ocean_free(struct OceanTex *ot); | void BKE_texture_ocean_free(struct OceanTex *ot); | ||||
| struct OceanTex *BKE_texture_ocean_add(void); | struct OceanTex *BKE_texture_ocean_add(void); | ||||
| struct OceanTex *BKE_texture_ocean_copy(const struct OceanTex *ot); | struct OceanTex *BKE_texture_ocean_copy(const struct OceanTex *ot, const int flag); | ||||
| bool BKE_texture_dependsOnTime(const struct Tex *texture); | bool BKE_texture_dependsOnTime(const struct Tex *texture); | ||||
| bool BKE_texture_is_image_user(const struct Tex *tex); | bool BKE_texture_is_image_user(const struct Tex *tex); | ||||
| void BKE_texture_get_value_ex( | void BKE_texture_get_value_ex( | ||||
| const struct Scene *scene, struct Tex *texture, | const struct Scene *scene, struct Tex *texture, | ||||
| float *tex_co, struct TexResult *texres, | float *tex_co, struct TexResult *texres, | ||||
| struct ImagePool *pool, | struct ImagePool *pool, | ||||
| Show All 14 Lines | |||||