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

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

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

Base classes

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

Constructors, destructors, conversion operators

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

Function documentation

Magnum::Vk::BufferImageCopy2DArray::BufferImageCopy2DArray(UnsignedLong bufferOffset, ImageAspect imageAspect, Int imageLevel, const Range3Di& imageRange)

Copy tightly packed images.

Equivalent tocalling BufferImageCopy2DArray(UnsignedLong, UnsignedInt, UnsignedInt, ImageAspect, Int, const Range3Di&) with bufferRowLength and bufferImageHeight set to 0.