Skip to content

ID Management

ID management covers creation, copying, deletion of data-blocks, remapping of ID usages, and handling of their common properties, like naming, user refcounting, etc.

This is performed through a generic API defined in

BKE_lib_id.h and BKE_lib_remap.hh. This code relies on various callbacks in the IDTypeInfo type of each ID to perform parts of those operations that are specific to each type.

Some more complex are similarly provided by additional modules: