Class VkPhysicalDeviceToolProperties

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, NAME, VERSION, PURPOSES, DESCRIPTION, LAYER

        The struct member offsets.
    • Constructor Detail

      • VkPhysicalDeviceToolProperties

        public VkPhysicalDeviceToolProperties​(java.nio.ByteBuffer container)
        Creates a VkPhysicalDeviceToolProperties 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()
        Specified by:
        sizeof in class org.lwjgl.system.Struct
      • sType

        public int sType()
        the type of this structure.
      • pNext

        public long pNext()
        NULL or a pointer to a structure extending this structure.
      • name, nameString

        public java.nio.ByteBuffer name()
        
        public java.lang.String nameString()
        
        a null-terminated UTF-8 string containing the name of the tool.
      • version, versionString

        public java.nio.ByteBuffer version()
        
        public java.lang.String versionString()
        
        a null-terminated UTF-8 string containing the version of the tool.
      • purposes

        public int purposes()
        a bitmask of VkToolPurposeFlagBits which is populated with purposes supported by the tool.
      • description, descriptionString

        public java.nio.ByteBuffer description()
        
        public java.lang.String descriptionString()
        
        a null-terminated UTF-8 string containing a description of the tool.
      • layer, layerString

        public java.nio.ByteBuffer layer()
        
        public java.lang.String layerString()
        
        a null-terminated UTF-8 string containing the name of the layer implementing the tool, if the tool is implemented in a layer - otherwise it may be an empty string.
      • malloc

        public static VkPhysicalDeviceToolProperties malloc()
        Returns a new VkPhysicalDeviceToolProperties instance allocated with memAlloc. The instance must be explicitly freed.
      • calloc

        public static VkPhysicalDeviceToolProperties calloc()
        Returns a new VkPhysicalDeviceToolProperties instance allocated with memCalloc. The instance must be explicitly freed.
      • create

        public static VkPhysicalDeviceToolProperties create​(long address)
        Returns a new VkPhysicalDeviceToolProperties instance for the specified memory address.
      • malloc

        public static VkPhysicalDeviceToolProperties malloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new VkPhysicalDeviceToolProperties instance allocated on the specified MemoryStack.
        Parameters:
        stack - the stack from which to allocate
      • calloc

        public static VkPhysicalDeviceToolProperties calloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new VkPhysicalDeviceToolProperties instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
      • nsType

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

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

        public static java.nio.ByteBuffer nname​(long struct)
        Unsafe version of name().
      • nnameString

        public static java.lang.String nnameString​(long struct)
        Unsafe version of nameString().
      • nversion

        public static java.nio.ByteBuffer nversion​(long struct)
        Unsafe version of version().
      • nversionString

        public static java.lang.String nversionString​(long struct)
        Unsafe version of versionString().
      • npurposes

        public static int npurposes​(long struct)
        Unsafe version of purposes().
      • ndescription

        public static java.nio.ByteBuffer ndescription​(long struct)
        Unsafe version of description().
      • ndescriptionString

        public static java.lang.String ndescriptionString​(long struct)
        Unsafe version of descriptionString().
      • nlayer

        public static java.nio.ByteBuffer nlayer​(long struct)
        Unsafe version of layer().
      • nlayerString

        public static java.lang.String nlayerString​(long struct)
        Unsafe version of layerString().
      • 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.