Blender V5.0
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"
#include "BLI_string_ref.hh"

Go to the source code of this file.

Enumerations

enum  { BKE_CURVES_BATCH_DIRTY_ALL = 0 }

Functions

struct CurvesBKE_curves_add (struct Main *bmain, const char *name)
bool BKE_curves_attribute_required (const struct Curves *curves, blender::StringRef name)
struct CurvesBKE_curves_copy_for_eval (const struct Curves *curves_src)
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 36 of file BKE_curves.h.

Function Documentation

◆ BKE_curves_add()

◆ BKE_curves_attribute_required()

bool BKE_curves_attribute_required ( const struct Curves * curves,
blender::StringRef name )

References name.

Referenced by BKE_attribute_required().

◆ BKE_curves_batch_cache_dirty_tag()

void BKE_curves_batch_cache_dirty_tag ( struct Curves * curves,
int mode )

◆ BKE_curves_batch_cache_free()

void BKE_curves_batch_cache_free ( struct Curves * curves)

Definition at line 283 of file blenkernel/intern/curves.cc.

References BKE_curves_batch_cache_free_cb.

Referenced by curves_free_data().

◆ BKE_curves_copy_for_eval()

◆ BKE_curves_data_update()

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

◆ BKE_curves_batch_cache_free_cb

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

Definition at line 274 of file blenkernel/intern/curves.cc.

Referenced by BKE_curves_batch_cache_free(), and DRW_module_init().