namespace Brutal.VulkanApi { /// /// VkRenderPass - Opaque handle to a render pass object /// /// /// /// A render pass object represents a collection of attachments, subpasses, and /// dependencies between the subpasses, and describes how the attachments are /// used over the course of the subpasses. /// /// /// Render passes are represented by VkRenderPass handles: /// /// /// // Provided by VK_VERSION_1_0 /// VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkRenderPass) /// /// public readonly unsafe struct VkRenderPass : IVulkanHandle { /// public VkObjectType VkObjectType => VkObjectType.RenderPass; /// public nint VkHandle { get; } /// Construct from an existing pointer public VkRenderPass(nint handle) { VkHandle = handle; } /// public bool IsNull() { return VkHandle == 0; } public static VkRenderPass NullHandle = new(); } }