Blender
V3.3
|
#include "BLI_math.h"
#include "MEM_guardedalloc.h"
#include "DNA_brush_types.h"
#include "BKE_brush.h"
#include "paint_intern.h"
Go to the source code of this file.
Namespaces | |
blender | |
blender::ed | |
blender::ed::sculpt_paint | |
Variables | |
constexpr int | blender::ed::sculpt_paint::AntiAliasingSamplesPerTexelAxisMin = 3 |
constexpr int | blender::ed::sculpt_paint::AntiAliasingSamplesPerTexelAxisMax = 16 |
constexpr int | blender::ed::sculpt_paint::CurveSamplesBaseLen = 1024 |
Number of samples to use between 0..1. More... | |
constexpr int | blender::ed::sculpt_paint::CurveSamplesLen = M_SQRT2 * CurveSamplesBaseLen + 1 |
Number of samples to store in the cache. More... | |
void paint_curve_mask_cache_free_data | ( | CurveMaskCache * | curve_mask_cache | ) |
Definition at line 152 of file paint_image_2d_curve_mask.cc.
References blender::ed::sculpt_paint::curve_mask_free(), and blender::ed::sculpt_paint::sampled_curve_free().
Referenced by brush_painter_cache_2d_free().
void paint_curve_mask_cache_update | ( | CurveMaskCache * | curve_mask_cache, |
const Brush * | brush, | ||
const int | diameter, | ||
const float | radius, | ||
const float | cursor_position[2] | ||
) |
Definition at line 158 of file paint_image_2d_curve_mask.cc.
References blender::ed::sculpt_paint::curve_mask_allocate(), blender::ed::sculpt_paint::curve_mask_free(), blender::ed::sculpt_paint::is_curve_mask_size_valid(), blender::ed::sculpt_paint::is_sampled_curve_valid(), blender::ed::sculpt_paint::update_curve_mask(), and blender::ed::sculpt_paint::update_sampled_curve().
Referenced by brush_painter_2d_refresh_cache().