Package org.lwjgl.vulkan
Class VkSRTDataNV
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
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 ClassesNested 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
FieldsModifier and TypeFieldDescriptionstatic 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
ConstructorsConstructorDescriptionVkSRTDataNV
(ByteBuffer container) Creates aVkSRTDataNV
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionfloat
a()
a
(float value) Sets the specified value to thea
field.float
b()
b
(float value) Sets the specified value to theb
field.float
c()
c
(float value) Sets the specified value to thec
field.static VkSRTDataNV
calloc()
Returns a newVkSRTDataNV
instance allocated withmemCalloc
.static VkSRTDataNV.Buffer
calloc
(int capacity) Returns a newVkSRTDataNV.Buffer
instance allocated withmemCalloc
.static VkSRTDataNV.Buffer
calloc
(int capacity, MemoryStack stack) Returns a newVkSRTDataNV.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkSRTDataNV
calloc
(MemoryStack stack) Returns a newVkSRTDataNV
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkSRTDataNV
create()
Returns a newVkSRTDataNV
instance allocated withBufferUtils
.static VkSRTDataNV.Buffer
create
(int capacity) Returns a newVkSRTDataNV.Buffer
instance allocated withBufferUtils
.static VkSRTDataNV
create
(long address) Returns a newVkSRTDataNV
instance for the specified memory address.static VkSRTDataNV.Buffer
create
(long address, int capacity) Create aVkSRTDataNV.Buffer
instance at the specified memory.static @Nullable VkSRTDataNV
createSafe
(long address) static @Nullable VkSRTDataNV.Buffer
createSafe
(long address, int capacity) static VkSRTDataNV
malloc()
Returns a newVkSRTDataNV
instance allocated withmemAlloc
.static VkSRTDataNV.Buffer
malloc
(int capacity) Returns a newVkSRTDataNV.Buffer
instance allocated withmemAlloc
.static VkSRTDataNV.Buffer
malloc
(int capacity, MemoryStack stack) Returns a newVkSRTDataNV.Buffer
instance allocated on the specifiedMemoryStack
.static VkSRTDataNV
malloc
(MemoryStack stack) Returns a newVkSRTDataNV
instance allocated on the specifiedMemoryStack
.static float
na
(long struct) Unsafe version ofa()
.static void
na
(long struct, float value) Unsafe version ofa
.static float
nb
(long struct) Unsafe version ofb()
.static void
nb
(long struct, float value) Unsafe version ofb
.static float
nc
(long struct) Unsafe version ofc()
.static void
nc
(long struct, float value) Unsafe version ofc
.static float
npvx
(long struct) Unsafe version ofpvx()
.static void
npvx
(long struct, float value) Unsafe version ofpvx
.static float
npvy
(long struct) Unsafe version ofpvy()
.static void
npvy
(long struct, float value) Unsafe version ofpvy
.static float
npvz
(long struct) Unsafe version ofpvz()
.static void
npvz
(long struct, float value) Unsafe version ofpvz
.static float
nqw
(long struct) Unsafe version ofqw()
.static void
nqw
(long struct, float value) Unsafe version ofqw
.static float
nqx
(long struct) Unsafe version ofqx()
.static void
nqx
(long struct, float value) Unsafe version ofqx
.static float
nqy
(long struct) Unsafe version ofqy()
.static void
nqy
(long struct, float value) Unsafe version ofqy
.static float
nqz
(long struct) Unsafe version ofqz()
.static void
nqz
(long struct, float value) Unsafe version ofqz
.static float
nsx
(long struct) Unsafe version ofsx()
.static void
nsx
(long struct, float value) Unsafe version ofsx
.static float
nsy
(long struct) Unsafe version ofsy()
.static void
nsy
(long struct, float value) Unsafe version ofsy
.static float
nsz
(long struct) Unsafe version ofsz()
.static void
nsz
(long struct, float value) Unsafe version ofsz
.static float
ntx
(long struct) Unsafe version oftx()
.static void
ntx
(long struct, float value) Unsafe version oftx
.static float
nty
(long struct) Unsafe version ofty()
.static void
nty
(long struct, float value) Unsafe version ofty
.static float
ntz
(long struct) Unsafe version oftz()
.static void
ntz
(long struct, float value) Unsafe version oftz
.float
pvx()
pvx
(float value) Sets the specified value to thepvx
field.float
pvy()
pvy
(float value) Sets the specified value to thepvy
field.float
pvz()
pvz
(float value) Sets the specified value to thepvz
field.float
qw()
qw
(float value) Sets the specified value to theqw
field.float
qx()
qx
(float value) Sets the specified value to theqx
field.float
qy()
qy
(float value) Sets the specified value to theqy
field.float
qz()
qz
(float value) Sets the specified value to theqz
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.set
(VkSRTDataNV src) Copies the specified struct data to this struct.int
sizeof()
Returnssizeof(struct)
.float
sx()
sx
(float value) Sets the specified value to thesx
field.float
sy()
sy
(float value) Sets the specified value to thesy
field.float
sz()
sz
(float value) Sets the specified value to thesz
field.float
tx()
tx
(float value) Sets the specified value to thetx
field.float
ty()
ty
(float value) Sets the specified value to thety
field.float
tz()
tz
(float value) Sets the specified value to thetz
field.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
SX
public static final int SXThe struct member offsets. -
A
public static final int AThe struct member offsets. -
B
public static final int BThe struct member offsets. -
PVX
public static final int PVXThe struct member offsets. -
SY
public static final int SYThe struct member offsets. -
C
public static final int CThe struct member offsets. -
PVY
public static final int PVYThe struct member offsets. -
SZ
public static final int SZThe struct member offsets. -
PVZ
public static final int PVZThe struct member offsets. -
QX
public static final int QXThe struct member offsets. -
QY
public static final int QYThe struct member offsets. -
QZ
public static final int QZThe struct member offsets. -
QW
public static final int QWThe struct member offsets. -
TX
public static final int TXThe struct member offsets. -
TY
public static final int TYThe struct member offsets. -
TZ
public static final int TZThe struct member offsets.
-
-
Constructor Details
-
VkSRTDataNV
Creates aVkSRTDataNV
instance at the current position of the specifiedByteBuffer
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
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<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
Sets the specified value to thesx
field. -
a
Sets the specified value to thea
field. -
b
Sets the specified value to theb
field. -
pvx
Sets the specified value to thepvx
field. -
sy
Sets the specified value to thesy
field. -
c
Sets the specified value to thec
field. -
pvy
Sets the specified value to thepvy
field. -
sz
Sets the specified value to thesz
field. -
pvz
Sets the specified value to thepvz
field. -
qx
Sets the specified value to theqx
field. -
qy
Sets the specified value to theqy
field. -
qz
Sets the specified value to theqz
field. -
qw
Sets the specified value to theqw
field. -
tx
Sets the specified value to thetx
field. -
ty
Sets the specified value to thety
field. -
tz
Sets the specified value to thetz
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
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
Returns a newVkSRTDataNV
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newVkSRTDataNV
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newVkSRTDataNV
instance allocated withBufferUtils
. -
create
Returns a newVkSRTDataNV
instance for the specified memory address. -
createSafe
-
malloc
Returns a newVkSRTDataNV.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newVkSRTDataNV.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newVkSRTDataNV.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aVkSRTDataNV.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
malloc
Returns a newVkSRTDataNV
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newVkSRTDataNV
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newVkSRTDataNV.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newVkSRTDataNV.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nsx
public static float nsx(long struct) Unsafe version ofsx()
. -
na
public static float na(long struct) Unsafe version ofa()
. -
nb
public static float nb(long struct) Unsafe version ofb()
. -
npvx
public static float npvx(long struct) Unsafe version ofpvx()
. -
nsy
public static float nsy(long struct) Unsafe version ofsy()
. -
nc
public static float nc(long struct) Unsafe version ofc()
. -
npvy
public static float npvy(long struct) Unsafe version ofpvy()
. -
nsz
public static float nsz(long struct) Unsafe version ofsz()
. -
npvz
public static float npvz(long struct) Unsafe version ofpvz()
. -
nqx
public static float nqx(long struct) Unsafe version ofqx()
. -
nqy
public static float nqy(long struct) Unsafe version ofqy()
. -
nqz
public static float nqz(long struct) Unsafe version ofqz()
. -
nqw
public static float nqw(long struct) Unsafe version ofqw()
. -
ntx
public static float ntx(long struct) Unsafe version oftx()
. -
nty
public static float nty(long struct) Unsafe version ofty()
. -
ntz
public static float ntz(long struct) Unsafe version oftz()
. -
nsx
public static void nsx(long struct, float value) Unsafe version ofsx
. -
na
public static void na(long struct, float value) Unsafe version ofa
. -
nb
public static void nb(long struct, float value) Unsafe version ofb
. -
npvx
public static void npvx(long struct, float value) Unsafe version ofpvx
. -
nsy
public static void nsy(long struct, float value) Unsafe version ofsy
. -
nc
public static void nc(long struct, float value) Unsafe version ofc
. -
npvy
public static void npvy(long struct, float value) Unsafe version ofpvy
. -
nsz
public static void nsz(long struct, float value) Unsafe version ofsz
. -
npvz
public static void npvz(long struct, float value) Unsafe version ofpvz
. -
nqx
public static void nqx(long struct, float value) Unsafe version ofqx
. -
nqy
public static void nqy(long struct, float value) Unsafe version ofqy
. -
nqz
public static void nqz(long struct, float value) Unsafe version ofqz
. -
nqw
public static void nqw(long struct, float value) Unsafe version ofqw
. -
ntx
public static void ntx(long struct, float value) Unsafe version oftx
. -
nty
public static void nty(long struct, float value) Unsafe version ofty
. -
ntz
public static void ntz(long struct, float value) Unsafe version oftz
.
-