namespace Brutal.VulkanApi
{
///
/// VkImageSubresourceRange - Structure specifying an image subresource range
///
///
///
/// The VkImageSubresourceRange structure is defined as:
///
///
/// // Provided by VK_VERSION_1_0
/// typedef struct VkImageSubresourceRange {
/// VkImageAspectFlags aspectMask;
/// uint32_t baseMipLevel;
/// uint32_t levelCount;
/// uint32_t baseArrayLayer;
/// uint32_t layerCount;
/// } VkImageSubresourceRange;
///
///
[StructLayout(LayoutKind.Explicit, Size = 20)]
public partial struct VkImageSubresourceRange()
{
///
/// AspectMask is a bitmask of VkImageAspectFlags specifying which aspect(s) of the image are included in the view.
///
[FieldOffset(0)]
public VkImageAspectFlags AspectMask;
///
/// BaseMipLevel is the first mipmap level accessible to the view.
///
[FieldOffset(4)]
public int BaseMipLevel;
///
/// LevelCount is the number of mipmap levels (starting from baseMipLevel) accessible to the view.
///
[FieldOffset(8)]
public int LevelCount;
///
/// BaseArrayLayer is the first array layer accessible to the view.
///
[FieldOffset(12)]
public int BaseArrayLayer;
///
/// LayerCount is the number of array layers (starting from baseArrayLayer) accessible to the view.
///
[FieldOffset(16)]
public int LayerCount;
}
}