namespace Brutal.VulkanApi { /// /// VkPipelineLayout - Opaque handle to a pipeline layout object /// /// /// /// Access to descriptor sets from a pipeline is accomplished through a /// pipeline layout. /// Zero or more descriptor set layouts and zero or more push constant ranges /// are combined to form a pipeline layout object describing the complete set of /// resources that can be accessed by a pipeline. /// The pipeline layout represents a sequence of descriptor sets with each /// having a specific layout. /// This sequence of layouts is used to determine the interface between shader /// stages and shader resources. /// Each pipeline is created using a pipeline layout. /// /// /// Pipeline layout objects are represented by VkPipelineLayout handles: /// /// /// // Provided by VK_VERSION_1_0 /// VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkPipelineLayout) /// /// public readonly unsafe struct VkPipelineLayout : IVulkanHandle { /// public VkObjectType VkObjectType => VkObjectType.PipelineLayout; /// public nint VkHandle { get; } /// Construct from an existing pointer public VkPipelineLayout(nint handle) { VkHandle = handle; } /// public bool IsNull() { return VkHandle == 0; } public static VkPipelineLayout NullHandle = new(); } }