Blender V5.0
BLI_memblock Struct Reference

Public Attributes

void ** chunk_list
int elem_size
int elem_next
int elem_last
int elem_next_ofs
int chunk_max_ofs
int chunk_next
int chunk_size
int chunk_len

Detailed Description

Definition at line 25 of file BLI_memblock.cc.

Member Data Documentation

◆ chunk_len

int BLI_memblock::chunk_len

Number of allocated chunk.

Definition at line 43 of file BLI_memblock.cc.

Referenced by BLI_memblock_alloc(), BLI_memblock_clear(), BLI_memblock_create_ex(), and BLI_memblock_destroy().

◆ chunk_list

◆ chunk_max_ofs

int BLI_memblock::chunk_max_ofs

Max offset in a chunk.

Definition at line 37 of file BLI_memblock.cc.

Referenced by BLI_memblock_alloc(), BLI_memblock_create_ex(), and BLI_memblock_iternew().

◆ chunk_next

int BLI_memblock::chunk_next

Id of the chunk used for the next allocation.

Definition at line 39 of file BLI_memblock.cc.

Referenced by BLI_memblock_alloc(), BLI_memblock_clear(), and BLI_memblock_create_ex().

◆ chunk_size

int BLI_memblock::chunk_size

◆ elem_last

int BLI_memblock::elem_last

Last "touched" element.

Definition at line 33 of file BLI_memblock.cc.

Referenced by BLI_memblock_alloc(), BLI_memblock_clear(), BLI_memblock_create_ex(), and BLI_memblock_destroy().

◆ elem_next

int BLI_memblock::elem_next

First unused element index.

Definition at line 31 of file BLI_memblock.cc.

Referenced by BLI_memblock_alloc(), BLI_memblock_clear(), BLI_memblock_create_ex(), and BLI_memblock_iternew().

◆ elem_next_ofs

int BLI_memblock::elem_next_ofs

Offset in a chunk of the next elem.

Definition at line 35 of file BLI_memblock.cc.

Referenced by BLI_memblock_alloc(), BLI_memblock_clear(), and BLI_memblock_create_ex().

◆ elem_size

int BLI_memblock::elem_size

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