|
Blender V4.3
|
#include <BKE_image_wrappers.hh>
Public Member Functions | |
| ImageBufferAccessor (ImBuf &image_buffer) | |
| float4 | read_pixel (const int2 coordinate) |
| void | write_pixel (const int2 coordinate, float4 new_value) |
Public Attributes | |
| ImBuf & | image_buffer |
Definition at line 51 of file BKE_image_wrappers.hh.
|
inline |
Definition at line 56 of file BKE_image_wrappers.hh.
|
inline |
Definition at line 58 of file BKE_image_wrappers.hh.
References ImBuf::byte_buffer, ImBufByteBuffer::data, ImBufFloatBuffer::data, ImBuf::float_buffer, blender::bke::image::ImageBufferAccessor< T, Channels >::image_buffer, result, rgba_uchar_to_float(), and ImBuf::x.
Referenced by blender::bke::pbvh::pixels::CopyPixelCommand::mix_source_and_write_destination().
|
inline |
Definition at line 75 of file BKE_image_wrappers.hh.
References ImBuf::byte_buffer, copy_v4_v4(), ImBufByteBuffer::data, ImBufFloatBuffer::data, ImBuf::float_buffer, blender::bke::image::ImageBufferAccessor< T, Channels >::image_buffer, rgba_float_to_uchar(), and ImBuf::x.
Referenced by blender::bke::pbvh::pixels::CopyPixelCommand::mix_source_and_write_destination().
| ImBuf& blender::bke::image::ImageBufferAccessor< T, Channels >::image_buffer |
Definition at line 54 of file BKE_image_wrappers.hh.
Referenced by blender::bke::image::ImageBufferAccessor< T, Channels >::read_pixel(), and blender::bke::image::ImageBufferAccessor< T, Channels >::write_pixel().