namespace Brutal.VulkanApi { /// /// VkDeviceMemoryImageCopyKHR - Structure specifying a copy operation between a memory range and texels in an image /// /// /// /// :refpage: VkDeviceMemoryImageCopyKHR /// /// /// The VkDeviceMemoryImageCopyKHR structure is defined as: /// /// /// // Provided by VK_KHR_device_address_commands /// typedef struct VkDeviceMemoryImageCopyKHR { /// VkStructureType sType; /// const void* pNext; /// VkDeviceAddressRangeKHR addressRange; /// VkAddressCommandFlagsKHR addressFlags; /// uint32_t addressRowLength; /// uint32_t addressImageHeight; /// VkImageSubresourceLayers imageSubresource; /// VkImageLayout imageLayout; /// VkOffset3D imageOffset; /// VkExtent3D imageExtent; /// } VkDeviceMemoryImageCopyKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 88)] public unsafe partial struct VkDeviceMemoryImageCopyKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.DeviceMemoryImageCopyKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// AddressRange is a VkDeviceAddressRangeKHR structure defining the address range accessed by the copy operation. /// [FieldOffset(16)] public VkDeviceAddressRangeKHR AddressRange; /// /// AddressFlags is a VkAddressCommandFlagsKHR value defining the copy flags for the source address range. /// [FieldOffset(32)] public VkAddressCommandFlagsKHR AddressFlags; /// /// AddressRowLength specifies the total number of texels in the address range representing a row of texels in the x dimension. Each new row of pixels in the copy will be read at an offset increment by this number of texels. /// [FieldOffset(36)] public int AddressRowLength; /// /// AddressImageHeight specifies the total number of rows of texels in the address range representing a 2D slice of texels in the x and y dimensions. Each new 2D slice of pixels in the copy will be read at an offset increment by this number of rows of texels. /// [FieldOffset(40)] public int AddressImageHeight; /// /// ImageSubresource is a VkImageSubresourceLayers used to specify the specific image subresources of the image used for the source or destination image data. /// [FieldOffset(44)] public VkImageSubresourceLayers ImageSubresource; /// /// ImageLayout is the VkImageLayout of the image subresource accessed by this copy. /// [FieldOffset(60)] public VkImageLayout ImageLayout; /// /// ImageOffset selects the initial x, y, z offsets in texels of the sub-region of the source or destination image data. /// [FieldOffset(64)] public VkOffset3D ImageOffset; /// /// ImageExtent is the size in texels of the image to copy in width, height and depth. /// [FieldOffset(76)] public VkExtent3D ImageExtent; } }