Blender V5.0
blender::bke::pbvh::pixels::Rows::Pixel Struct Reference

Public Member Functions

 Pixel ()=default
void init (int2 coordinate)

Public Attributes

PixelType type
float distance
CopyPixelCommand copy_command
int64_t edge_index

Detailed Description

Definition at line 236 of file pbvh_pixels_copy.cc.

Constructor & Destructor Documentation

◆ Pixel()

blender::bke::pbvh::pixels::Rows::Pixel::Pixel ( )
default

Member Function Documentation

◆ init()

void blender::bke::pbvh::pixels::Rows::Pixel::init ( int2 coordinate)
inline

Member Data Documentation

◆ copy_command

CopyPixelCommand blender::bke::pbvh::pixels::Rows::Pixel::copy_command

◆ distance

float blender::bke::pbvh::pixels::Rows::Pixel::distance

◆ edge_index

int64_t blender::bke::pbvh::pixels::Rows::Pixel::edge_index

Index of the edge in the list of non-manifold edges.

The edge is kept to calculate the mix factor between the two pixels that have chosen to be mixed.

Definition at line 246 of file pbvh_pixels_copy.cc.

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

◆ type


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