namespace Brutal.VulkanApi { /// /// VkImageDrmFormatModifierExplicitCreateInfoEXT - Specify that an image be created with the provided DRM format modifier and explicit memory layout /// /// /// /// If the pNext chain of VkImageCreateInfo includes a /// VkImageDrmFormatModifierExplicitCreateInfoEXT structure, then the /// image will be created with the Linux DRM /// format modifier^ and memory layout defined by the structure. /// /// /// The VkImageDrmFormatModifierExplicitCreateInfoEXT structure is defined /// as: /// /// /// // Provided by VK_EXT_image_drm_format_modifier /// typedef struct VkImageDrmFormatModifierExplicitCreateInfoEXT { /// VkStructureType sType; /// const void* pNext; /// uint64_t drmFormatModifier; /// uint32_t drmFormatModifierPlaneCount; /// const VkSubresourceLayout* pPlaneLayouts; /// } VkImageDrmFormatModifierExplicitCreateInfoEXT; /// /// [StructLayout(LayoutKind.Explicit, Size = 40)] public unsafe partial struct VkImageDrmFormatModifierExplicitCreateInfoEXT() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.ImageDrmFormatModifierExplicitCreateInfoEXT; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// DrmFormatModifier is the Linux DRM format modifier with which the image will be created. /// [FieldOffset(16)] public nint DrmFormatModifier; /// /// DrmFormatModifierPlaneCount is the number of memory planes in the image (as reported by VkDrmFormatModifierPropertiesEXT) as well as the length of the pPlaneLayouts array. /// [FieldOffset(24)] public int DrmFormatModifierPlaneCount; /// /// PlaneLayouts is a pointer to an array of VkSubresourceLayout structures describing the image's memory planes. /// [FieldOffset(32)] public VkSubresourceLayout* PlaneLayouts; } }