namespace Brutal.VulkanApi { /// /// VkImageSubresource - Structure specifying an image subresource /// /// /// /// The VkImageSubresource structure is defined as: /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkImageSubresource { /// VkImageAspectFlags aspectMask; /// uint32_t mipLevel; /// uint32_t arrayLayer; /// } VkImageSubresource; /// /// [StructLayout(LayoutKind.Explicit, Size = 12)] public partial struct VkImageSubresource() { /// /// AspectMask is a VkImageAspectFlags value selecting the image aspect. /// [FieldOffset(0)] public VkImageAspectFlags AspectMask; /// /// MipLevel selects the mipmap level. /// [FieldOffset(4)] public int MipLevel; /// /// ArrayLayer selects the array layer. /// [FieldOffset(8)] public int ArrayLayer; } }