Click or drag to resize
Ab4d.SharpEngine logo

VulkanDeviceOutOfMemoryOccured Event

OutOfMemoryOccured event is triggered from the VulkanMemoryAllocator when there is not enough memory to allocate a new resource. The subscribed event handler can try to free the required amount of memory and then the IsMemoryFreed property can be set to true. This will notify the VulkanMemoryAllocator or GpuDevice that the memory was released and the allocation can be tried again. Before freing memory, it is recommended to call WaitUntilIdle to make sure that all tasks on GPU are complete so the memory can be freed immediatelly (otherwise disposing is scheduled after the last frame is rendered).

Namespace: Ab4d.SharpEngine.Vulkan
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public event OutOfMemoryEventHandler OutOfMemoryOccured

Value

OutOfMemoryEventHandler
Remarks

[Missing <remarks> documentation for "E:Ab4d.SharpEngine.Vulkan.VulkanDevice.OutOfMemoryOccured"]

See Also