namespace Brutal.VulkanApi { /// /// VkDisplayPropertiesKHR - Structure describing an available display device /// /// /// /// The VkDisplayPropertiesKHR structure is defined as: /// /// /// // Provided by VK_KHR_display /// typedef struct VkDisplayPropertiesKHR { /// VkDisplayKHR display; /// const char* displayName; /// VkExtent2D physicalDimensions; /// VkExtent2D physicalResolution; /// VkSurfaceTransformFlagsKHR supportedTransforms; /// VkBool32 planeReorderPossible; /// VkBool32 persistentContent; /// } VkDisplayPropertiesKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 48)] public unsafe partial struct VkDisplayPropertiesKHR() { /// /// Display is a handle that is used to refer to the display described here. This handle will be valid for the lifetime of the Vulkan instance. /// [FieldOffset(0)] public VkDisplayKHR Display; /// /// DisplayName is `NULL` or a pointer to a null-terminated UTF-8 string containing the name of the display. Generally, this will be the name provided by the display's EDID. If `NULL`, no suitable name is available. If not `NULL`, the string pointed to must remain accessible and unmodified as long as display is valid. /// [FieldOffset(8)] public byte* DisplayName; /// /// PhysicalDimensions describes the physical width and height of the visible portion of the display, in millimeters. /// [FieldOffset(16)] public VkExtent2D PhysicalDimensions; /// /// PhysicalResolution describes the physical, native, or preferred resolution of the display. /// [FieldOffset(24)] public VkExtent2D PhysicalResolution; /// /// SupportedTransforms /// [FieldOffset(32)] public VkSurfaceTransformFlagsKHR SupportedTransforms; /// /// PlaneReorderPossible /// [FieldOffset(36)] public Brutal.Bool32 PlaneReorderPossible; /// /// PersistentContent /// [FieldOffset(40)] public Brutal.Bool32 PersistentContent; } }