namespace Brutal.VulkanApi.Abstractions; /// /// Anything that owns a descriptor set layout. /// public interface IDescriptorSetLayoutWrapper { /// /// The descriptor set layout handle. /// VkDescriptorSetLayout DescriptorSetLayout { get; } } /// /// Anything that owns a descriptor set (and its layout). Lets command recording bind any /// subsystem's set uniformly via /// . /// public interface IDescriptorSetWrapper : IDescriptorSetLayoutWrapper { /// /// The descriptor set handle. /// VkDescriptorSet DescriptorSet { get; } /// /// Dynamic offsets to bind with the set. Empty by default; implement for sets that /// contain dynamic uniform or storage buffers. Read-only by design - Vulkan only reads /// the offsets (pDynamicOffsets is a const pointer), and the owner updates its /// own backing storage directly rather than through this view. /// ReadOnlySpan DynamicOffsets => []; }