class new in Git master
#include <Magnum/Vk/Image.h>
CopyBufferToImageInfo2D Convenience constructor for a buffer to 2D image copy command.
Compared to the base CopyBufferToImageInfo constructor accepts a list of BufferImageCopy2D convenience structures that are more suited for copying 2D images. See Copying image data for example usage of these convenience classes.
Base classes
- class CopyBufferToImageInfo new in Git master
- Buffer to image copy command.
Constructors, destructors, conversion operators
-
CopyBufferToImageInfo2D(VkBuffer source,
VkImage destination,
ImageLayout destinationLayout,
Containers::
ArrayView<const BufferImageCopy2D> regions) - Constructor.
-
CopyBufferToImageInfo2D(VkBuffer source,
VkImage destination,
ImageLayout destinationLayout,
std::
initializer_list<BufferImageCopy2D> regions)
Function documentation
Magnum:: Vk:: CopyBufferToImageInfo2D:: CopyBufferToImageInfo2D(VkBuffer source,
VkImage destination,
ImageLayout destinationLayout,
std:: initializer_list<BufferImageCopy2D> regions)
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.