Class VkSRTDataNV

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VkSRTDataNV extends Struct<VkSRTDataNV> implements NativeResource

 struct VkSRTDataNV {
     float sx;
     float a;
     float b;
     float pvx;
     float sy;
     float c;
     float pvy;
     float sz;
     float pvz;
     float qx;
     float qy;
     float qz;
     float qw;
     float tx;
     float ty;
     float tz;
 }
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    An array of VkSRTDataNV structs.

    Nested classes/interfaces inherited from class org.lwjgl.system.Struct

    Struct.StructValidation

    Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer

    Pointer.Default
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The struct member offsets.
    static final int
    The struct alignment in bytes.
    static final int
    The struct member offsets.
    static final int
    The struct member offsets.
    static final int
    The struct member offsets.
    static final int
    The struct member offsets.
    static final int
    The struct member offsets.
    static final int
    The struct member offsets.
    static final int
    The struct member offsets.
    static final int
    The struct member offsets.
    static final int
    The struct member offsets.
    static final int
    The struct size in bytes.
    static final int
    The struct member offsets.
    static final int
    The struct member offsets.
    static final int
    The struct member offsets.
    static final int
    The struct member offsets.
    static final int
    The struct member offsets.
    static final int
    The struct member offsets.

    Fields inherited from interface org.lwjgl.system.Pointer

    BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a VkSRTDataNV instance at the current position of the specified ByteBuffer container.
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    a()
     
    a(float value)
    Sets the specified value to the a field.
    float
    b()
     
    b(float value)
    Sets the specified value to the b field.
    float
    c()
     
    c(float value)
    Sets the specified value to the c field.
    Returns a new VkSRTDataNV instance allocated with memCalloc.
    calloc(int capacity)
    Returns a new VkSRTDataNV.Buffer instance allocated with memCalloc.
    calloc(int capacity, MemoryStack stack)
    Returns a new VkSRTDataNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
    Returns a new VkSRTDataNV instance allocated on the specified MemoryStack and initializes all its bits to zero.
    Returns a new VkSRTDataNV instance allocated with BufferUtils.
    create(int capacity)
    Returns a new VkSRTDataNV.Buffer instance allocated with BufferUtils.
    create(long address)
    Returns a new VkSRTDataNV instance for the specified memory address.
    create(long address, int capacity)
    Create a VkSRTDataNV.Buffer instance at the specified memory.
    static @Nullable VkSRTDataNV
    createSafe(long address)
    Like create, but returns null if address is NULL.
    static @Nullable VkSRTDataNV.Buffer
    createSafe(long address, int capacity)
    Like create, but returns null if address is NULL.
    Returns a new VkSRTDataNV instance allocated with memAlloc.
    malloc(int capacity)
    Returns a new VkSRTDataNV.Buffer instance allocated with memAlloc.
    malloc(int capacity, MemoryStack stack)
    Returns a new VkSRTDataNV.Buffer instance allocated on the specified MemoryStack.
    Returns a new VkSRTDataNV instance allocated on the specified MemoryStack.
    static float
    na(long struct)
    Unsafe version of a().
    static void
    na(long struct, float value)
    Unsafe version of a.
    static float
    nb(long struct)
    Unsafe version of b().
    static void
    nb(long struct, float value)
    Unsafe version of b.
    static float
    nc(long struct)
    Unsafe version of c().
    static void
    nc(long struct, float value)
    Unsafe version of c.
    static float
    npvx(long struct)
    Unsafe version of pvx().
    static void
    npvx(long struct, float value)
    Unsafe version of pvx.
    static float
    npvy(long struct)
    Unsafe version of pvy().
    static void
    npvy(long struct, float value)
    Unsafe version of pvy.
    static float
    npvz(long struct)
    Unsafe version of pvz().
    static void
    npvz(long struct, float value)
    Unsafe version of pvz.
    static float
    nqw(long struct)
    Unsafe version of qw().
    static void
    nqw(long struct, float value)
    Unsafe version of qw.
    static float
    nqx(long struct)
    Unsafe version of qx().
    static void
    nqx(long struct, float value)
    Unsafe version of qx.
    static float
    nqy(long struct)
    Unsafe version of qy().
    static void
    nqy(long struct, float value)
    Unsafe version of qy.
    static float
    nqz(long struct)
    Unsafe version of qz().
    static void
    nqz(long struct, float value)
    Unsafe version of qz.
    static float
    nsx(long struct)
    Unsafe version of sx().
    static void
    nsx(long struct, float value)
    Unsafe version of sx.
    static float
    nsy(long struct)
    Unsafe version of sy().
    static void
    nsy(long struct, float value)
    Unsafe version of sy.
    static float
    nsz(long struct)
    Unsafe version of sz().
    static void
    nsz(long struct, float value)
    Unsafe version of sz.
    static float
    ntx(long struct)
    Unsafe version of tx().
    static void
    ntx(long struct, float value)
    Unsafe version of tx.
    static float
    nty(long struct)
    Unsafe version of ty().
    static void
    nty(long struct, float value)
    Unsafe version of ty.
    static float
    ntz(long struct)
    Unsafe version of tz().
    static void
    ntz(long struct, float value)
    Unsafe version of tz.
    float
    pvx()
     
    pvx(float value)
    Sets the specified value to the pvx field.
    float
    pvy()
     
    pvy(float value)
    Sets the specified value to the pvy field.
    float
    pvz()
     
    pvz(float value)
    Sets the specified value to the pvz field.
    float
    qw()
     
    qw(float value)
    Sets the specified value to the qw field.
    float
    qx()
     
    qx(float value)
    Sets the specified value to the qx field.
    float
    qy()
     
    qy(float value)
    Sets the specified value to the qy field.
    float
    qz()
     
    qz(float value)
    Sets the specified value to the qz field.
    set(float sx, float a, float b, float pvx, float sy, float c, float pvy, float sz, float pvz, float qx, float qy, float qz, float qw, float tx, float ty, float tz)
    Initializes this struct with the specified values.
    Copies the specified struct data to this struct.
    int
    Returns sizeof(struct).
    float
    sx()
     
    sx(float value)
    Sets the specified value to the sx field.
    float
    sy()
     
    sy(float value)
    Sets the specified value to the sy field.
    float
    sz()
     
    sz(float value)
    Sets the specified value to the sz field.
    float
    tx()
     
    tx(float value)
    Sets the specified value to the tx field.
    float
    ty()
     
    ty(float value)
    Sets the specified value to the ty field.
    float
    tz()
     
    tz(float value)
    Sets the specified value to the tz field.

    Methods inherited from class org.lwjgl.system.Struct

    clear, free, isNull, validate, validate

    Methods inherited from class org.lwjgl.system.Pointer.Default

    address, equals, hashCode, toString

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.lwjgl.system.NativeResource

    close, free
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • SX

      public static final int SX
      The struct member offsets.
    • A

      public static final int A
      The struct member offsets.
    • B

      public static final int B
      The struct member offsets.
    • PVX

      public static final int PVX
      The struct member offsets.
    • SY

      public static final int SY
      The struct member offsets.
    • C

      public static final int C
      The struct member offsets.
    • PVY

      public static final int PVY
      The struct member offsets.
    • SZ

      public static final int SZ
      The struct member offsets.
    • PVZ

      public static final int PVZ
      The struct member offsets.
    • QX

      public static final int QX
      The struct member offsets.
    • QY

      public static final int QY
      The struct member offsets.
    • QZ

      public static final int QZ
      The struct member offsets.
    • QW

      public static final int QW
      The struct member offsets.
    • TX

      public static final int TX
      The struct member offsets.
    • TY

      public static final int TY
      The struct member offsets.
    • TZ

      public static final int TZ
      The struct member offsets.
  • Constructor Details

    • VkSRTDataNV

      public VkSRTDataNV(ByteBuffer container)
      Creates a VkSRTDataNV instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details

    • sizeof

      public int sizeof()
      Description copied from class: Struct
      Returns sizeof(struct).
      Specified by:
      sizeof in class Struct<VkSRTDataNV>
    • sx

      public float sx()
      Returns:
      the value of the sx field.
    • a

      public float a()
      Returns:
      the value of the a field.
    • b

      public float b()
      Returns:
      the value of the b field.
    • pvx

      public float pvx()
      Returns:
      the value of the pvx field.
    • sy

      public float sy()
      Returns:
      the value of the sy field.
    • c

      public float c()
      Returns:
      the value of the c field.
    • pvy

      public float pvy()
      Returns:
      the value of the pvy field.
    • sz

      public float sz()
      Returns:
      the value of the sz field.
    • pvz

      public float pvz()
      Returns:
      the value of the pvz field.
    • qx

      public float qx()
      Returns:
      the value of the qx field.
    • qy

      public float qy()
      Returns:
      the value of the qy field.
    • qz

      public float qz()
      Returns:
      the value of the qz field.
    • qw

      public float qw()
      Returns:
      the value of the qw field.
    • tx

      public float tx()
      Returns:
      the value of the tx field.
    • ty

      public float ty()
      Returns:
      the value of the ty field.
    • tz

      public float tz()
      Returns:
      the value of the tz field.
    • sx

      public VkSRTDataNV sx(float value)
      Sets the specified value to the sx field.
    • a

      public VkSRTDataNV a(float value)
      Sets the specified value to the a field.
    • b

      public VkSRTDataNV b(float value)
      Sets the specified value to the b field.
    • pvx

      public VkSRTDataNV pvx(float value)
      Sets the specified value to the pvx field.
    • sy

      public VkSRTDataNV sy(float value)
      Sets the specified value to the sy field.
    • c

      public VkSRTDataNV c(float value)
      Sets the specified value to the c field.
    • pvy

      public VkSRTDataNV pvy(float value)
      Sets the specified value to the pvy field.
    • sz

      public VkSRTDataNV sz(float value)
      Sets the specified value to the sz field.
    • pvz

      public VkSRTDataNV pvz(float value)
      Sets the specified value to the pvz field.
    • qx

      public VkSRTDataNV qx(float value)
      Sets the specified value to the qx field.
    • qy

      public VkSRTDataNV qy(float value)
      Sets the specified value to the qy field.
    • qz

      public VkSRTDataNV qz(float value)
      Sets the specified value to the qz field.
    • qw

      public VkSRTDataNV qw(float value)
      Sets the specified value to the qw field.
    • tx

      public VkSRTDataNV tx(float value)
      Sets the specified value to the tx field.
    • ty

      public VkSRTDataNV ty(float value)
      Sets the specified value to the ty field.
    • tz

      public VkSRTDataNV tz(float value)
      Sets the specified value to the tz field.
    • set

      public VkSRTDataNV set(float sx, float a, float b, float pvx, float sy, float c, float pvy, float sz, float pvz, float qx, float qy, float qz, float qw, float tx, float ty, float tz)
      Initializes this struct with the specified values.
    • set

      public VkSRTDataNV set(VkSRTDataNV src)
      Copies the specified struct data to this struct.
      Parameters:
      src - the source struct
      Returns:
      this struct
    • malloc

      public static VkSRTDataNV malloc()
      Returns a new VkSRTDataNV instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

      public static VkSRTDataNV calloc()
      Returns a new VkSRTDataNV instance allocated with memCalloc. The instance must be explicitly freed.
    • create

      public static VkSRTDataNV create()
      Returns a new VkSRTDataNV instance allocated with BufferUtils.
    • create

      public static VkSRTDataNV create(long address)
      Returns a new VkSRTDataNV instance for the specified memory address.
    • createSafe

      public static @Nullable VkSRTDataNV createSafe(long address)
      Like create, but returns null if address is NULL.
    • malloc

      public static VkSRTDataNV.Buffer malloc(int capacity)
      Returns a new VkSRTDataNV.Buffer instance allocated with memAlloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • calloc

      public static VkSRTDataNV.Buffer calloc(int capacity)
      Returns a new VkSRTDataNV.Buffer instance allocated with memCalloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • create

      public static VkSRTDataNV.Buffer create(int capacity)
      Returns a new VkSRTDataNV.Buffer instance allocated with BufferUtils.
      Parameters:
      capacity - the buffer capacity
    • create

      public static VkSRTDataNV.Buffer create(long address, int capacity)
      Create a VkSRTDataNV.Buffer instance at the specified memory.
      Parameters:
      address - the memory address
      capacity - the buffer capacity
    • createSafe

      public static @Nullable VkSRTDataNV.Buffer createSafe(long address, int capacity)
      Like create, but returns null if address is NULL.
    • malloc

      public static VkSRTDataNV malloc(MemoryStack stack)
      Returns a new VkSRTDataNV instance allocated on the specified MemoryStack.
      Parameters:
      stack - the stack from which to allocate
    • calloc

      public static VkSRTDataNV calloc(MemoryStack stack)
      Returns a new VkSRTDataNV instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      stack - the stack from which to allocate
    • malloc

      public static VkSRTDataNV.Buffer malloc(int capacity, MemoryStack stack)
      Returns a new VkSRTDataNV.Buffer instance allocated on the specified MemoryStack.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • calloc

      public static VkSRTDataNV.Buffer calloc(int capacity, MemoryStack stack)
      Returns a new VkSRTDataNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • nsx

      public static float nsx(long struct)
      Unsafe version of sx().
    • na

      public static float na(long struct)
      Unsafe version of a().
    • nb

      public static float nb(long struct)
      Unsafe version of b().
    • npvx

      public static float npvx(long struct)
      Unsafe version of pvx().
    • nsy

      public static float nsy(long struct)
      Unsafe version of sy().
    • nc

      public static float nc(long struct)
      Unsafe version of c().
    • npvy

      public static float npvy(long struct)
      Unsafe version of pvy().
    • nsz

      public static float nsz(long struct)
      Unsafe version of sz().
    • npvz

      public static float npvz(long struct)
      Unsafe version of pvz().
    • nqx

      public static float nqx(long struct)
      Unsafe version of qx().
    • nqy

      public static float nqy(long struct)
      Unsafe version of qy().
    • nqz

      public static float nqz(long struct)
      Unsafe version of qz().
    • nqw

      public static float nqw(long struct)
      Unsafe version of qw().
    • ntx

      public static float ntx(long struct)
      Unsafe version of tx().
    • nty

      public static float nty(long struct)
      Unsafe version of ty().
    • ntz

      public static float ntz(long struct)
      Unsafe version of tz().
    • nsx

      public static void nsx(long struct, float value)
      Unsafe version of sx.
    • na

      public static void na(long struct, float value)
      Unsafe version of a.
    • nb

      public static void nb(long struct, float value)
      Unsafe version of b.
    • npvx

      public static void npvx(long struct, float value)
      Unsafe version of pvx.
    • nsy

      public static void nsy(long struct, float value)
      Unsafe version of sy.
    • nc

      public static void nc(long struct, float value)
      Unsafe version of c.
    • npvy

      public static void npvy(long struct, float value)
      Unsafe version of pvy.
    • nsz

      public static void nsz(long struct, float value)
      Unsafe version of sz.
    • npvz

      public static void npvz(long struct, float value)
      Unsafe version of pvz.
    • nqx

      public static void nqx(long struct, float value)
      Unsafe version of qx.
    • nqy

      public static void nqy(long struct, float value)
      Unsafe version of qy.
    • nqz

      public static void nqz(long struct, float value)
      Unsafe version of qz.
    • nqw

      public static void nqw(long struct, float value)
      Unsafe version of qw.
    • ntx

      public static void ntx(long struct, float value)
      Unsafe version of tx.
    • nty

      public static void nty(long struct, float value)
      Unsafe version of ty.
    • ntz

      public static void ntz(long struct, float value)
      Unsafe version of tz.