Class VkApplicationInfo.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<VkApplicationInfo>, NativeResource, Pointer
Enclosing class:
VkApplicationInfo

public static class VkApplicationInfo.Buffer extends StructBuffer<VkApplicationInfo,VkApplicationInfo.Buffer> implements NativeResource
An array of VkApplicationInfo structs.
  • Constructor Details

    • Buffer

      public Buffer(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 Details

    • sType

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

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

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

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

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

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

      public @Nullable String pEngineNameString()
      Returns:
      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.
    • sType

      public VkApplicationInfo.Buffer sType(int value)
      Sets the specified value to the sType field.
    • sType$Default

      public VkApplicationInfo.Buffer sType$Default()
      Sets the STRUCTURE_TYPE_APPLICATION_INFO value to the sType field.
    • pNext

      public VkApplicationInfo.Buffer pNext(long value)
      Sets the specified value to the pNext field.
    • pApplicationName

      public VkApplicationInfo.Buffer pApplicationName(@Nullable 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 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.