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

#include <BKE_paint_bvh_pixels.hh>

Public Member Functions

 CopyPixelTile (image::TileNumber tile_number)
void build_seam_tile_map (const int2 resolution)
void copy_pixels (ImBuf &tile_buffer, IndexRange group_range) const
void print_compression_rate () const

Static Public Member Functions

static int seam_tile_index (const int2 source, const int seam_tiles_x)

Public Attributes

image::TileNumber tile_number
Vector< CopyPixelGroup > groups
Vector< DeltaCopyPixelCommand > command_deltas
Map< int, IndexRange > seam_tile_to_groups

Detailed Description

Definition at line 184 of file BKE_paint_bvh_pixels.hh.

Constructor & Destructor Documentation

◆ CopyPixelTile()

blender::bke::pbvh::pixels::CopyPixelTile::CopyPixelTile ( image::TileNumber tile_number)
inline

Definition at line 195 of file BKE_paint_bvh_pixels.hh.

References tile_number.

Member Function Documentation

◆ build_seam_tile_map()

void blender::bke::pbvh::pixels::CopyPixelTile::build_seam_tile_map ( const int2 resolution)

◆ copy_pixels()

◆ print_compression_rate()

void blender::bke::pbvh::pixels::CopyPixelTile::print_compression_rate ( ) const

◆ seam_tile_index()

int blender::bke::pbvh::pixels::CopyPixelTile::seam_tile_index ( const int2 source,
const int seam_tiles_x )
inlinestatic

Member Data Documentation

◆ command_deltas

Vector<DeltaCopyPixelCommand> blender::bke::pbvh::pixels::CopyPixelTile::command_deltas

◆ groups

Vector<CopyPixelGroup> blender::bke::pbvh::pixels::CopyPixelTile::groups

◆ seam_tile_to_groups

Map<int, IndexRange> blender::bke::pbvh::pixels::CopyPixelTile::seam_tile_to_groups

The groups used by each seam tile, as an index range into groups which is sorted by seam tile.

Definition at line 193 of file BKE_paint_bvh_pixels.hh.

Referenced by build_seam_tile_map().

◆ tile_number

image::TileNumber blender::bke::pbvh::pixels::CopyPixelTile::tile_number

Definition at line 185 of file BKE_paint_bvh_pixels.hh.

Referenced by CopyPixelTile(), and print_compression_rate().


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