Class VkDisplayModeProperties2KHR

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

    public class VkDisplayModeProperties2KHR
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Structure describing an available display mode.
    Valid Usage (Implicit)
    See Also

    VkDisplayModePropertiesKHR, GetDisplayModeProperties2KHR

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • displayModeProperties – an instance of the VkDisplayModePropertiesKHR structure.

    Layout

    
     struct VkDisplayModeProperties2KHR {
         VkStructureType sType;
         void * pNext;
         VkDisplayModePropertiesKHR displayModeProperties;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, DISPLAYMODEPROPERTIES

        The struct member offsets.
    • Constructor Detail

      • VkDisplayModeProperties2KHR

        public VkDisplayModeProperties2KHR​(java.nio.ByteBuffer container)
        Creates a VkDisplayModeProperties2KHR 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.