namespace Brutal.VulkanApi { /// /// VkImageViewSlicedCreateInfoEXT - Specify the subset of 3D slices of an image view /// /// /// /// The range of 3D slices for the created image view can be restricted to a /// subset of the parent image's Z range by adding a /// VkImageViewSlicedCreateInfoEXT structure to the pNext chain of /// VkImageViewCreateInfo. /// /// /// The VkImageViewSlicedCreateInfoEXT structure is defined as: /// /// /// // Provided by VK_EXT_image_sliced_view_of_3d /// typedef struct VkImageViewSlicedCreateInfoEXT { /// VkStructureType sType; /// const void* pNext; /// uint32_t sliceOffset; /// uint32_t sliceCount; /// } VkImageViewSlicedCreateInfoEXT; /// /// [StructLayout(LayoutKind.Explicit, Size = 24)] public unsafe partial struct VkImageViewSlicedCreateInfoEXT() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.ImageViewSlicedCreateInfoEXT; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// SliceOffset is the Z-offset for the first 3D slice accessible to the image view. /// [FieldOffset(16)] public int SliceOffset; /// /// SliceCount is the number of 3D slices accessible to the image view. /// [FieldOffset(20)] public int SliceCount; } }