namespace Brutal.VulkanApi { /// /// VkPipeline - Opaque handle to a pipeline object /// /// /// /// Compute, /// pipelines are each represented by VkPipeline handles: /// /// /// // Provided by VK_VERSION_1_0 /// VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkPipeline) /// /// public readonly unsafe struct VkPipeline : IVulkanHandle { /// public VkObjectType VkObjectType => VkObjectType.Pipeline; /// public nint VkHandle { get; } /// Construct from an existing pointer public VkPipeline(nint handle) { VkHandle = handle; } /// public bool IsNull() { return VkHandle == 0; } public static VkPipeline NullHandle = new(); } }