Record Class VkSRTDataNV
java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.VkSRTDataNV
- All Implemented Interfaces:
IPointer
,IVkSRTDataNV
@ValueBasedCandidate
@UnsafeConstructor
public record VkSRTDataNV(@NotNull MemorySegment segment)
extends Record
implements IVkSRTDataNV
Represents a pointer to a VkSRTDataNV
structure in native memory.
Structure
typedef struct VkSRTDataNV {
float sx
;
floa
t 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
;
} VkSRTDataNV;
Contracts
The property segment()
should always be not-null
(segment != NULL && !segment.equals(MemorySegment.NULL)
), and properly aligned to
LAYOUT.byteAlignment()
bytes. To represent null pointer, you may use a Java
null
instead. See the documentation of IPointer.segment()
for more details.
The constructor of this class is marked as UnsafeConstructor
, because it does not
perform any runtime check. The constructor can be useful for automatic code generators.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record
Represents a pointer to / an array ofVkSRTDataNV
structure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
static final StructLayout
static final ValueLayout.OfFloat
static final ValueLayout.OfFloat
static final ValueLayout.OfFloat
static final ValueLayout.OfFloat
static final ValueLayout.OfFloat
static final ValueLayout.OfFloat
static final ValueLayout.OfFloat
static final ValueLayout.OfFloat
static final ValueLayout.OfFloat
static final ValueLayout.OfFloat
static final ValueLayout.OfFloat
static final ValueLayout.OfFloat
static final ValueLayout.OfFloat
static final ValueLayout.OfFloat
static final ValueLayout.OfFloat
static final ValueLayout.OfFloat
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
-
Constructor Summary
ConstructorsConstructorDescriptionVkSRTDataNV
(@NotNull MemorySegment segment) Creates an instance of aVkSRTDataNV
record class. -
Method Summary
Modifier and TypeMethodDescriptionfloat
a()
a
(float value) static VkSRTDataNV
static VkSRTDataNV.Ptr
float
b()
b
(float value) float
c()
c
(float value) static VkSRTDataNV
clone
(Arena arena, VkSRTDataNV src) final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.float
pvx()
pvx
(float value) float
pvy()
pvy
(float value) float
pvz()
pvz
(float value) float
qw()
qw
(float value) float
qx()
qx
(float value) float
qy()
qy
(float value) float
qz()
qz
(float value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.float
sx()
sx
(float value) float
sy()
sy
(float value) float
sz()
sz
(float value) final String
toString()
Returns a string representation of this record class.float
tx()
tx
(float value) float
ty()
ty
(float value) float
tz()
tz
(float value)
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$sx
-
PATH$a
-
PATH$b
-
PATH$pvx
-
PATH$sy
-
PATH$c
-
PATH$pvy
-
PATH$sz
-
PATH$pvz
-
PATH$qx
-
PATH$qy
-
PATH$qz
-
PATH$qw
-
PATH$tx
-
PATH$ty
-
PATH$tz
-
LAYOUT$sx
-
LAYOUT$a
-
LAYOUT$b
-
LAYOUT$pvx
-
LAYOUT$sy
-
LAYOUT$c
-
LAYOUT$pvy
-
LAYOUT$sz
-
LAYOUT$pvz
-
LAYOUT$qx
-
LAYOUT$qy
-
LAYOUT$qz
-
LAYOUT$qw
-
LAYOUT$tx
-
LAYOUT$ty
-
LAYOUT$tz
-
SIZE$sx
public static final long SIZE$sx -
SIZE$a
public static final long SIZE$a -
SIZE$b
public static final long SIZE$b -
SIZE$pvx
public static final long SIZE$pvx -
SIZE$sy
public static final long SIZE$sy -
SIZE$c
public static final long SIZE$c -
SIZE$pvy
public static final long SIZE$pvy -
SIZE$sz
public static final long SIZE$sz -
SIZE$pvz
public static final long SIZE$pvz -
SIZE$qx
public static final long SIZE$qx -
SIZE$qy
public static final long SIZE$qy -
SIZE$qz
public static final long SIZE$qz -
SIZE$qw
public static final long SIZE$qw -
SIZE$tx
public static final long SIZE$tx -
SIZE$ty
public static final long SIZE$ty -
SIZE$tz
public static final long SIZE$tz -
OFFSET$sx
public static final long OFFSET$sx -
OFFSET$a
public static final long OFFSET$a -
OFFSET$b
public static final long OFFSET$b -
OFFSET$pvx
public static final long OFFSET$pvx -
OFFSET$sy
public static final long OFFSET$sy -
OFFSET$c
public static final long OFFSET$c -
OFFSET$pvy
public static final long OFFSET$pvy -
OFFSET$sz
public static final long OFFSET$sz -
OFFSET$pvz
public static final long OFFSET$pvz -
OFFSET$qx
public static final long OFFSET$qx -
OFFSET$qy
public static final long OFFSET$qy -
OFFSET$qz
public static final long OFFSET$qz -
OFFSET$qw
public static final long OFFSET$qw -
OFFSET$tx
public static final long OFFSET$tx -
OFFSET$ty
public static final long OFFSET$ty -
OFFSET$tz
public static final long OFFSET$tz
-
-
Constructor Details
-
VkSRTDataNV
Creates an instance of aVkSRTDataNV
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
-
sx
public float sx() -
sx
-
a
public float a() -
a
-
b
public float b() -
b
-
pvx
public float pvx() -
pvx
-
sy
public float sy() -
sy
-
c
public float c() -
c
-
pvy
public float pvy() -
pvy
-
sz
public float sz() -
sz
-
pvz
public float pvz() -
pvz
-
qx
public float qx() -
qx
-
qy
public float qy() -
qy
-
qz
public float qz() -
qz
-
qw
public float qw() -
qw
-
tx
public float tx() -
tx
-
ty
public float ty() -
ty
-
tz
public float tz() -
tz
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
segment
Returns the value of thesegment
record component.
-