namespace Brutal.VulkanApi { /// /// VkDependencyInfo - Structure specifying dependency information for a synchronization command /// /// /// /// The VkDependencyInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_3 /// typedef struct VkDependencyInfo { /// VkStructureType sType; /// const void* pNext; /// VkDependencyFlags dependencyFlags; /// uint32_t memoryBarrierCount; /// const VkMemoryBarrier2* pMemoryBarriers; /// uint32_t bufferMemoryBarrierCount; /// const VkBufferMemoryBarrier2* pBufferMemoryBarriers; /// uint32_t imageMemoryBarrierCount; /// const VkImageMemoryBarrier2* pImageMemoryBarriers; /// } VkDependencyInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 64)] public unsafe partial struct VkDependencyInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.DependencyInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// DependencyFlags is a bitmask of VkDependencyFlags specifying how execution and memory dependencies are formed. /// [FieldOffset(16)] public VkDependencyFlags DependencyFlags; /// /// MemoryBarrierCount is the length of the pMemoryBarriers array. /// [FieldOffset(20)] public int MemoryBarrierCount; /// /// MemoryBarriers is a pointer to an array of VkMemoryBarrier2 structures defining memory dependencies between any memory accesses. /// [FieldOffset(24)] public VkMemoryBarrier2* MemoryBarriers; /// /// BufferMemoryBarrierCount is the length of the pBufferMemoryBarriers array. /// [FieldOffset(32)] public int BufferMemoryBarrierCount; /// /// BufferMemoryBarriers is a pointer to an array of VkBufferMemoryBarrier2 structures defining memory dependencies between buffer ranges. /// [FieldOffset(40)] public VkBufferMemoryBarrier2* BufferMemoryBarriers; /// /// ImageMemoryBarrierCount is the length of the pImageMemoryBarriers array. /// [FieldOffset(48)] public int ImageMemoryBarrierCount; /// /// ImageMemoryBarriers is a pointer to an array of VkImageMemoryBarrier2 structures defining memory dependencies between image subresources. /// [FieldOffset(56)] public VkImageMemoryBarrier2* ImageMemoryBarriers; } }