Blender
V3.3
|
#include <BKE_pbvh_pixels.hh>
Public Member Functions | |
void | append (const int3 vert_indices) |
TrianglePaintInput & | get_paint_input (const int index) |
const TrianglePaintInput & | get_paint_input (const int index) const |
void | clear () |
uint64_t | size () const |
uint64_t | mem_size () const |
Public Attributes | |
Vector< TrianglePaintInput > | paint_input |
Data shared between pixels that belong to the same triangle.
Data is stored as a list of structs, grouped by usage to improve performance (improves CPU cache prefetching).
Definition at line 48 of file BKE_pbvh_pixels.hh.
Definition at line 53 of file BKE_pbvh_pixels.hh.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append().
Referenced by blender::bke::pbvh::pixels::init_triangles().
|
inline |
Definition at line 68 of file BKE_pbvh_pixels.hh.
References paint_input.
Referenced by blender::bke::pbvh::pixels::NodeData::clear_data().
|
inline |
Definition at line 58 of file BKE_pbvh_pixels.hh.
References paint_input.
Referenced by blender::bke::pbvh::pixels::do_encode_pixels(), blender::ed::sculpt_paint::paint::image::init_triangle_brush_test(), and blender::ed::sculpt_paint::paint::image::PaintingKernel< ImageBuffer >::paint().
|
inline |
Definition at line 63 of file BKE_pbvh_pixels.hh.
References paint_input.
|
inline |
Definition at line 78 of file BKE_pbvh_pixels.hh.
References paint_input.
Referenced by blender::bke::pbvh::pixels::update_pixels().
|
inline |
Definition at line 73 of file BKE_pbvh_pixels.hh.
References paint_input.
Referenced by blender::bke::pbvh::pixels::do_encode_pixels(), and blender::ed::sculpt_paint::paint::image::init_triangle_brush_test().
Vector<TrianglePaintInput> blender::bke::pbvh::pixels::Triangles::paint_input |
Data accessed by the inner loop of the painting brush.
Definition at line 50 of file BKE_pbvh_pixels.hh.
Referenced by clear(), get_paint_input(), mem_size(), and size().