namespace Brutal.VulkanApi { /// /// VkGpaSessionAMD - Opaque handle to a GPU Performance API object /// /// /// /// GPU Performance API (GPA) session objects hold the results of sampled /// performance counters and are represented by VkGpaSessionAMD handles: /// /// /// // Provided by VK_AMD_gpa_interface /// VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkGpaSessionAMD) /// /// public readonly unsafe struct VkGpaSessionAMD : IVulkanHandle { /// public VkObjectType VkObjectType => VkObjectType.GpaSessionAMD; /// public nint VkHandle { get; } /// Construct from an existing pointer public VkGpaSessionAMD(nint handle) { VkHandle = handle; } /// public bool IsNull() { return VkHandle == 0; } public static VkGpaSessionAMD NullHandle = new(); } }