Click or drag to resize
Ab4d.SharpEngine logo

VulkanDeviceInvokeOutOfMemoryOccured Method

InvokeOutOfMemoryOccured method is used to trigger the OutOfMemoryOccured event. It can be alled from the VulkanMemoryAllocator or from the Avalonia, WinUI or other platform-specific code when the system is running low on memory and it is a good time to free some memory by calling GC.Collect or by freeing some GPU resources that are not used at the moment.

Namespace: Ab4d.SharpEngine.Vulkan
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntax
C#
public void InvokeOutOfMemoryOccured(
	OutOfMemoryEventArgs e
)

Parameters

e  OutOfMemoryEventArgs
OutOfMemoryEventArgs
See Also