Constant vk_mem_alloc::ffi::VmaAllocationCreateFlagBits_VMA_ALLOCATION_CREATE_CAN_ALIAS_BIT
source · [−]pub const VmaAllocationCreateFlagBits_VMA_ALLOCATION_CREATE_CAN_ALIAS_BIT: VmaAllocationCreateFlagBits = 512;
Expand description
\brief Set this flag if the allocated memory will have aliasing resources.
Usage of this flag prevents supplying VkMemoryDedicatedAllocateInfoKHR
when #VMA_ALLOCATION_CREATE_DEDICATED_MEMORY_BIT is specified.
Otherwise created dedicated memory will not be suitable for aliasing resources, resulting in Vulkan Validation Layer errors.