Click or drag to resize
Ab4d.SharpEngine logo

OutOfMemoryEventArgs Class

OutOfMemoryEventArgs is used by the VulkanMemoryAllocator to notify that 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 that the memory was released and the allocation can be tried again.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    Ab4d.SharpEngine.CommonOutOfMemoryEventArgs

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public class OutOfMemoryEventArgs : EventArgs

The OutOfMemoryEventArgs type exposes the following members.

Constructors
 NameDescription
Public methodOutOfMemoryEventArgs Constructor
Top
Properties
 NameDescription
Public propertyAllocatedObjectName 
Public propertyIsDedicatedAllocation 
Public propertyIsImage 
Public propertyIsMemoryFreed IsMemoryFreed property can be set by the event handler to notify the VulkanMemoryAllocator that the memory was released and the allocation can be tried again.
Public propertyMemoryProperties 
Public propertyMemoryTypeBits 
Public propertyMemoryTypeIndex 
Public propertyRequestedMemorySize 
Top
Remarks

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

See Also