Click or drag to resize
Ab4d.SharpEngine logo

VulkanMemoryInfo Class

VulkanMemoryInfo provides access to memory allocated on the graphics card that was allocated by a class that implements IVulkanMemoryAllocator. The handle to the allocated memory is assigned to DeviceMemory property. The class also provides Size, MemoryTypeIndex. When the memory is no longer needed, it need to be disposed by calling FreeMemory(VulkanMemoryInfo) method on the VulkanMemoryAllocator.
Inheritance Hierarchy
SystemObject
  Ab4d.SharpEngine.CommonVulkanMemoryInfo

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 1.0.8740+deb2991acfe86a95cca780cd4f82bcae2805c1a5
Syntax
C#
public class VulkanMemoryInfo

The VulkanMemoryInfo type exposes the following members.

Constructors
 NameDescription
Public methodVulkanMemoryInfo(VulkanDevice, DeviceMemory, UInt32, Int32, String) Creates and instance of GpuMemory that was manually allocated by the user
Public methodVulkanMemoryInfo(IVulkanMemoryAllocator, Int32, DeviceMemory, UInt32, UInt32, Int32, String) Creates and instance of GpuMemory that was allocated by the VulkanMemoryAllocator
Top
Properties
 NameDescription
Public propertyDeviceMemory 
Public propertyIsDisposed 
Public propertyMemoryBlockId Id of the memory block used by the MemoryAllocator
Public propertyMemoryOffset 
Public propertyMemoryTypeIndex 
Public propertyName 
Public propertySize 
Top
Methods
Fields
 NameDescription
Public fieldMemoryAllocator 
Top
See Also