namespace Brutal.VulkanApi { /// /// VkBindSparseInfo - Structure specifying a sparse binding operation /// /// /// /// The VkBindSparseInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkBindSparseInfo { /// VkStructureType sType; /// const void* pNext; /// uint32_t waitSemaphoreCount; /// const VkSemaphore* pWaitSemaphores; /// uint32_t bufferBindCount; /// const VkSparseBufferMemoryBindInfo* pBufferBinds; /// uint32_t imageOpaqueBindCount; /// const VkSparseImageOpaqueMemoryBindInfo* pImageOpaqueBinds; /// uint32_t imageBindCount; /// const VkSparseImageMemoryBindInfo* pImageBinds; /// uint32_t signalSemaphoreCount; /// const VkSemaphore* pSignalSemaphores; /// } VkBindSparseInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 96)] public unsafe partial struct VkBindSparseInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.BindSparseInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// WaitSemaphoreCount is the number of semaphores upon which to wait before executing the sparse binding operations for the batch. /// [FieldOffset(16)] public int WaitSemaphoreCount; /// /// WaitSemaphores is a pointer to an array of semaphores upon which to wait on before the sparse binding operations for this batch begin execution. If semaphores to wait on are provided, they define a semaphore wait operation^. /// [FieldOffset(24)] public VkSemaphore* WaitSemaphores; /// /// BufferBindCount is the number of sparse buffer bindings to perform in the batch. /// [FieldOffset(32)] public int BufferBindCount; /// /// BufferBinds is a pointer to an array of VkSparseBufferMemoryBindInfo structures. /// [FieldOffset(40)] public VkSparseBufferMemoryBindInfo* BufferBinds; /// /// ImageOpaqueBindCount is the number of opaque sparse image bindings to perform. /// [FieldOffset(48)] public int ImageOpaqueBindCount; /// /// ImageOpaqueBinds is a pointer to an array of VkSparseImageOpaqueMemoryBindInfo structures, indicating opaque sparse image bindings to perform. /// [FieldOffset(56)] public VkSparseImageOpaqueMemoryBindInfo* ImageOpaqueBinds; /// /// ImageBindCount is the number of sparse image bindings to perform. /// [FieldOffset(64)] public int ImageBindCount; /// /// ImageBinds is a pointer to an array of VkSparseImageMemoryBindInfo structures, indicating sparse image bindings to perform. /// [FieldOffset(72)] public VkSparseImageMemoryBindInfo* ImageBinds; /// /// SignalSemaphoreCount is the number of semaphores to be signaled once the sparse binding operations specified by the structure have completed execution. /// [FieldOffset(80)] public int SignalSemaphoreCount; /// /// SignalSemaphores is a pointer to an array of semaphores which will be signaled when the sparse binding operations for this batch have completed execution. If semaphores to be signaled are provided, they define a semaphore signal operation^. /// [FieldOffset(88)] public VkSemaphore* SignalSemaphores; } }