Blender  V2.93
Classes | Typedefs | Functions
sculpt_paint_color.c File Reference
#include "MEM_guardedalloc.h"
#include "BLI_blenlib.h"
#include "BLI_hash.h"
#include "BLI_math.h"
#include "BLI_math_color_blend.h"
#include "BLI_task.h"
#include "DNA_mesh_types.h"
#include "DNA_meshdata_types.h"
#include "BKE_brush.h"
#include "BKE_colortools.h"
#include "BKE_context.h"
#include "BKE_mesh.h"
#include "BKE_mesh_mapping.h"
#include "BKE_object.h"
#include "BKE_paint.h"
#include "BKE_pbvh.h"
#include "BKE_scene.h"
#include "DEG_depsgraph.h"
#include "IMB_colormanagement.h"
#include "WM_api.h"
#include "WM_message.h"
#include "WM_toolsystem.h"
#include "WM_types.h"
#include "ED_object.h"
#include "ED_screen.h"
#include "ED_sculpt.h"
#include "paint_intern.h"
#include "sculpt_intern.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "UI_interface.h"
#include "IMB_imbuf.h"
#include "bmesh.h"
#include <math.h>
#include <stdlib.h>

Go to the source code of this file.

Classes

struct  SampleWetPaintTLSData
 

Typedefs

typedef struct SampleWetPaintTLSData SampleWetPaintTLSData
 

Functions

static void do_color_smooth_task_cb_exec (void *__restrict userdata, const int n, const TaskParallelTLS *__restrict tls)
 
static void do_paint_brush_task_cb_ex (void *__restrict userdata, const int n, const TaskParallelTLS *__restrict tls)
 
static void do_sample_wet_paint_task_cb (void *__restrict userdata, const int n, const TaskParallelTLS *__restrict tls)
 
static void sample_wet_paint_reduce (const void *__restrict UNUSED(userdata), void *__restrict chunk_join, void *__restrict chunk)
 
void SCULPT_do_paint_brush (Sculpt *sd, Object *ob, PBVHNode **nodes, int totnode)
 
static void do_smear_brush_task_cb_exec (void *__restrict userdata, const int n, const TaskParallelTLS *__restrict tls)
 
static void do_smear_store_prev_colors_task_cb_exec (void *__restrict userdata, const int n, const TaskParallelTLS *__restrict UNUSED(tls))
 
void SCULPT_do_smear_brush (Sculpt *sd, Object *ob, PBVHNode **nodes, int totnode)
 

Typedef Documentation

◆ SampleWetPaintTLSData

Function Documentation

◆ do_color_smooth_task_cb_exec()

static void do_color_smooth_task_cb_exec ( void *__restrict  userdata,
const int  n,
const TaskParallelTLS *__restrict  tls 
)
static

◆ do_paint_brush_task_cb_ex()

static void do_paint_brush_task_cb_ex ( void *__restrict  userdata,
const int  n,
const TaskParallelTLS *__restrict  tls 
)
static

◆ do_sample_wet_paint_task_cb()

static void do_sample_wet_paint_task_cb ( void *__restrict  userdata,
const int  n,
const TaskParallelTLS *__restrict  tls 
)
static

◆ do_smear_brush_task_cb_exec()

static void do_smear_brush_task_cb_exec ( void *__restrict  userdata,
const int  n,
const TaskParallelTLS *__restrict  tls 
)
static

◆ do_smear_store_prev_colors_task_cb_exec()

static void do_smear_store_prev_colors_task_cb_exec ( void *__restrict  userdata,
const int  n,
const TaskParallelTLS *__restrict   UNUSEDtls 
)
static

◆ sample_wet_paint_reduce()

static void sample_wet_paint_reduce ( const void *__restrict   UNUSEDuserdata,
void *__restrict  chunk_join,
void *__restrict  chunk 
)
static

◆ SCULPT_do_paint_brush()

void SCULPT_do_paint_brush ( Sculpt sd,
Object ob,
PBVHNode **  nodes,
int  totnode 
)

◆ SCULPT_do_smear_brush()

void SCULPT_do_smear_brush ( Sculpt sd,
Object ob,
PBVHNode **  nodes,
int  totnode 
)