class new in Git master
#include <Magnum/Vk/ImageCreateInfo.h>
ImageCreateInfo2DArray Convenience constructor for 2D array images.
Compared to the base ImageCreateInfo constructor creates an image of type VK_size
component set to 1
and layers
set to size.z()
. You can use both ImageViewCreateInfo2D, ImageViewCreateInfo2DArray for view creation and if you set Flag::
Note that same as with the ImageCreateInfo::
Base classes
- class ImageCreateInfo new in Git master
- Image creation info.
Constructors, destructors, conversion operators
-
ImageCreateInfo2DArray(ImageUsages usages,
PixelFormat format,
const Vector3i& size,
Int levels,
Int samples = 1,
ImageLayout initialLayout = ImageLayout::
Undefined, Flags flags = {}) explicit - Constructor.
-
ImageCreateInfo2DArray(ImageUsages usages,
Magnum::
PixelFormat format, const Vector3i& size, Int levels, Int samples = 1, ImageLayout initialLayout = ImageLayout:: Undefined, Flags flags = {}) explicit -
ImageCreateInfo2DArray(ImageUsages usages,
Magnum::
CompressedPixelFormat format, const Vector3i& size, Int levels, Int samples = 1, ImageLayout initialLayout = ImageLayout:: Undefined, Flags flags = {}) explicit - ImageCreateInfo2DArray(ImageUsages usages, PixelFormat format, const Vector3i& size, Int levels, Int samples, Flags flags) explicit
-
ImageCreateInfo2DArray(ImageUsages usages,
Magnum::
PixelFormat format, const Vector3i& size, Int levels, Int samples, Flags flags) explicit -
ImageCreateInfo2DArray(ImageUsages usages,
Magnum::
CompressedPixelFormat format, const Vector3i& size, Int levels, Int samples, Flags flags) explicit
Function documentation
Magnum:: Vk:: ImageCreateInfo2DArray:: ImageCreateInfo2DArray(ImageUsages usages,
Magnum:: PixelFormat format,
const Vector3i& size,
Int levels,
Int samples = 1,
ImageLayout initialLayout = ImageLayout:: Undefined,
Flags flags = {}) explicit
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Magnum:: Vk:: ImageCreateInfo2DArray:: ImageCreateInfo2DArray(ImageUsages usages,
Magnum:: CompressedPixelFormat format,
const Vector3i& size,
Int levels,
Int samples = 1,
ImageLayout initialLayout = ImageLayout:: Undefined,
Flags flags = {}) explicit
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Magnum:: Vk:: ImageCreateInfo2DArray:: ImageCreateInfo2DArray(ImageUsages usages,
PixelFormat format,
const Vector3i& size,
Int levels,
Int samples,
Flags flags) explicit
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Equivalent to the above with initialLayout
set to ImageLayout::
Magnum:: Vk:: ImageCreateInfo2DArray:: ImageCreateInfo2DArray(ImageUsages usages,
Magnum:: PixelFormat format,
const Vector3i& size,
Int levels,
Int samples,
Flags flags) explicit
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Magnum:: Vk:: ImageCreateInfo2DArray:: ImageCreateInfo2DArray(ImageUsages usages,
Magnum:: CompressedPixelFormat format,
const Vector3i& size,
Int levels,
Int samples,
Flags flags) explicit
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.