Class VkCooperativeVectorPropertiesNV.Buffer

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

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

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new VkCooperativeVectorPropertiesNV.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 VkCooperativeVectorPropertiesNV.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.
    • inputType

      public int inputType()
      Returns:
      the value of the inputType field.
    • inputInterpretation

      public int inputInterpretation()
      Returns:
      the value of the inputInterpretation field.
    • matrixInterpretation

      public int matrixInterpretation()
      Returns:
      the value of the matrixInterpretation field.
    • biasInterpretation

      public int biasInterpretation()
      Returns:
      the value of the biasInterpretation field.
    • resultType

      public int resultType()
      Returns:
      the value of the resultType field.
    • transpose

      public boolean transpose()
      Returns:
      the value of the transpose field.
    • sType

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

      Sets the STRUCTURE_TYPE_COOPERATIVE_VECTOR_PROPERTIES_NV value to the sType field.
    • pNext

      public VkCooperativeVectorPropertiesNV.Buffer pNext(long value)
      Sets the specified value to the pNext field.
    • inputType

      public VkCooperativeVectorPropertiesNV.Buffer inputType(int value)
      Sets the specified value to the inputType field.
    • inputInterpretation

      public VkCooperativeVectorPropertiesNV.Buffer inputInterpretation(int value)
      Sets the specified value to the inputInterpretation field.
    • matrixInterpretation

      public VkCooperativeVectorPropertiesNV.Buffer matrixInterpretation(int value)
      Sets the specified value to the matrixInterpretation field.
    • biasInterpretation

      public VkCooperativeVectorPropertiesNV.Buffer biasInterpretation(int value)
      Sets the specified value to the biasInterpretation field.
    • resultType

      public VkCooperativeVectorPropertiesNV.Buffer resultType(int value)
      Sets the specified value to the resultType field.
    • transpose

      public VkCooperativeVectorPropertiesNV.Buffer transpose(boolean value)
      Sets the specified value to the transpose field.