namespace Brutal.VulkanApi { /// /// VkMemoryBarrier - Structure specifying a global memory barrier /// /// /// /// The VkMemoryBarrier structure is defined as: /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkMemoryBarrier { /// VkStructureType sType; /// const void* pNext; /// VkAccessFlags srcAccessMask; /// VkAccessFlags dstAccessMask; /// } VkMemoryBarrier; /// /// [StructLayout(LayoutKind.Explicit, Size = 24)] public unsafe partial struct VkMemoryBarrier() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.MemoryBarrier; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// SrcAccessMask is a bitmask of VkAccessFlags specifying a source access mask^. /// [FieldOffset(16)] public VkAccessFlags SrcAccessMask; /// /// DstAccessMask is a bitmask of VkAccessFlags specifying a destination access mask^. /// [FieldOffset(20)] public VkAccessFlags DstAccessMask; } }