Function vk_mem_alloc::ffi::vmaBuildVirtualBlockStatsString
source · [−]pub unsafe extern "C" fn vmaBuildVirtualBlockStatsString(
virtualBlock: VmaVirtualBlock,
ppStatsString: *mut *mut c_char,
detailedMap: Bool32
)
Expand description
\brief Builds and returns a null-terminated string in JSON format with information about given #VmaVirtualBlock.
\param virtualBlock Virtual block.
\param[out] ppStatsString Returned string.
\param detailedMap Pass VK_FALSE
to only obtain statistics as returned by vmaCalculateVirtualBlockStatistics(). Pass VK_TRUE
to also obtain full list of allocations and free spaces.
Returned string must be freed using vmaFreeVirtualBlockStatsString().