namespace Brutal.VulkanApi { /// /// VkDescriptorSet - Opaque handle to a descriptor set object /// /// /// /// Descriptor sets are allocated from descriptor pool objects, and are /// represented by VkDescriptorSet handles: /// /// /// // Provided by VK_VERSION_1_0 /// VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDescriptorSet) /// /// public readonly unsafe struct VkDescriptorSet : IVulkanHandle { /// public VkObjectType VkObjectType => VkObjectType.DescriptorSet; /// public nint VkHandle { get; } /// Construct from an existing pointer public VkDescriptorSet(nint handle) { VkHandle = handle; } /// public bool IsNull() { return VkHandle == 0; } public static VkDescriptorSet NullHandle = new(); } }