Blender V4.3
BArrayState Struct Reference

Public Attributes

BArrayStatenext
 
BArrayStateprev
 
BChunkListchunk_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 294 of file array_store.cc.

Member Data Documentation

◆ chunk_list

BChunkList* BArrayState::chunk_list

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

Definition at line 298 of file array_store.cc.

Referenced by BLI_array_store_state_add().

◆ next

BArrayState* BArrayState::next

linked list in BArrayStore.states.

Definition at line 296 of file array_store.cc.

◆ prev

BArrayState * BArrayState::prev

Definition at line 296 of file array_store.cc.


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