Class Simd4X4F

java.lang.Object
org.javagi.base.ProxyInstance
org.gnome.graphene.Simd4X4F
All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class Simd4X4F extends ProxyInstance
  • Constructor Details

    • Simd4X4F

      public Simd4X4F(MemorySegment address)
      Create a Simd4X4F proxy instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
    • Simd4X4F

      public Simd4X4F(Arena arena)
      Allocate a new Simd4X4F.
      Parameters:
      arena - to control the memory allocation scope
    • Simd4X4F

      public Simd4X4F()
      Allocate a new Simd4X4F. The memory is allocated with Arena.ofAuto().
    • Simd4X4F

      public Simd4X4F(Simd4F x, Simd4F y, Simd4F z, Simd4F w, Arena arena)
      Allocate a new Simd4X4F with the fields set to the provided values.
      Parameters:
      x - value for the field x
      y - value for the field y
      z - value for the field z
      w - value for the field w
      arena - to control the memory allocation scope
    • Simd4X4F

      public Simd4X4F(Simd4F x, Simd4F y, Simd4F z, Simd4F w)
      Allocate a new Simd4X4F with the fields set to the provided values. The memory is allocated with Arena.ofAuto().
      Parameters:
      x - value for the field x
      y - value for the field y
      z - value for the field z
      w - value for the field w
  • Method Details

    • getMemoryLayout

      public static MemoryLayout getMemoryLayout()
      The memory layout of the native struct.
      Returns:
      the memory layout
    • readX

      public @Nullable Simd4F readX()
      Read the value of the field x.
      Returns:
      The value of the field x
    • writeX

      public void writeX(@Nullable Simd4F x)
      Write a value in the field x.
      Parameters:
      x - The new value for the field x
    • readY

      public @Nullable Simd4F readY()
      Read the value of the field y.
      Returns:
      The value of the field y
    • writeY

      public void writeY(@Nullable Simd4F y)
      Write a value in the field y.
      Parameters:
      y - The new value for the field y
    • readZ

      public @Nullable Simd4F readZ()
      Read the value of the field z.
      Returns:
      The value of the field z
    • writeZ

      public void writeZ(@Nullable Simd4F z)
      Write a value in the field z.
      Parameters:
      z - The new value for the field z
    • readW

      public @Nullable Simd4F readW()
      Read the value of the field w.
      Returns:
      The value of the field w
    • writeW

      public void writeW(@Nullable Simd4F w)
      Write a value in the field w.
      Parameters:
      w - The new value for the field w