namespace Brutal.VulkanApi { /// /// VkBindImageMemoryInfo - Structure specifying how to bind an image to memory /// /// /// /// :refpage: VkBindImageMemoryInfo /// /// /// VkBindImageMemoryInfo contains members corresponding to the parameters /// of vkBindImageMemory. /// /// /// The VkBindImageMemoryInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_1 /// typedef struct VkBindImageMemoryInfo { /// VkStructureType sType; /// const void* pNext; /// VkImage image; /// VkDeviceMemory memory; /// VkDeviceSize memoryOffset; /// } VkBindImageMemoryInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 40)] public unsafe partial struct VkBindImageMemoryInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.BindImageMemoryInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Image is the image to be attached to memory. /// [FieldOffset(16)] public VkImage Image; /// /// 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 image. The number of bytes returned in the VkMemoryRequirements::size member in memory, starting from memoryOffset bytes, will be bound to the specified image. /// [FieldOffset(32)] public ByteSize64 MemoryOffset; } }