87 const VkExtent3D& _extent,
88 unsigned int _mipLevels,
89 unsigned int _arrayLayers,
90 VkSampleCountFlagBits _multisampling,
91 VkImageTiling _tiling,
93 unsigned int _flags );
bool operator==(const ImageInfo &rhs) const
Comparison operator for equality.
std::uint32_t getAspect() const
Retrieves default aspect mask guessed from format.
A structure containing image parameters.
Definition: vppImageInfo.hpp:64
bool operator!=(const ImageInfo &rhs) const
Comparison operator for inequality.
unsigned int mipLevels
Number of levels in a mip-mapped image.
Definition: vppImageInfo.hpp:150
The VPP namespace.
Definition: main.hpp:1
unsigned int usage
Usage flags - bitwise or of EUsageFlags values.
Definition: vppImageInfo.hpp:162
std::uint32_t getDimensions() const
Retrieves the number of image dimensions.
VkImageType getImageType() const
Retrieves Vulkan image type.
Special image created as a part of the swapchain.
Definition: vppImageInfo.hpp:39
VkImageViewType getViewType() const
Retrieves Vulkan view type from image type.
ImageInfo(EImagePurpose _purpose, EImageType _type, VkFormat _format, const VkExtent3D &_extent, unsigned int _mipLevels, unsigned int _arrayLayers, VkSampleCountFlagBits _multisampling, VkImageTiling _tiling, unsigned int _usage, unsigned int _flags)
Constructs an image info with all parameters.
Internally created image for debugging purposes.
Definition: vppImageInfo.hpp:40
VkImageTiling tiling
Image tiling - usually VK_IMAGE_TILING_OPTIMAL.
Definition: vppImageInfo.hpp:159
All images used for normal rendering.
Definition: vppImageInfo.hpp:37
VkFormat format
Image format. A value of Vulkan format enumeration.
Definition: vppImageInfo.hpp:144
unsigned int flags
Additional flags - by default 0.
Definition: vppImageInfo.hpp:165
bool operator<(const ImageInfo &rhs) const
Comparison operator for maps.
VkExtent3D extent
Image size.
Definition: vppImageInfo.hpp:147
EImagePurpose purpose
Overall purpose of an image. Usually RENDER or SWAPCHAIN.
Definition: vppImageInfo.hpp:138
EImagePurpose
Enumeration specifying general purpose of an image.
Definition: vppImageInfo.hpp:35
unsigned int arrayLayers
Number of layers in an arrayed image.
Definition: vppImageInfo.hpp:153
Tags an attachment to be associated with a swapchain image view.
Definition: vppImageInfo.hpp:38
EImageType type
Type of image. Determins the number of dimensions.
Definition: vppImageInfo.hpp:141
VkSampleCountFlagBits multisampling
Number of samples in a multisampled image.
Definition: vppImageInfo.hpp:156