Click or drag to resize
Ab4d.SharpEngine logo

OutOfMemoryEventHandler Delegate

OutOfMemoryEventHandler is an event handler with OutOfMemoryEventArgs as an argument and sender that is set to VulkanDevice that triggered the event. 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 that the memory was released and the allocation can be tried again.

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public delegate void OutOfMemoryEventHandler(
	Object sender,
	OutOfMemoryEventArgs e
)

Parameters

sender  Object
sender as VulkanMemoryAllocator
e  OutOfMemoryEventArgs
EffectRegisteredEventArgs
Remarks

[Missing <remarks> documentation for "T:Ab4d.SharpEngine.Common.OutOfMemoryEventHandler"]

See Also