Class VkPhysicalDeviceDriverPropertiesKHR

  • All Implemented Interfaces:

    public class VkPhysicalDeviceDriverPropertiesKHR
    extends Struct
    Structure containing driver identification information.

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

    Valid Usage (Implicit)
    See Also


    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 – a null-terminated UTF-8 string containing the name of the driver.
    • driverInfo – 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).


     struct VkPhysicalDeviceDriverPropertiesKHR {
         VkStructureType sType;
         void * pNext;
         uint32_t 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.

        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.

    • Method Detail

      • sizeof

        public int sizeof()
        Description copied from class: Struct
        Returns sizeof(struct).
        Specified by:
        sizeof in class Struct
      • sType

        public int sType()
        Returns the value of the sType field.
      • pNext

        public long pNext()
        Returns the value of the pNext field.
      • driverID

        public int driverID()
        Returns the value of the driverID field.
      • driverName

        public java.nio.ByteBuffer driverName()
        Returns a ByteBuffer view of the driverName field.
      • driverNameString

        public java.lang.String driverNameString()
        Decodes the null-terminated string stored in the driverName field.
      • driverInfo

        public java.nio.ByteBuffer driverInfo()
        Returns a ByteBuffer view of the driverInfo field.
      • driverInfoString

        public java.lang.String driverInfoString()
        Decodes the null-terminated string stored in the driverInfo field.
      • nsType

        public static int nsType​(long struct)
        Unsafe version of sType().
      • npNext

        public static long npNext​(long struct)
        Unsafe version of pNext().
      • ndriverID

        public static int ndriverID​(long struct)
        Unsafe version of driverID().
      • ndriverName

        public static java.nio.ByteBuffer ndriverName​(long struct)
        Unsafe version of driverName().
      • ndriverNameString

        public static java.lang.String ndriverNameString​(long struct)
        Unsafe version of driverNameString().
      • ndriverInfo

        public static java.nio.ByteBuffer ndriverInfo​(long struct)
        Unsafe version of driverInfo().
      • ndriverInfoString

        public static java.lang.String ndriverInfoString​(long struct)
        Unsafe version of driverInfoString().
      • nsType

        public static void nsType​(long struct,
                                  int value)
        Unsafe version of sType.
      • npNext

        public static void npNext​(long struct,
                                  long value)
        Unsafe version of pNext.