Blender  V3.3
Enumerations | Functions | Variables
BKE_curves.h File Reference

Low-level operations for curves that cannot be defined in the C++ header yet. More...

#include "DNA_curves_types.h"

Go to the source code of this file.

Enumerations

enum  { BKE_CURVES_BATCH_DIRTY_ALL = 0 }
 

Functions

voidBKE_curves_add (struct Main *bmain, const char *name)
 
struct BoundBoxBKE_curves_boundbox_get (struct Object *ob)
 
bool BKE_curves_customdata_required (const struct Curves *curves, const char *name)
 
struct CurvesBKE_curves_copy_for_eval (struct Curves *curves_src, bool reference)
 
void BKE_curves_data_update (struct Depsgraph *depsgraph, struct Scene *scene, struct Object *object)
 
void BKE_curves_batch_cache_dirty_tag (struct Curves *curves, int mode)
 
void BKE_curves_batch_cache_free (struct Curves *curves)
 

Variables

void(* BKE_curves_batch_cache_dirty_tag_cb )(struct Curves *curves, int mode)
 
void(* BKE_curves_batch_cache_free_cb )(struct Curves *curves)
 

Detailed Description

Low-level operations for curves that cannot be defined in the C++ header yet.

Definition in file BKE_curves.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
BKE_CURVES_BATCH_DIRTY_ALL 

Definition at line 40 of file BKE_curves.h.

Function Documentation

◆ BKE_curves_add()

void* BKE_curves_add ( struct Main bmain,
const char *  name 
)

Definition at line 231 of file curves.cc.

References BKE_id_new(), curves, and ID_CV.

Referenced by BKE_object_obdata_add_from_type().

◆ BKE_curves_batch_cache_dirty_tag()

void BKE_curves_batch_cache_dirty_tag ( struct Curves curves,
int  mode 
)

Definition at line 351 of file curves.cc.

References BKE_curves_batch_cache_dirty_tag_cb, and curves.

Referenced by BKE_object_data_batch_cache_dirty_tag().

◆ BKE_curves_batch_cache_free()

void BKE_curves_batch_cache_free ( struct Curves curves)

Definition at line 358 of file curves.cc.

References BKE_curves_batch_cache_free_cb, and curves.

Referenced by curves_free_data().

◆ BKE_curves_boundbox_get()

struct BoundBox* BKE_curves_boundbox_get ( struct Object ob)

◆ BKE_curves_copy_for_eval()

struct Curves* BKE_curves_copy_for_eval ( struct Curves curves_src,
bool  reference 
)

◆ BKE_curves_customdata_required()

bool BKE_curves_customdata_required ( const struct Curves curves,
const char *  name 
)

◆ BKE_curves_data_update()

void BKE_curves_data_update ( struct Depsgraph depsgraph,
struct Scene scene,
struct Object object 
)

Variable Documentation

◆ BKE_curves_batch_cache_dirty_tag_cb

void(* BKE_curves_batch_cache_dirty_tag_cb) (struct Curves *curves, int mode) ( struct Curves curves,
int  mode 
)
extern

Definition at line 348 of file curves.cc.

Referenced by BKE_curves_batch_cache_dirty_tag(), and DRW_engines_register().

◆ BKE_curves_batch_cache_free_cb

void(* BKE_curves_batch_cache_free_cb) (struct Curves *curves) ( struct Curves curves)
extern

Definition at line 349 of file curves.cc.

Referenced by BKE_curves_batch_cache_free(), and DRW_engines_register().