namespace Brutal.VulkanApi { /// /// VkPhysicalDeviceImageDrmFormatModifierInfoEXT - Structure specifying a DRM format modifier as image creation parameter /// /// /// /// To query the image capabilities that are compatible with a /// Linux DRM format modifier^, set /// VkPhysicalDeviceImageFormatInfo2::tiling to /// VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT and add a /// VkPhysicalDeviceImageDrmFormatModifierInfoEXT structure to the /// pNext chain of VkPhysicalDeviceImageFormatInfo2. /// /// /// The VkPhysicalDeviceImageDrmFormatModifierInfoEXT structure is defined /// as: /// /// /// // Provided by VK_EXT_image_drm_format_modifier /// typedef struct VkPhysicalDeviceImageDrmFormatModifierInfoEXT { /// VkStructureType sType; /// const void* pNext; /// uint64_t drmFormatModifier; /// VkSharingMode sharingMode; /// uint32_t queueFamilyIndexCount; /// const uint32_t* pQueueFamilyIndices; /// } VkPhysicalDeviceImageDrmFormatModifierInfoEXT; /// /// [StructLayout(LayoutKind.Explicit, Size = 40)] public unsafe partial struct VkPhysicalDeviceImageDrmFormatModifierInfoEXT() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.PhysicalDeviceImageDrmFormatModifierInfoEXT; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// DrmFormatModifier is the image's Linux DRM format modifier, corresponding to VkImageDrmFormatModifierExplicitCreateInfoEXT::drmFormatModifier or to VkImageDrmFormatModifierListCreateInfoEXT::pDrmFormatModifiers. /// [FieldOffset(16)] public nint DrmFormatModifier; /// /// SharingMode specifies how the image will be accessed by multiple queue families. /// [FieldOffset(24)] public VkSharingMode SharingMode; /// /// QueueFamilyIndexCount is the number of entries in the pQueueFamilyIndices array. /// [FieldOffset(28)] public int QueueFamilyIndexCount; /// /// QueueFamilyIndices is a pointer to an array of queue families that will access the image. It is ignored if sharingMode is not VK_SHARING_MODE_CONCURRENT. /// [FieldOffset(32)] public int* QueueFamilyIndices; } }