namespace Brutal.VulkanApi { /// /// VkDescriptorUpdateTemplate - Opaque handle to a descriptor update template /// /// /// /// A descriptor update template specifies a mapping from descriptor update /// information in host memory to descriptors in a descriptor set. /// It is designed to avoid passing redundant information to the driver when /// frequently updating the same set of descriptors in descriptor sets. /// /// /// Descriptor update template objects are represented by /// VkDescriptorUpdateTemplate handles: /// /// /// // Provided by VK_VERSION_1_1 /// VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDescriptorUpdateTemplate) /// /// public readonly unsafe struct VkDescriptorUpdateTemplate : IVulkanHandle { /// public VkObjectType VkObjectType => VkObjectType.DescriptorUpdateTemplate; /// public nint VkHandle { get; } /// Construct from an existing pointer public VkDescriptorUpdateTemplate(nint handle) { VkHandle = handle; } /// public bool IsNull() { return VkHandle == 0; } public static VkDescriptorUpdateTemplate NullHandle = new(); } }