class new in Git master
#include <Magnum/Vk/Image.h>
CopyImageToBufferInfo2D Convenience constructor for a 2D image to buffer copy command.
Compared to the base CopyImageToBufferInfo 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 CopyImageToBufferInfo new in Git master
- Image to buffer copy command.
Constructors, destructors, conversion operators
-
CopyImageToBufferInfo2D(VkImage source,
ImageLayout sourceLayout,
VkBuffer destination,
Containers::
ArrayView<const BufferImageCopy2D> regions) - Constructor.
-
CopyImageToBufferInfo2D(VkImage source,
ImageLayout sourceLayout,
VkBuffer destination,
std::
initializer_list<BufferImageCopy2D> regions)
Function documentation
Magnum:: Vk:: CopyImageToBufferInfo2D:: CopyImageToBufferInfo2D(VkImage source,
ImageLayout sourceLayout,
VkBuffer destination,
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.