Class AIMatrix3x3.Buffer

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

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

    • Buffer

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

    • a1

      public float a1()
      Returns:
      the value of the a1 field.
    • a2

      public float a2()
      Returns:
      the value of the a2 field.
    • a3

      public float a3()
      Returns:
      the value of the a3 field.
    • b1

      public float b1()
      Returns:
      the value of the b1 field.
    • b2

      public float b2()
      Returns:
      the value of the b2 field.
    • b3

      public float b3()
      Returns:
      the value of the b3 field.
    • c1

      public float c1()
      Returns:
      the value of the c1 field.
    • c2

      public float c2()
      Returns:
      the value of the c2 field.
    • c3

      public float c3()
      Returns:
      the value of the c3 field.
    • a1

      public AIMatrix3x3.Buffer a1(float value)
      Sets the specified value to the a1 field.
    • a2

      public AIMatrix3x3.Buffer a2(float value)
      Sets the specified value to the a2 field.
    • a3

      public AIMatrix3x3.Buffer a3(float value)
      Sets the specified value to the a3 field.
    • b1

      public AIMatrix3x3.Buffer b1(float value)
      Sets the specified value to the b1 field.
    • b2

      public AIMatrix3x3.Buffer b2(float value)
      Sets the specified value to the b2 field.
    • b3

      public AIMatrix3x3.Buffer b3(float value)
      Sets the specified value to the b3 field.
    • c1

      public AIMatrix3x3.Buffer c1(float value)
      Sets the specified value to the c1 field.
    • c2

      public AIMatrix3x3.Buffer c2(float value)
      Sets the specified value to the c2 field.
    • c3

      public AIMatrix3x3.Buffer c3(float value)
      Sets the specified value to the c3 field.