vkQuake2 doxygen  1.0 dev
VmaRecordSettings Struct Reference

Parameters for recording calls to VMA functions. To be used in VmaAllocatorCreateInfo::pRecordSettings. More...

#include <vk_mem_alloc.h>

Public Attributes

VmaRecordFlags flags
 Flags for recording. Use VmaRecordFlagBits enum. More...
 
const char * pFilePath
 Path to the file that should be written by the recording. More...
 

Detailed Description

Parameters for recording calls to VMA functions. To be used in VmaAllocatorCreateInfo::pRecordSettings.

Definition at line 1851 of file vk_mem_alloc.h.

Member Data Documentation

◆ flags

VmaRecordFlags VmaRecordSettings::flags

Flags for recording. Use VmaRecordFlagBits enum.

Definition at line 1854 of file vk_mem_alloc.h.

◆ pFilePath

const char* VmaRecordSettings::pFilePath

Path to the file that should be written by the recording.

Suggested extension: "csv". If the file already exists, it will be overwritten. It will be opened for the whole time VmaAllocator object is alive. If opening this file fails, creation of the whole allocator object fails.

Definition at line 1862 of file vk_mem_alloc.h.