Class VkPhysicalDeviceDriverPropertiesKHR

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

    public class VkPhysicalDeviceDriverPropertiesKHR
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Structure containing driver identification information.
    Description

    driverID must be immutable for a given driver across instances, processes, driver versions, and system reboots.

    Valid Usage (Implicit)
    See Also

    VkConformanceVersionKHR

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension specific structure.
    • driverID – a unique identifier for the driver of the physical device.
    • driverName[VK_MAX_DRIVER_NAME_SIZE_KHR] – a null-terminated UTF-8 string containing the name of the driver.
    • driverInfo[VK_MAX_DRIVER_INFO_SIZE_KHR] – a null-terminated UTF-8 string containing additional information about the driver.
    • conformanceVersion – the version of the Vulkan conformance test this driver is conformant against (see VkConformanceVersionKHR).

    Layout

    
     struct VkPhysicalDeviceDriverPropertiesKHR {
         VkStructureType sType;
         void * pNext;
         VkDriverIdKHR driverID;
         char driverName[VK_MAX_DRIVER_NAME_SIZE_KHR];
         char driverInfo[VK_MAX_DRIVER_INFO_SIZE_KHR];
         VkConformanceVersionKHR conformanceVersion;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, DRIVERID, DRIVERNAME, DRIVERINFO, CONFORMANCEVERSION

        The struct member offsets.
    • Constructor Detail

      • VkPhysicalDeviceDriverPropertiesKHR

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