Class Matrixn

java.lang.Object
overrungl.joml.Matrixn

public final class Matrixn extends Object
Matrixn relies on preview features of the Java platform:
Programs can only use Matrixn when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
The matrix-to-native-memory util.
Since:
0.1.0
Author:
squid233
  • Field Details

  • Method Details

    • allocate

      public static MemorySegmentPREVIEW allocate(SegmentAllocatorPREVIEW allocator, org.joml.Matrix2fc mat)
      Allocates the matrix.
      Parameters:
      allocator - the segment allocator.
      mat - the matrix.
      Returns:
      the segment.
    • allocate

      public static MemorySegmentPREVIEW allocate(SegmentAllocatorPREVIEW allocator, org.joml.Matrix2dc mat)
      Allocates the matrix.
      Parameters:
      allocator - the segment allocator.
      mat - the matrix.
      Returns:
      the segment.
    • allocate

      public static MemorySegmentPREVIEW allocate(SegmentAllocatorPREVIEW allocator, org.joml.Matrix3x2fc mat)
      Allocates the matrix.
      Parameters:
      allocator - the segment allocator.
      mat - the matrix.
      Returns:
      the segment.
    • allocate

      public static MemorySegmentPREVIEW allocate(SegmentAllocatorPREVIEW allocator, org.joml.Matrix3x2dc mat)
      Allocates the matrix.
      Parameters:
      allocator - the segment allocator.
      mat - the matrix.
      Returns:
      the segment.
    • allocate

      public static MemorySegmentPREVIEW allocate(SegmentAllocatorPREVIEW allocator, org.joml.Matrix3fc mat)
      Allocates the matrix.
      Parameters:
      allocator - the segment allocator.
      mat - the matrix.
      Returns:
      the segment.
    • allocate

      public static MemorySegmentPREVIEW allocate(SegmentAllocatorPREVIEW allocator, org.joml.Matrix3dc mat)
      Allocates the matrix.
      Parameters:
      allocator - the segment allocator.
      mat - the matrix.
      Returns:
      the segment.
    • allocate

      public static MemorySegmentPREVIEW allocate(SegmentAllocatorPREVIEW allocator, org.joml.Matrix4x3fc mat)
      Allocates the matrix.
      Parameters:
      allocator - the segment allocator.
      mat - the matrix.
      Returns:
      the segment.
    • allocate

      public static MemorySegmentPREVIEW allocate(SegmentAllocatorPREVIEW allocator, org.joml.Matrix4x3dc mat)
      Allocates the matrix.
      Parameters:
      allocator - the segment allocator.
      mat - the matrix.
      Returns:
      the segment.
    • allocate

      public static MemorySegmentPREVIEW allocate(SegmentAllocatorPREVIEW allocator, org.joml.Matrix4fc mat)
      Allocates the matrix.
      Parameters:
      allocator - the segment allocator.
      mat - the matrix.
      Returns:
      the segment.
    • allocate

      public static MemorySegmentPREVIEW allocate(SegmentAllocatorPREVIEW allocator, org.joml.Matrix4dc mat)
      Allocates the matrix.
      Parameters:
      allocator - the segment allocator.
      mat - the matrix.
      Returns:
      the segment.
    • malloc

      public static MemorySegmentPREVIEW malloc(org.joml.Matrix2fc mat)
      Allocates the matrix by C memory function.
      Parameters:
      mat - the matrix
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(org.joml.Matrix2dc mat)
      Allocates the matrix by C memory function.
      Parameters:
      mat - the matrix
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(org.joml.Matrix3x2fc mat)
      Allocates the matrix by C memory function.
      Parameters:
      mat - the matrix
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(org.joml.Matrix3x2dc mat)
      Allocates the matrix by C memory function.
      Parameters:
      mat - the matrix
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(org.joml.Matrix3fc mat)
      Allocates the matrix by C memory function.
      Parameters:
      mat - the matrix
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(org.joml.Matrix3dc mat)
      Allocates the matrix by C memory function.
      Parameters:
      mat - the matrix
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(org.joml.Matrix4x3fc mat)
      Allocates the matrix by C memory function.
      Parameters:
      mat - the matrix
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(org.joml.Matrix4x3dc mat)
      Allocates the matrix by C memory function.
      Parameters:
      mat - the matrix
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(org.joml.Matrix4fc mat)
      Allocates the matrix by C memory function.
      Parameters:
      mat - the matrix
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(org.joml.Matrix4dc mat)
      Allocates the matrix by C memory function.
      Parameters:
      mat - the matrix
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(MemoryStackPREVIEW stack, org.joml.Matrix2fc mat)
      Allocates the matrix on stack.
      Parameters:
      stack - the memory stack
      mat - the matrix
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(MemoryStackPREVIEW stack, org.joml.Matrix2dc mat)
      Allocates the matrix on stack.
      Parameters:
      stack - the memory stack
      mat - the matrix
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(MemoryStackPREVIEW stack, org.joml.Matrix3x2fc mat)
      Allocates the matrix on stack.
      Parameters:
      stack - the memory stack
      mat - the matrix
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(MemoryStackPREVIEW stack, org.joml.Matrix3x2dc mat)
      Allocates the matrix on stack.
      Parameters:
      stack - the memory stack
      mat - the matrix
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(MemoryStackPREVIEW stack, org.joml.Matrix3fc mat)
      Allocates the matrix on stack.
      Parameters:
      stack - the memory stack
      mat - the matrix
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(MemoryStackPREVIEW stack, org.joml.Matrix3dc mat)
      Allocates the matrix on stack.
      Parameters:
      stack - the memory stack
      mat - the matrix
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(MemoryStackPREVIEW stack, org.joml.Matrix4x3fc mat)
      Allocates the matrix on stack.
      Parameters:
      stack - the memory stack
      mat - the matrix
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(MemoryStackPREVIEW stack, org.joml.Matrix4x3dc mat)
      Allocates the matrix on stack.
      Parameters:
      stack - the memory stack
      mat - the matrix
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(MemoryStackPREVIEW stack, org.joml.Matrix4fc mat)
      Allocates the matrix on stack.
      Parameters:
      stack - the memory stack
      mat - the matrix
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(MemoryStackPREVIEW stack, org.joml.Matrix4dc mat)
      Allocates the matrix on stack.
      Parameters:
      stack - the memory stack
      mat - the matrix
      Returns:
      the memory address
    • put

      public static MemorySegmentPREVIEW put(org.joml.Matrix2fc mat, long offset, MemorySegmentPREVIEW dest)
      Puts the matrix at the given offset.
      Parameters:
      mat - the matrix
      offset - the offset
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Matrix2dc mat, long offset, MemorySegmentPREVIEW dest)
      Puts the matrix at the given offset.
      Parameters:
      mat - the matrix
      offset - the offset
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Matrix3x2fc mat, long offset, MemorySegmentPREVIEW dest)
      Puts the matrix at the given offset.
      Parameters:
      mat - the matrix
      offset - the offset
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Matrix3x2dc mat, long offset, MemorySegmentPREVIEW dest)
      Puts the matrix at the given offset.
      Parameters:
      mat - the matrix
      offset - the offset
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Matrix3fc mat, long offset, MemorySegmentPREVIEW dest)
      Puts the matrix at the given offset.
      Parameters:
      mat - the matrix
      offset - the offset
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Matrix3dc mat, long offset, MemorySegmentPREVIEW dest)
      Puts the matrix at the given offset.
      Parameters:
      mat - the matrix
      offset - the offset
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Matrix4x3fc mat, long offset, MemorySegmentPREVIEW dest)
      Puts the matrix at the given offset.
      Parameters:
      mat - the matrix
      offset - the offset
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Matrix4x3dc mat, long offset, MemorySegmentPREVIEW dest)
      Puts the matrix at the given offset.
      Parameters:
      mat - the matrix
      offset - the offset
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Matrix4fc mat, long offset, MemorySegmentPREVIEW dest)
      Puts the matrix at the given offset.
      Parameters:
      mat - the matrix
      offset - the offset
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Matrix4dc mat, long offset, MemorySegmentPREVIEW dest)
      Puts the matrix at the given offset.
      Parameters:
      mat - the matrix
      offset - the offset
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Matrix2fc mat, MemorySegmentPREVIEW dest)
      Puts the matrix.
      Parameters:
      mat - the matrix
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Matrix2dc mat, MemorySegmentPREVIEW dest)
      Puts the matrix.
      Parameters:
      mat - the matrix
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Matrix3x2fc mat, MemorySegmentPREVIEW dest)
      Puts the matrix.
      Parameters:
      mat - the matrix
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Matrix3x2dc mat, MemorySegmentPREVIEW dest)
      Puts the matrix.
      Parameters:
      mat - the matrix
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Matrix3fc mat, MemorySegmentPREVIEW dest)
      Puts the matrix.
      Parameters:
      mat - the matrix
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Matrix3dc mat, MemorySegmentPREVIEW dest)
      Puts the matrix.
      Parameters:
      mat - the matrix
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Matrix4x3fc mat, MemorySegmentPREVIEW dest)
      Puts the matrix.
      Parameters:
      mat - the matrix
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Matrix4x3dc mat, MemorySegmentPREVIEW dest)
      Puts the matrix.
      Parameters:
      mat - the matrix
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Matrix4fc mat, MemorySegmentPREVIEW dest)
      Puts the matrix.
      Parameters:
      mat - the matrix
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Matrix4dc mat, MemorySegmentPREVIEW dest)
      Puts the matrix.
      Parameters:
      mat - the matrix
      dest - the destination
      Returns:
      the destination