Blender V4.3
array_store_utils.cc File Reference

Helper functions for BLI_array_store API. More...

Go to the source code of this file.

Functions

BArrayStoreBLI_array_store_at_size_ensure (BArrayStore_AtSize *bs_stride, const int stride, const int chunk_size)
 
BArrayStoreBLI_array_store_at_size_get (BArrayStore_AtSize *bs_stride, const int stride)
 
void BLI_array_store_at_size_clear (BArrayStore_AtSize *bs_stride)
 
void BLI_array_store_at_size_calc_memory_usage (const BArrayStore_AtSize *bs_stride, size_t *r_size_expanded, size_t *r_size_compacted)
 

Detailed Description

Helper functions for BLI_array_store API.

Definition in file array_store_utils.cc.

Function Documentation

◆ BLI_array_store_at_size_calc_memory_usage()

void BLI_array_store_at_size_calc_memory_usage ( const BArrayStore_AtSize * bs_stride,
size_t * r_size_expanded,
size_t * r_size_compacted )

◆ BLI_array_store_at_size_clear()

◆ BLI_array_store_at_size_ensure()

BArrayStore * BLI_array_store_at_size_ensure ( BArrayStore_AtSize * bs_stride,
const int stride,
const int chunk_size )

◆ BLI_array_store_at_size_get()

BArrayStore * BLI_array_store_at_size_get ( BArrayStore_AtSize * bs_stride,
const int stride )