Package org.lwjgl.vulkan
Class VkSRTDataNV.Buffer
- All Implemented Interfaces:
AutoCloseable,Iterable<VkSRTDataNV>,NativeResource,Pointer
- Enclosing class:
VkSRTDataNV
public static class VkSRTDataNV.Buffer
extends StructBuffer<VkSRTDataNV,VkSRTDataNV.Buffer>
implements NativeResource
An array of
VkSRTDataNV structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newVkSRTDataNV.Bufferinstance backed by the specified container. -
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.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.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.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newVkSRTDataNV.Bufferinstance backed by the specified container.Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by
VkSRTDataNV.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Details
-
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.
-