|
Blender V5.0
|
#include <BKE_paint_bvh_pixels.hh>
Public Member Functions | |
| CopyPixelCommand ()=default | |
| CopyPixelCommand (const CopyPixelGroup &group) | |
| template<typename T> | |
| void | mix_source_and_write_destination (image::ImageBufferAccessor< T > &tile_buffer) const |
| void | apply (const DeltaCopyPixelCommand &item) |
| DeltaCopyPixelCommand | encode_delta (const CopyPixelCommand &next_command) const |
| bool | can_be_extended (const CopyPixelCommand &command) const |
Public Attributes | |
| int2 | destination |
| int2 | source_1 |
| int2 | source_2 |
| float | mix_factor |
Pixel copy command to mix 2 source pixels and write to a destination pixel.
Definition at line 215 of file BKE_paint_bvh_pixels.hh.
|
default |
Referenced by can_be_extended(), and encode_delta().
|
inline |
Definition at line 226 of file BKE_paint_bvh_pixels.hh.
References destination, mix_factor, source_1, and source_2.
|
inline |
Definition at line 243 of file BKE_paint_bvh_pixels.hh.
References blender::bke::pbvh::pixels::DeltaCopyPixelCommand::delta_source_1, blender::bke::pbvh::pixels::DeltaCopyPixelCommand::delta_source_2, destination, float, mix_factor, blender::bke::pbvh::pixels::DeltaCopyPixelCommand::mix_factor, source_1, and source_2.
|
inline |
Definition at line 258 of file BKE_paint_bvh_pixels.hh.
References blender::math::abs(), CopyPixelCommand(), destination, max_ii(), source_1, and UNPACK2.
|
inline |
Definition at line 251 of file BKE_paint_bvh_pixels.hh.
References CopyPixelCommand(), mix_factor, source_1, and source_2.
|
inline |
Definition at line 235 of file BKE_paint_bvh_pixels.hh.
References destination, mix_factor, blender::bke::image::ImageBufferAccessor< T, Channels >::read_pixel(), source_1, source_2, and blender::bke::image::ImageBufferAccessor< T, Channels >::write_pixel().
| int2 blender::bke::pbvh::pixels::CopyPixelCommand::destination |
Pixel coordinate to write to.
Definition at line 217 of file BKE_paint_bvh_pixels.hh.
Referenced by apply(), can_be_extended(), CopyPixelCommand(), blender::bke::pbvh::pixels::Rows::find_copy_source(), and mix_source_and_write_destination().
| float blender::bke::pbvh::pixels::CopyPixelCommand::mix_factor |
Factor to mix between first and second source.
Definition at line 223 of file BKE_paint_bvh_pixels.hh.
Referenced by apply(), CopyPixelCommand(), encode_delta(), blender::bke::pbvh::pixels::Rows::find_copy_source(), and mix_source_and_write_destination().
| int2 blender::bke::pbvh::pixels::CopyPixelCommand::source_1 |
Pixel coordinate to read first source from.
Definition at line 219 of file BKE_paint_bvh_pixels.hh.
Referenced by apply(), can_be_extended(), CopyPixelCommand(), encode_delta(), blender::bke::pbvh::pixels::Rows::find_copy_source(), and mix_source_and_write_destination().
| int2 blender::bke::pbvh::pixels::CopyPixelCommand::source_2 |
Pixel coordinate to read second source from.
Definition at line 221 of file BKE_paint_bvh_pixels.hh.
Referenced by apply(), CopyPixelCommand(), encode_delta(), blender::bke::pbvh::pixels::Rows::find_copy_source(), and mix_source_and_write_destination().