Blender V5.3
blender::BArrayState Struct Reference

Public Attributes

BArrayState * next
BArrayState * prev
BChunkList * chunk_list

Detailed Description

A single instance of an array.

This is how external API's hold a reference to an in-memory state, although the struct is private.

Note
Currently each 'state' is allocated separately. While this could be moved to a memory pool, it makes it easier to trace invalid usage, so leave as-is for now.

Definition at line 331 of file array_store.cc.

Member Data Documentation

◆ chunk_list

BChunkList* blender::BArrayState::chunk_list

Shared chunk list, this reference must hold a #BChunkList::users.

Definition at line 335 of file array_store.cc.

Referenced by blender::BLI_array_store_state_add().

◆ next

BArrayState* blender::BArrayState::next

linked list in #BArrayStore.states.

Definition at line 333 of file array_store.cc.

◆ prev

BArrayState * blender::BArrayState::prev

Definition at line 333 of file array_store.cc.


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