Blender V5.3
blender::bke::CollectionRuntime Struct Reference

#include <BKE_collection.hh>

Public Attributes

ListBaseT< Base > object_cache = {}
ListBaseT< Base > object_cache_instanced = {}
ListBaseT< CollectionParent > parents = {}
CollectionObjectMap * gobject_hash = nullptr
uint8_t tag = 0

Detailed Description

Definition at line 67 of file BKE_collection.hh.

Member Data Documentation

◆ gobject_hash

◆ object_cache

ListBaseT<Base> blender::bke::CollectionRuntime::object_cache = {}

Cache of objects in this collection and all its children. This is created on demand when e.g. some physics simulation needs it, we don't want to have it for every collections due to memory usage reasons.

Definition at line 73 of file BKE_collection.hh.

Referenced by blender::BKE_collection_object_cache_get(), and blender::collection_object_cache_free().

◆ object_cache_instanced

ListBaseT<Base> blender::bke::CollectionRuntime::object_cache_instanced = {}

Need this for line art sub-collection selections.

Definition at line 76 of file BKE_collection.hh.

Referenced by blender::BKE_collection_object_cache_instanced_get(), and blender::collection_object_cache_free().

◆ parents

◆ tag


The documentation for this struct was generated from the following file: