|
Blender V4.3
|
#include <BKE_pbvh_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 209 of file BKE_pbvh_pixels.hh.
|
default |
|
inline |
Definition at line 220 of file BKE_pbvh_pixels.hh.
|
inline |
Definition at line 237 of file BKE_pbvh_pixels.hh.
References blender::bke::pbvh::pixels::DeltaCopyPixelCommand::delta_source_1, blender::bke::pbvh::pixels::DeltaCopyPixelCommand::delta_source_2, float, mix_factor, blender::bke::pbvh::pixels::DeltaCopyPixelCommand::mix_factor, source_1, and source_2.
|
inline |
Definition at line 252 of file BKE_pbvh_pixels.hh.
References blender::math::abs(), destination, max_ii(), source_1, and UNPACK2.
|
inline |
Definition at line 245 of file BKE_pbvh_pixels.hh.
References mix_factor, source_1, and source_2.
|
inline |
Definition at line 229 of file BKE_pbvh_pixels.hh.
References 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 211 of file BKE_pbvh_pixels.hh.
Referenced by can_be_extended(), and blender::bke::pbvh::pixels::Rows::Pixel::init().
| float blender::bke::pbvh::pixels::CopyPixelCommand::mix_factor |
Factor to mix between first and second source.
Definition at line 217 of file BKE_pbvh_pixels.hh.
Referenced by apply(), encode_delta(), blender::bke::pbvh::pixels::Rows::Pixel::init(), and mix_source_and_write_destination().
| int2 blender::bke::pbvh::pixels::CopyPixelCommand::source_1 |
Pixel coordinate to read first source from.
Definition at line 213 of file BKE_pbvh_pixels.hh.
Referenced by apply(), can_be_extended(), encode_delta(), blender::bke::pbvh::pixels::Rows::Pixel::init(), and mix_source_and_write_destination().
| int2 blender::bke::pbvh::pixels::CopyPixelCommand::source_2 |
Pixel coordinate to read second source from.
Definition at line 215 of file BKE_pbvh_pixels.hh.
Referenced by apply(), encode_delta(), blender::bke::pbvh::pixels::Rows::Pixel::init(), and mix_source_and_write_destination().