namespace Brutal.VulkanApi { /// /// VkImageSubresourceLayers - Structure specifying an image subresource layers /// /// /// /// The VkImageSubresourceLayers structure is defined as: /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkImageSubresourceLayers { /// VkImageAspectFlags aspectMask; /// uint32_t mipLevel; /// uint32_t baseArrayLayer; /// uint32_t layerCount; /// } VkImageSubresourceLayers; /// /// [StructLayout(LayoutKind.Explicit, Size = 16)] public partial struct VkImageSubresourceLayers() { /// /// AspectMask is a combination of VkImageAspectFlags, selecting the color, depth and/or stencil aspects to be copied. /// [FieldOffset(0)] public VkImageAspectFlags AspectMask; /// /// MipLevel is the mipmap level to copy /// [FieldOffset(4)] public int MipLevel; /// /// BaseArrayLayer and layerCount are the starting layer and number of layers to copy. /// [FieldOffset(8)] public int BaseArrayLayer; /// /// LayerCount /// [FieldOffset(12)] public int LayerCount; } }