Class VkDisplayModePropertiesKHR

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

    public class VkDisplayModePropertiesKHR
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Structure describing display mode properties.

    Member documentation

    • displayMode – a handle to the display mode described in this structure. This handle will be valid for the lifetime of the Vulkan instance.
    • parameters – a VkDisplayModeParametersKHR structure describing the display parameters associated with displayMode.

    Layout

    
     struct VkDisplayModePropertiesKHR {
         VkDisplayModeKHR displayMode;
         VkDisplayModeParametersKHR parameters;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • DISPLAYMODE, PARAMETERS

        The struct member offsets.
    • Constructor Detail

      • VkDisplayModePropertiesKHR

        public VkDisplayModePropertiesKHR​(java.nio.ByteBuffer container)
        Creates a VkDisplayModePropertiesKHR instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

        The created instance holds a strong reference to the container object.