namespace Brutal.VulkanApi { /// /// VkMemoryBarrier2 - Structure specifying a global memory barrier /// /// /// /// :refpage: VkMemoryBarrier2 /// /// /// The VkMemoryBarrier2 structure is defined as: /// /// /// // Provided by VK_VERSION_1_3 /// typedef struct VkMemoryBarrier2 { /// VkStructureType sType; /// const void* pNext; /// VkPipelineStageFlags2 srcStageMask; /// VkAccessFlags2 srcAccessMask; /// VkPipelineStageFlags2 dstStageMask; /// VkAccessFlags2 dstAccessMask; /// } VkMemoryBarrier2; /// /// [StructLayout(LayoutKind.Explicit, Size = 48)] public unsafe partial struct VkMemoryBarrier2() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.MemoryBarrier2; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// SrcStageMask is a VkPipelineStageFlags2 mask of pipeline stages to be included in the first synchronization scope^. /// [FieldOffset(16)] public VkPipelineStageFlags2 SrcStageMask; /// /// SrcAccessMask is a VkAccessFlags2 mask of access flags to be included in the first access scope^. /// [FieldOffset(24)] public VkAccessFlags2 SrcAccessMask; /// /// DstStageMask is a VkPipelineStageFlags2 mask of pipeline stages to be included in the second synchronization scope^. /// [FieldOffset(32)] public VkPipelineStageFlags2 DstStageMask; /// /// DstAccessMask is a VkAccessFlags2 mask of access flags to be included in the second access scope^. /// [FieldOffset(40)] public VkAccessFlags2 DstAccessMask; } }