|
Blender V4.5
|
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 12 of file interp.cc.
References ImBuf::byte_buffer, ImBufByteBuffer::colorspace, ImBufFloatBuffer::data, ImBuf::float_buffer, IMB_colormanagement_colorspace_to_scene_linear_v4(), blender::imbuf::interpolate_nearest_border_byte(), blender::imbuf::interpolate_nearest_border_fl(), rgba_uchar_to_float(), x, and y.
Referenced by palette_extract_img_exec().