Blender
V3.3
|
#include <BKE_gpencil_update_cache.h>
Public Attributes | |
struct DLRBT_Tree * | children |
int | flag |
int | index |
void * | data |
Cache for what needs to be updated after bGPdata was modified.
Every node holds information about one element that was changed:
Additionally, nodes also hold other nodes that are one "level" below them. E.g. a node that represents a change on a bGPDframe could contain a set of nodes that represent a change on bGPDstrokes. These nodes are stored in a red-black tree so that they are sorted by their index to make sure they can be processed in the correct order.
Definition at line 46 of file BKE_gpencil_update_cache.h.
struct DLRBT_Tree* GPencilUpdateCache::children |
Definition at line 48 of file BKE_gpencil_update_cache.h.
Referenced by cache_node_update(), gpencil_traverse_update_cache_ex(), update_cache_alloc(), update_cache_free(), and update_cache_node_create_ex().
void* GPencilUpdateCache::data |
Definition at line 54 of file BKE_gpencil_update_cache.h.
Referenced by cache_node_update(), gpencil_update_on_write_frame_cb(), gpencil_update_on_write_layer_cb(), gpencil_update_on_write_stroke_cb(), update_cache_alloc(), and update_cache_node_create_ex().
int GPencilUpdateCache::flag |
Definition at line 50 of file BKE_gpencil_update_cache.h.
Referenced by BKE_gpencil_can_avoid_full_copy_on_write(), BKE_gpencil_update_on_write(), cache_node_update(), gpencil_update_on_write_frame_cb(), gpencil_update_on_write_layer_cb(), gpencil_update_on_write_stroke_cb(), update_cache_alloc(), update_cache_node_create(), and update_cache_node_create_ex().
int GPencilUpdateCache::index |
Definition at line 52 of file BKE_gpencil_update_cache.h.
Referenced by gpencil_update_on_write_frame_cb(), gpencil_update_on_write_layer_cb(), gpencil_update_on_write_stroke_cb(), and update_cache_alloc().