Blender V5.3
BKE_dynamicpaint.h File Reference

Go to the source code of this file.

Classes

struct  blender::PaintSurfaceData
struct  blender::PaintPoint
struct  blender::PaintWavePoint

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define DPAINT_PAINT_NONE   -1
#define DPAINT_PAINT_DRY   0
#define DPAINT_PAINT_WET   1
#define DPAINT_PAINT_NEW   2
#define DPAINT_WAVE_ISECT_CHANGED   -1
#define DPAINT_WAVE_NONE   0
#define DPAINT_WAVE_OBSTACLE   1
#define DPAINT_WAVE_REFLECT_ONLY   2

Functions

struct Mesh * blender::dynamicPaint_Modifier_do (struct DynamicPaintModifierData *pmd, struct Depsgraph *depsgraph, struct Scene *scene, struct Object *ob, struct Mesh *mesh)
void blender::dynamicPaint_Modifier_free (struct DynamicPaintModifierData *pmd)
void blender::dynamicPaint_Modifier_free_runtime (struct DynamicPaintRuntime *runtime)
void blender::dynamicPaint_Modifier_copy (const struct DynamicPaintModifierData *pmd, struct DynamicPaintModifierData *tpmd, int flag)
bool blender::dynamicPaint_createType (struct DynamicPaintModifierData *pmd, int type, struct Scene *scene)
struct DynamicPaintSurface * blender::dynamicPaint_createNewSurface (struct DynamicPaintCanvasSettings *canvas, struct Scene *scene)
void blender::dynamicPaint_clearSurface (const struct Scene *scene, struct DynamicPaintSurface *surface)
bool blender::dynamicPaint_resetSurface (const struct Scene *scene, struct DynamicPaintSurface *surface)
void blender::dynamicPaint_freeSurface (const struct DynamicPaintModifierData *pmd, struct DynamicPaintSurface *surface)
void blender::dynamicPaint_freeCanvas (struct DynamicPaintModifierData *pmd)
void blender::dynamicPaint_freeBrush (struct DynamicPaintModifierData *pmd)
void blender::dynamicPaint_freeSurfaceData (struct DynamicPaintSurface *surface)
void blender::dynamicPaint_cacheUpdateFrames (struct DynamicPaintSurface *surface)
bool blender::dynamicPaint_outputLayerExists (struct DynamicPaintSurface *surface, struct Object *ob, int output)
void blender::dynamicPaintSurface_updateType (struct DynamicPaintSurface *surface)
void blender::dynamicPaintSurface_setUniqueName (struct DynamicPaintSurface *surface, const char *basename)
struct DynamicPaintSurface * blender::get_activeSurface (struct DynamicPaintCanvasSettings *canvas)
int blender::dynamicPaint_calculateFrame (struct DynamicPaintSurface *surface, struct Depsgraph *depsgraph, struct Scene *scene, struct Object *cObject, int frame)
Image Sequence / UV Image Surface Calls
int blender::dynamicPaint_createUVSurface (struct Scene *scene, struct DynamicPaintSurface *surface, float *progress, bool *do_update)
void blender::dynamicPaint_outputSurfaceImage (struct DynamicPaintSurface *surface, const char *filepath, short output_layer)

Macro Definition Documentation

◆ DPAINT_PAINT_DRY

#define DPAINT_PAINT_DRY   0

Definition at line 136 of file BKE_dynamicpaint.h.

Referenced by blender::dynamic_paint_surface_pre_step_cb().

◆ DPAINT_PAINT_NEW

#define DPAINT_PAINT_NEW   2

Definition at line 138 of file BKE_dynamicpaint.h.

Referenced by blender::dynamicPaint_mixPaintColors().

◆ DPAINT_PAINT_NONE

#define DPAINT_PAINT_NONE   -1

Definition at line 135 of file BKE_dynamicpaint.h.

◆ DPAINT_PAINT_WET

#define DPAINT_PAINT_WET   1

Definition at line 137 of file BKE_dynamicpaint.h.

Referenced by blender::dynamic_paint_surface_pre_step_cb().

◆ DPAINT_WAVE_ISECT_CHANGED

#define DPAINT_WAVE_ISECT_CHANGED   -1

Definition at line 141 of file BKE_dynamicpaint.h.

Referenced by blender::dynamicPaint_mixWaveHeight().

◆ DPAINT_WAVE_NONE

#define DPAINT_WAVE_NONE   0

Definition at line 142 of file BKE_dynamicpaint.h.

Referenced by blender::dynamic_paint_wave_step_cb().

◆ DPAINT_WAVE_OBSTACLE

#define DPAINT_WAVE_OBSTACLE   1

Definition at line 143 of file BKE_dynamicpaint.h.

Referenced by blender::dynamicPaint_mixWaveHeight().

◆ DPAINT_WAVE_REFLECT_ONLY

#define DPAINT_WAVE_REFLECT_ONLY   2

Definition at line 144 of file BKE_dynamicpaint.h.

Referenced by blender::dynamicPaint_mixWaveHeight().