Class VkApplicationInfo.Buffer

    • Constructor Detail

      • Buffer

        public Buffer​(java.nio.ByteBuffer container)
        Creates a new VkApplicationInfo.Buffer instance backed by the specified container. Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by VkApplicationInfo.SIZEOF, and its mark will be undefined.

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

      • Buffer

        public Buffer​(long address,
                      int cap)
    • Method Detail

      • sType

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

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

        @Nullable
        public java.nio.ByteBuffer pApplicationName()
        Returns a ByteBuffer view of the null-terminated string pointed to by the pApplicationName field.
      • pApplicationNameString

        @Nullable
        public java.lang.String pApplicationNameString()
        Decodes the null-terminated string pointed to by the pApplicationName field.
      • applicationVersion

        public int applicationVersion()
        Returns the value of the applicationVersion field.
      • pEngineName

        @Nullable
        public java.nio.ByteBuffer pEngineName()
        Returns a ByteBuffer view of the null-terminated string pointed to by the pEngineName field.
      • pEngineNameString

        @Nullable
        public java.lang.String pEngineNameString()
        Decodes the null-terminated string pointed to by the pEngineName field.
      • engineVersion

        public int engineVersion()
        Returns the value of the engineVersion field.
      • apiVersion

        public int apiVersion()
        Returns the value of the apiVersion field.
      • pApplicationName

        public VkApplicationInfo.Buffer pApplicationName​(@Nullable
                                                         java.nio.ByteBuffer value)
        Sets the address of the specified encoded string to the pApplicationName field.
      • applicationVersion

        public VkApplicationInfo.Buffer applicationVersion​(int value)
        Sets the specified value to the applicationVersion field.
      • pEngineName

        public VkApplicationInfo.Buffer pEngineName​(@Nullable
                                                    java.nio.ByteBuffer value)
        Sets the address of the specified encoded string to the pEngineName field.
      • engineVersion

        public VkApplicationInfo.Buffer engineVersion​(int value)
        Sets the specified value to the engineVersion field.
      • apiVersion

        public VkApplicationInfo.Buffer apiVersion​(int value)
        Sets the specified value to the apiVersion field.