using System;
using System.Runtime.InteropServices;
namespace OpenToolkit.GraphicsLibraryFramework
{
///
/// A handle to a Vulkan object.
///
[StructLayout(LayoutKind.Sequential)]
public struct VkHandle
{
///
/// The actual value of the Vulkan handle.
///
public IntPtr Handle;
///
/// Initializes a new instance of the struct.
///
///
/// The native Vulkan handle.
/// This is NOT a pointer to a field containing the handle, this is the actual handle itself.
///
public VkHandle(IntPtr handle)
{
Handle = handle;
}
}
}