Blender
V3.3
|
Go to the source code of this file.
Macros | |
#define | BRICONT |
#define | BRICONTRGB |
Functions | |
int | imagewraposa (struct Tex *tex, struct Image *ima, struct ImBuf *ibuf, const float texvec[3], const float dxt[2], const float dyt[2], struct TexResult *texres, struct ImagePool *pool, bool skip_load_image) |
int | imagewrap (struct Tex *tex, struct Image *ima, const float texvec[3], struct TexResult *texres, struct ImagePool *pool, bool skip_load_image) |
void | image_sample (struct Image *ima, float fx, float fy, float dx, float dy, float result[4], struct ImagePool *pool) |
#define BRICONT |
Definition at line 14 of file texture_common.h.
#define BRICONTRGB |
Definition at line 26 of file texture_common.h.
void image_sample | ( | struct Image * | ima, |
float | fx, | ||
float | fy, | ||
float | dx, | ||
float | dy, | ||
float | result[4], | ||
struct ImagePool * | pool | ||
) |
Definition at line 1733 of file texture_image.c.
References BKE_image_pool_acquire_ibuf(), BKE_image_pool_release_ibuf(), boxsample(), copy_v4_v4(), Image::flag, IMA_USED_FOR_RENDER, NULL, blender::compositor::pool, result, TexResult::talpha, TexResult::trgba, UNLIKELY, and zero_v4().
int imagewrap | ( | struct Tex * | tex, |
struct Image * | ima, | ||
const float | texvec[3], | ||
struct TexResult * | texres, | ||
struct ImagePool * | pool, | ||
bool | skip_load_image | ||
) |
Definition at line 84 of file texture_image.c.
References Image::alpha_mode, BKE_image_get_tile_from_pos(), BKE_image_has_loaded_ibuf(), BKE_image_pool_acquire_ibuf(), BKE_image_pool_release_ibuf(), boxsample(), BRICONTRGB, Tex::checkerdist, ELEM, Tex::extend, Tex::filtersize, Image::flag, Tex::flag, float(), blender::math::floor(), floorf, ibuf_get_color(), IMA_ALPHA_IGNORE, IMA_SRC_TILED, IMA_USED_FOR_RENDER, Tex::imaflag, Tex::iuser, max_fff(), NULL, blender::compositor::pool, ImBuf::rect, ImBuf::rect_float, Image::source, SWAP, TexResult::talpha, tex, TEX_CALCALPHA, TEX_CHECKER, TEX_CHECKER_EVEN, TEX_CHECKER_ODD, TEX_CLIP, TEX_CLIPCUBE, TEX_EXTEND, TEX_IMAROT, TEX_INTERPOL, TEX_NEGALPHA, TEX_REPEAT, TEX_RGB, TEX_USEALPHA, ImageUser::tile, TexResult::tin, TexResult::trgba, x, ImBuf::x, y, and ImBuf::y.
Referenced by multitex().
int imagewraposa | ( | struct Tex * | tex, |
struct Image * | ima, | ||
struct ImBuf * | ibuf, | ||
const float | texvec[3], | ||
const float | dxt[2], | ||
const float | dyt[2], | ||
struct TexResult * | texres, | ||
struct ImagePool * | pool, | ||
bool | skip_load_image | ||
) |
Definition at line 1342 of file texture_image.c.
References Image::alpha_mode, BKE_image_has_loaded_ibuf(), BKE_image_pool_acquire_ibuf(), BKE_image_pool_release_ibuf(), boxsample(), BRICONTRGB, Tex::checkerdist, copy_v2_v2(), ELEM, Tex::extend, Tex::filtersize, Image::flag, Tex::flag, float(), blender::math::floor(), IMA_ALPHA_IGNORE, IMA_USED_FOR_RENDER, Tex::imaflag, image_mipmap_test(), imagewraposa_aniso(), Tex::iuser, max_ff(), max_fff(), MIN2, min_fff(), ImBuf::mipmap, mul_v3_fl(), NULL, blender::compositor::pool, ImBuf::rect, ImBuf::rect_float, SWAP, TexResult::talpha, tex, TEX_CALCALPHA, TEX_CHECKER, TEX_CHECKER_EVEN, TEX_CHECKER_ODD, TEX_CLIP, TEX_CLIPCUBE, TEX_EXTEND, TEX_FILTER_MIN, TEX_IMAROT, TEX_INTERPOL, TEX_MIPMAP, TEX_NEGALPHA, TEX_REPEAT, TEX_REPEAT_XMIR, TEX_REPEAT_YMIR, TEX_RGB, TEX_USEALPHA, Tex::texfilter, TexResult::tin, TexResult::trgba, TXF_BOX, x, ImBuf::x, y, and ImBuf::y.
Referenced by multitex().