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.Buffer
instance backed by the specified 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.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.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.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods 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, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newVkSRTDataNV.Buffer
instance 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
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.
-