Blender  V3.3
BKE_curves.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #pragma once
4 
5 #include "DNA_curves_types.h"
6 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 struct BoundBox;
17 struct Curves;
18 struct CustomDataLayer;
19 struct Depsgraph;
20 struct Main;
21 struct Object;
22 struct Scene;
23 
24 void *BKE_curves_add(struct Main *bmain, const char *name);
25 
26 struct BoundBox *BKE_curves_boundbox_get(struct Object *ob);
27 
28 bool BKE_curves_customdata_required(const struct Curves *curves, const char *name);
29 
30 /* Depsgraph */
31 
32 struct Curves *BKE_curves_copy_for_eval(struct Curves *curves_src, bool reference);
33 
35  struct Scene *scene,
36  struct Object *object);
37 
38 /* Draw Cache */
39 
40 enum {
42 };
43 
44 void BKE_curves_batch_cache_dirty_tag(struct Curves *curves, int mode);
46 
47 extern void (*BKE_curves_batch_cache_dirty_tag_cb)(struct Curves *curves, int mode);
49 
50 #ifdef __cplusplus
51 }
52 #endif
void(* BKE_curves_batch_cache_dirty_tag_cb)(struct Curves *curves, int mode)
Definition: curves.cc:348
void * BKE_curves_add(struct Main *bmain, const char *name)
Definition: curves.cc:231
bool BKE_curves_customdata_required(const struct Curves *curves, const char *name)
struct BoundBox * BKE_curves_boundbox_get(struct Object *ob)
Definition: curves.cc:238
void BKE_curves_data_update(struct Depsgraph *depsgraph, struct Scene *scene, struct Object *object)
Definition: curves.cc:315
struct Curves * BKE_curves_copy_for_eval(struct Curves *curves_src, bool reference)
Definition: curves.cc:271
void BKE_curves_batch_cache_free(struct Curves *curves)
Definition: curves.cc:358
void BKE_curves_batch_cache_dirty_tag(struct Curves *curves, int mode)
Definition: curves.cc:351
@ BKE_CURVES_BATCH_DIRTY_ALL
Definition: BKE_curves.h:41
void(* BKE_curves_batch_cache_free_cb)(struct Curves *curves)
Definition: curves.cc:349
struct Depsgraph Depsgraph
Definition: DEG_depsgraph.h:35
Group Output data from inside of a node group A color picker Mix two input colors RGB to Convert a color s luminance to a grayscale value Generate a normal vector and a dot product Bright Control the brightness and contrast of the input color Vector Map an input vectors to curves
Scene scene
const Depsgraph * depsgraph
SyclQueue void void size_t num_bytes void
Definition: BKE_main.h:121
string name
Definition: scene.h:198