Magnum::Vk::BufferImageCopy1DArray class new in Git master

Convenience constructor for buffer / 1D array image copy region.

Compared to the base BufferImageCopy constructor sets bufferImageHeight to 0, imageSubresource.baseArrayLayer to imageRange.min().y(), imageSubresource.layerCount to imageRange.sizeY(), Y and Z coordinate of imageOffset to 0 and Y and Z coordinate of imageExtent to 1.

Base classes

class BufferImageCopy new in Git master
Buffer / image copy region.

Constructors, destructors, conversion operators

BufferImageCopy1DArray(UnsignedLong bufferOffset, UnsignedInt bufferRowLength, ImageAspect imageAspect, Int imageLevel, const Range2Di& imageRange)
Constructor.
BufferImageCopy1DArray(UnsignedLong bufferOffset, ImageAspect imageAspect, Int imageLevel, const Range2Di& imageRange)
Copy tightly packed images.

Function documentation

Magnum::Vk::BufferImageCopy1DArray::BufferImageCopy1DArray(UnsignedLong bufferOffset, ImageAspect imageAspect, Int imageLevel, const Range2Di& imageRange)

Copy tightly packed images.

Equivalent to calling BufferImageCopy1DArray(UnsignedLong, UnsignedInt, ImageAspect, Int, const Range2Di&) with bufferRowLength set to 0.