namespace Brutal.VulkanApi { /// /// VkDescriptorImageInfo - Structure specifying descriptor image information /// /// /// /// The VkDescriptorImageInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkDescriptorImageInfo { /// VkSampler sampler; /// VkImageView imageView; /// VkImageLayout imageLayout; /// } VkDescriptorImageInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 24)] public partial struct VkDescriptorImageInfo() { /// /// Sampler is a sampler handle, and is used in descriptor updates for types VK_DESCRIPTOR_TYPE_SAMPLER and VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER if the binding being updated does not use immutable samplers. /// [FieldOffset(0)] public VkSampler Sampler; /// /// ImageView is an image view handle, and is used in descriptor updates for types VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, and VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT. /// [FieldOffset(8)] public VkImageView ImageView; /// /// ImageLayout is the layout that the image subresources accessible from imageView will be in at the time this descriptor is accessed. imageLayout is used in descriptor updates for types VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, and VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT. /// [FieldOffset(16)] public VkImageLayout ImageLayout; } }