namespace Brutal.VulkanApi { /// /// VkVideoSessionKHR - Opaque handle to a video session object /// /// /// /// Video sessions are objects that represent and maintain the state needed to /// perform video decode or encode operations using a specific video profile. /// /// /// Video sessions are represented by VkVideoSessionKHR handles: /// /// /// // Provided by VK_KHR_video_queue /// VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkVideoSessionKHR) /// /// public readonly unsafe struct VkVideoSessionKHR : IVulkanHandle { /// public VkObjectType VkObjectType => VkObjectType.VideoSessionKHR; /// public nint VkHandle { get; } /// Construct from an existing pointer public VkVideoSessionKHR(nint handle) { VkHandle = handle; } /// public bool IsNull() { return VkHandle == 0; } public static VkVideoSessionKHR NullHandle = new(); } }