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

Convenience constructor for buffer / 3D image copy region.

Compared to the base BufferImageCopy constructor sets imageSubresource.baseArrayLayer to 0 and imageSubresource.layerCount to 1.

Base classes

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

Constructors, destructors, conversion operators

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

Function documentation

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

Copy tightly packed images.

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