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.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct member offsets.static final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe 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 aVkSRTDataNVinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionfloata()a(float value) Sets the specified value to theafield.floatb()b(float value) Sets the specified value to thebfield.floatc()c(float value) Sets the specified value to thecfield.static VkSRTDataNVcalloc()Returns a newVkSRTDataNVinstance allocated withmemCalloc.static VkSRTDataNV.Buffercalloc(int capacity) Returns a newVkSRTDataNV.Bufferinstance allocated withmemCalloc.static VkSRTDataNV.Buffercalloc(int capacity, MemoryStack stack) Returns a newVkSRTDataNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSRTDataNVcalloc(MemoryStack stack) Returns a newVkSRTDataNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSRTDataNVcreate()Returns a newVkSRTDataNVinstance allocated withBufferUtils.static VkSRTDataNV.Buffercreate(int capacity) Returns a newVkSRTDataNV.Bufferinstance allocated withBufferUtils.static VkSRTDataNVcreate(long address) Returns a newVkSRTDataNVinstance for the specified memory address.static VkSRTDataNV.Buffercreate(long address, int capacity) Create aVkSRTDataNV.Bufferinstance at the specified memory.static @Nullable VkSRTDataNVcreateSafe(long address) static @Nullable VkSRTDataNV.BuffercreateSafe(long address, int capacity) static VkSRTDataNVmalloc()Returns a newVkSRTDataNVinstance allocated withmemAlloc.static VkSRTDataNV.Buffermalloc(int capacity) Returns a newVkSRTDataNV.Bufferinstance allocated withmemAlloc.static VkSRTDataNV.Buffermalloc(int capacity, MemoryStack stack) Returns a newVkSRTDataNV.Bufferinstance allocated on the specifiedMemoryStack.static VkSRTDataNVmalloc(MemoryStack stack) Returns a newVkSRTDataNVinstance allocated on the specifiedMemoryStack.static floatna(long struct) Unsafe version ofa().static voidna(long struct, float value) Unsafe version ofa.static floatnb(long struct) Unsafe version ofb().static voidnb(long struct, float value) Unsafe version ofb.static floatnc(long struct) Unsafe version ofc().static voidnc(long struct, float value) Unsafe version ofc.static floatnpvx(long struct) Unsafe version ofpvx().static voidnpvx(long struct, float value) Unsafe version ofpvx.static floatnpvy(long struct) Unsafe version ofpvy().static voidnpvy(long struct, float value) Unsafe version ofpvy.static floatnpvz(long struct) Unsafe version ofpvz().static voidnpvz(long struct, float value) Unsafe version ofpvz.static floatnqw(long struct) Unsafe version ofqw().static voidnqw(long struct, float value) Unsafe version ofqw.static floatnqx(long struct) Unsafe version ofqx().static voidnqx(long struct, float value) Unsafe version ofqx.static floatnqy(long struct) Unsafe version ofqy().static voidnqy(long struct, float value) Unsafe version ofqy.static floatnqz(long struct) Unsafe version ofqz().static voidnqz(long struct, float value) Unsafe version ofqz.static floatnsx(long struct) Unsafe version ofsx().static voidnsx(long struct, float value) Unsafe version ofsx.static floatnsy(long struct) Unsafe version ofsy().static voidnsy(long struct, float value) Unsafe version ofsy.static floatnsz(long struct) Unsafe version ofsz().static voidnsz(long struct, float value) Unsafe version ofsz.static floatntx(long struct) Unsafe version oftx().static voidntx(long struct, float value) Unsafe version oftx.static floatnty(long struct) Unsafe version ofty().static voidnty(long struct, float value) Unsafe version ofty.static floatntz(long struct) Unsafe version oftz().static voidntz(long struct, float value) Unsafe version oftz.floatpvx()pvx(float value) Sets the specified value to thepvxfield.floatpvy()pvy(float value) Sets the specified value to thepvyfield.floatpvz()pvz(float value) Sets the specified value to thepvzfield.floatqw()qw(float value) Sets the specified value to theqwfield.floatqx()qx(float value) Sets the specified value to theqxfield.floatqy()qy(float value) Sets the specified value to theqyfield.floatqz()qz(float value) Sets the specified value to theqzfield.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.intsizeof()Returnssizeof(struct).floatsx()sx(float value) Sets the specified value to thesxfield.floatsy()sy(float value) Sets the specified value to thesyfield.floatsz()sz(float value) Sets the specified value to theszfield.floattx()tx(float value) Sets the specified value to thetxfield.floatty()ty(float value) Sets the specified value to thetyfield.floattz()tz(float value) Sets the specified value to thetzfield.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods 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 aVkSRTDataNVinstance at the current position of the specifiedByteBuffercontainer. 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:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<VkSRTDataNV>
-
sx
public float sx()- Returns:
- the value of the
sxfield.
-
a
public float a()- Returns:
- the value of the
afield.
-
b
public float b()- Returns:
- the value of the
bfield.
-
pvx
public float pvx()- Returns:
- the value of the
pvxfield.
-
sy
public float sy()- Returns:
- the value of the
syfield.
-
c
public float c()- Returns:
- the value of the
cfield.
-
pvy
public float pvy()- Returns:
- the value of the
pvyfield.
-
sz
public float sz()- Returns:
- the value of the
szfield.
-
pvz
public float pvz()- Returns:
- the value of the
pvzfield.
-
qx
public float qx()- Returns:
- the value of the
qxfield.
-
qy
public float qy()- Returns:
- the value of the
qyfield.
-
qz
public float qz()- Returns:
- the value of the
qzfield.
-
qw
public float qw()- Returns:
- the value of the
qwfield.
-
tx
public float tx()- Returns:
- the value of the
txfield.
-
ty
public float ty()- Returns:
- the value of the
tyfield.
-
tz
public float tz()- Returns:
- the value of the
tzfield.
-
sx
Sets the specified value to thesxfield. -
a
Sets the specified value to theafield. -
b
Sets the specified value to thebfield. -
pvx
Sets the specified value to thepvxfield. -
sy
Sets the specified value to thesyfield. -
c
Sets the specified value to thecfield. -
pvy
Sets the specified value to thepvyfield. -
sz
Sets the specified value to theszfield. -
pvz
Sets the specified value to thepvzfield. -
qx
Sets the specified value to theqxfield. -
qy
Sets the specified value to theqyfield. -
qz
Sets the specified value to theqzfield. -
qw
Sets the specified value to theqwfield. -
tx
Sets the specified value to thetxfield. -
ty
Sets the specified value to thetyfield. -
tz
Sets the specified value to thetzfield. -
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 newVkSRTDataNVinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkSRTDataNVinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkSRTDataNVinstance allocated withBufferUtils. -
create
Returns a newVkSRTDataNVinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkSRTDataNV.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkSRTDataNV.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkSRTDataNV.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkSRTDataNV.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newVkSRTDataNVinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkSRTDataNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newVkSRTDataNV.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newVkSRTDataNV.Bufferinstance allocated on the specifiedMemoryStackand 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.
-