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

Convenience constructor for buffer / 2D image copy region.

Compared to the base BufferImageCopy constructor sets bufferImageHeight to 0, imageSubresource.baseArrayLayer to 0, imageSubresource.layerCount to 1, 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

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

Function documentation

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

Copy tightly packed rows.

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