Blender V5.3
blender::bke::pbvh::pixels::CopyPixelCommand Struct Reference

Public Attributes

int2 destination
int2 source_1
int2 source_2
float mix_factor

Detailed Description

Pixel copy command to mix 2 source pixels and write to a destination pixel.

Definition at line 206 of file pbvh_pixels_copy.cc.

Member Data Documentation

◆ destination

int2 blender::bke::pbvh::pixels::CopyPixelCommand::destination

Pixel coordinate to write to.

Definition at line 208 of file pbvh_pixels_copy.cc.

Referenced by blender::bke::pbvh::pixels::can_be_extended(), and blender::bke::pbvh::pixels::Rows::find_copy_source().

◆ mix_factor

float blender::bke::pbvh::pixels::CopyPixelCommand::mix_factor

Factor to mix between first and second source.

Definition at line 214 of file pbvh_pixels_copy.cc.

Referenced by blender::bke::pbvh::pixels::encode_delta(), and blender::bke::pbvh::pixels::Rows::find_copy_source().

◆ source_1

int2 blender::bke::pbvh::pixels::CopyPixelCommand::source_1

◆ source_2

int2 blender::bke::pbvh::pixels::CopyPixelCommand::source_2

Pixel coordinate to read second source from.

Definition at line 212 of file pbvh_pixels_copy.cc.

Referenced by blender::bke::pbvh::pixels::encode_delta(), and blender::bke::pbvh::pixels::Rows::find_copy_source().


The documentation for this struct was generated from the following file: