|
Blender V5.0
|
#include <BKE_paint_bvh_pixels.hh>
Public Attributes | |
| float2 | start_barycentric_coord |
| ushort2 | start_image_coordinate |
| ushort | num_pixels |
| ushort | uv_primitive_index |
Encode sequential pixels to reduce memory footprint.
Definition at line 51 of file BKE_paint_bvh_pixels.hh.
| ushort blender::bke::pbvh::pixels::PackedPixelRow::num_pixels |
Number of sequential pixels encoded in this package.
Definition at line 57 of file BKE_paint_bvh_pixels.hh.
Referenced by blender::bke::pbvh::pixels::apply_watertight_check(), blender::ed::sculpt_paint::paint::image::calc_pixel_row_positions(), blender::ed::sculpt_paint::paint::image::do_paint_pixels(), blender::bke::pbvh::pixels::extract_barycentric_pixels(), blender::bke::pbvh::pixels::UDIMTilePixels::mark_dirty(), blender::ed::sculpt_paint::paint::image::PaintingKernel< ImageBuffer >::paint(), and blender::bke::pbvh::pixels::NodeData::rebuild_undo_regions().
| float2 blender::bke::pbvh::pixels::PackedPixelRow::start_barycentric_coord |
Barycentric coordinate of the first pixel.
Definition at line 53 of file BKE_paint_bvh_pixels.hh.
Referenced by blender::ed::sculpt_paint::paint::image::calc_pixel_row_positions(), and blender::bke::pbvh::pixels::extract_barycentric_pixels().
| ushort2 blender::bke::pbvh::pixels::PackedPixelRow::start_image_coordinate |
Image coordinate starting of the first pixel.
Definition at line 55 of file BKE_paint_bvh_pixels.hh.
Referenced by blender::bke::pbvh::pixels::apply_watertight_check(), blender::bke::pbvh::pixels::extract_barycentric_pixels(), blender::bke::pbvh::pixels::UDIMTilePixels::mark_dirty(), blender::ed::sculpt_paint::paint::image::PaintingKernel< ImageBuffer >::paint(), and blender::bke::pbvh::pixels::NodeData::rebuild_undo_regions().
| ushort blender::bke::pbvh::pixels::PackedPixelRow::uv_primitive_index |
Reference to the pbvh triangle index.
Definition at line 59 of file BKE_paint_bvh_pixels.hh.
Referenced by blender::ed::sculpt_paint::paint::image::calc_pixel_row_positions(), blender::ed::sculpt_paint::paint::image::do_paint_pixels(), and blender::bke::pbvh::pixels::extract_barycentric_pixels().