Blender
V3.3
|
Caching structure for curve mask. More...
#include <paint_intern.h>
Public Attributes | |
int | last_curve_timestamp |
Last CurveMapping.changed_timestamp being read. More... | |
float * | sampled_curve |
sampled version of the brush curve-mapping. More... | |
size_t | curve_mask_size |
Size in bytes of the curve_mask field. More... | |
ushort * | curve_mask |
Curve mask that can be passed as curve_mask parameter when. More... | |
Caching structure for curve mask.
When 2d painting images the curve mask is used as an input.
Definition at line 287 of file paint_intern.h.
ushort* CurveMaskCache::curve_mask |
Curve mask that can be passed as curve_mask parameter when.
Definition at line 310 of file paint_intern.h.
Referenced by blender::ed::sculpt_paint::curve_mask_allocate(), blender::ed::sculpt_paint::curve_mask_free(), and blender::ed::sculpt_paint::update_curve_mask().
size_t CurveMaskCache::curve_mask_size |
Size in bytes of the curve_mask field.
Used to determine if the curve_mask needs to be re-allocated.
Definition at line 305 of file paint_intern.h.
Referenced by blender::ed::sculpt_paint::curve_mask_allocate(), blender::ed::sculpt_paint::curve_mask_free(), and blender::ed::sculpt_paint::is_curve_mask_size_valid().
int CurveMaskCache::last_curve_timestamp |
Last CurveMapping.changed_timestamp being read.
When different the input cache needs to be recalculated.
Definition at line 293 of file paint_intern.h.
Referenced by blender::ed::sculpt_paint::is_sampled_curve_valid(), blender::ed::sculpt_paint::sampled_curve_free(), and blender::ed::sculpt_paint::update_sampled_curve().
float* CurveMaskCache::sampled_curve |
sampled version of the brush curve-mapping.
Definition at line 298 of file paint_intern.h.
Referenced by blender::ed::sculpt_paint::is_sampled_curve_valid(), blender::ed::sculpt_paint::sampled_curve_free(), blender::ed::sculpt_paint::update_curve_mask(), and blender::ed::sculpt_paint::update_sampled_curve().