|
Blender V4.3
|
Go to the source code of this file.
Functions | |
| void | IMB_sampleImageAtLocation (ImBuf *ibuf, float x, float y, bool make_linear_rgb, float color[4]) |
| void IMB_sampleImageAtLocation | ( | ImBuf * | ibuf, |
| float | x, | ||
| float | y, | ||
| bool | make_linear_rgb, | ||
| float | color[4] ) |
Sample pixel of image using NEAREST method.
Definition at line 13 of file interp.cc.
References ImBuf::byte_buffer, ImBufByteBuffer::colorspace, ImBufFloatBuffer::data, ImBuf::float_buffer, IMB_colormanagement_colorspace_to_scene_linear_v4(), and rgba_uchar_to_float().
Referenced by palette_extract_img_exec().