diff options
Diffstat (limited to 'source/blender/blenkernel/BKE_dynamicpaint.h')
-rw-r--r-- | source/blender/blenkernel/BKE_dynamicpaint.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/source/blender/blenkernel/BKE_dynamicpaint.h b/source/blender/blenkernel/BKE_dynamicpaint.h index c265672da88..cffadeb5fd9 100644 --- a/source/blender/blenkernel/BKE_dynamicpaint.h +++ b/source/blender/blenkernel/BKE_dynamicpaint.h @@ -27,11 +27,14 @@ * \ingroup bke */ -struct EvaluationContext; +struct Depsgraph; +struct DynamicPaintCanvasSettings; +struct DynamicPaintModifierData; struct Main; struct Scene; +struct ViewLayer; -/* Actual surface point */ +/* Actual surface point */ typedef struct PaintSurfaceData { void *format_data; /* special data for each surface "format" */ void *type_data; /* data used by specific surface type */ @@ -42,7 +45,7 @@ typedef struct PaintSurfaceData { } PaintSurfaceData; -/* Paint type surface point */ +/* Paint type surface point */ typedef struct PaintPoint { /* Wet paint is handled at effect layer only @@ -53,7 +56,7 @@ typedef struct PaintPoint { float color[4]; } PaintPoint; -/* height field waves */ +/* height field waves */ typedef struct PaintWavePoint { float height; @@ -62,9 +65,9 @@ typedef struct PaintWavePoint { short state; } PaintWavePoint; -struct DerivedMesh *dynamicPaint_Modifier_do( - struct Main *bmain, struct EvaluationContext *eval_ctx, struct DynamicPaintModifierData *pmd, struct Scene *scene, - struct Object *ob, struct DerivedMesh *dm); +struct Mesh *dynamicPaint_Modifier_do( + struct DynamicPaintModifierData *pmd, struct Depsgraph *depsgraph, struct Scene *scene, + struct Object *ob, struct Mesh *me); void dynamicPaint_Modifier_free(struct DynamicPaintModifierData *pmd); void dynamicPaint_Modifier_copy(const struct DynamicPaintModifierData *pmd, struct DynamicPaintModifierData *tsmd); @@ -88,9 +91,8 @@ struct DynamicPaintSurface *get_activeSurface(struct DynamicPaintCanvasSettings /* image sequence baking */ int dynamicPaint_createUVSurface(struct Scene *scene, struct DynamicPaintSurface *surface, float *progress, short *do_update); int dynamicPaint_calculateFrame( - struct Main *bmain, - struct EvaluationContext *eval_ctx, struct DynamicPaintSurface *surface, struct Scene *scene, - struct Object *cObject, int frame); + struct DynamicPaintSurface *surface, struct Depsgraph *depsgraph, + struct Scene *scene, struct Object *cObject, int frame); void dynamicPaint_outputSurfaceImage(struct DynamicPaintSurface *surface, char *filename, short output_layer); /* PaintPoint state */ |