Blender V4.3
blender::bke::pbvh::pixels::PackedPixelRow Struct Reference

#include <BKE_pbvh_pixels.hh>

Public Attributes

float2 start_barycentric_coord
 
ushort2 start_image_coordinate
 
ushort num_pixels
 
ushort uv_primitive_index
 

Detailed Description

Encode sequential pixels to reduce memory footprint.

Definition at line 45 of file BKE_pbvh_pixels.hh.

Member Data Documentation

◆ num_pixels

◆ start_barycentric_coord

float2 blender::bke::pbvh::pixels::PackedPixelRow::start_barycentric_coord

Barycentric coordinate of the first pixel.

Definition at line 47 of file BKE_pbvh_pixels.hh.

Referenced by blender::ed::sculpt_paint::paint::image::calc_pixel_row_positions(), and blender::bke::pbvh::pixels::extract_barycentric_pixels().

◆ start_image_coordinate

ushort2 blender::bke::pbvh::pixels::PackedPixelRow::start_image_coordinate

◆ uv_primitive_index

ushort blender::bke::pbvh::pixels::PackedPixelRow::uv_primitive_index

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