namespace Brutal.VulkanApi { /// /// VkDescriptorSetLayout - Opaque handle to a descriptor set layout object /// /// /// /// A descriptor set layout object is defined by an array of zero or more /// descriptor bindings. /// Each individual descriptor binding is specified by a descriptor type, a /// count (array size) of the number of descriptors in the binding, a set of /// shader stages that can access the binding, and (if using immutable /// samplers) an array of sampler descriptors. /// /// /// Descriptor set layout objects are represented by VkDescriptorSetLayout /// handles: /// /// /// // Provided by VK_VERSION_1_0 /// VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDescriptorSetLayout) /// /// public readonly unsafe struct VkDescriptorSetLayout : IVulkanHandle { /// public VkObjectType VkObjectType => VkObjectType.DescriptorSetLayout; /// public nint VkHandle { get; } /// Construct from an existing pointer public VkDescriptorSetLayout(nint handle) { VkHandle = handle; } /// public bool IsNull() { return VkHandle == 0; } public static VkDescriptorSetLayout NullHandle = new(); } }