namespace Brutal.VulkanApi
{
///
/// VkImageFormatProperties - Structure specifying an image format properties
///
///
///
/// The VkImageFormatProperties structure is defined as:
///
///
/// // Provided by VK_VERSION_1_0
/// typedef struct VkImageFormatProperties {
/// VkExtent3D maxExtent;
/// uint32_t maxMipLevels;
/// uint32_t maxArrayLayers;
/// VkSampleCountFlags sampleCounts;
/// VkDeviceSize maxResourceSize;
/// } VkImageFormatProperties;
///
///
[StructLayout(LayoutKind.Explicit, Size = 32)]
public partial struct VkImageFormatProperties()
{
///
/// MaxExtent are the maximum image dimensions. See the Allowed Extent Values^ section below for how these values are constrained by type.
///
[FieldOffset(0)]
public VkExtent3D MaxExtent;
///
/// MaxMipLevels is the maximum number of mipmap levels. maxMipLevels must be equal to the number of levels in the complete mipmap chain based on the maxExtent.width, maxExtent.height, and maxExtent.depth, except when one of the following conditions is true, in which case it may: instead be `1`:
///
[FieldOffset(12)]
public int MaxMipLevels;
///
/// MaxArrayLayers is the maximum number of array layers. maxArrayLayers must be no less than VkPhysicalDeviceLimits::maxImageArrayLayers, except when one of the following conditions is true, in which case it may: instead be `1`:
///
[FieldOffset(16)]
public int MaxArrayLayers;
///
/// SampleCounts is a bitmask of VkSampleCountFlags specifying all the supported sample counts for this image as described below^.
///
[FieldOffset(20)]
public VkSampleCountFlags SampleCounts;
///
/// MaxResourceSize is an upper bound on the total image size in bytes, inclusive of all image subresources. Implementations may: have an address space limit on total size of a resource, which is advertised by this property. maxResourceSize must be at least 2^31^.
///
[FieldOffset(24)]
public ByteSize64 MaxResourceSize;
}
}