namespace Brutal.VulkanApi { /// /// VkBindBufferMemoryInfo - Structure specifying how to bind a buffer to memory /// /// /// /// :refpage: VkBindBufferMemoryInfo /// /// /// VkBindBufferMemoryInfo contains members corresponding to the /// parameters of vkBindBufferMemory. /// /// /// The VkBindBufferMemoryInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_1 /// typedef struct VkBindBufferMemoryInfo { /// VkStructureType sType; /// const void* pNext; /// VkBuffer buffer; /// VkDeviceMemory memory; /// VkDeviceSize memoryOffset; /// } VkBindBufferMemoryInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 40)] public unsafe partial struct VkBindBufferMemoryInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.BindBufferMemoryInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Buffer is the buffer to be attached to memory. /// [FieldOffset(16)] public VkBuffer Buffer; /// /// Memory is a VkDeviceMemory object describing the device memory to attach. /// [FieldOffset(24)] public VkDeviceMemory Memory; /// /// MemoryOffset is the start offset of the region of memory which is to be bound to the buffer. The number of bytes returned in the VkMemoryRequirements::size member in memory, starting from memoryOffset bytes, will be bound to the specified buffer. /// [FieldOffset(32)] public ByteSize64 MemoryOffset; } }