 |
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.VulkanAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntaxpublic void InvokeOutOfMemoryOccured(
OutOfMemoryEventArgs e
)
Parameters
- e OutOfMemoryEventArgs
- OutOfMemoryEventArgs
See Also