java.lang.Object
java.lang.Record
tech.icey.vk4j.datatype.VkExtent2D
- All Implemented Interfaces:
tech.icey.panama.IPointer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MemoryLayoutstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final longstatic final longstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final longstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionVkExtent2D(MemorySegment segment) Creates an instance of aVkExtent2Drecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkExtent2Dstatic VkExtent2D[]static VkExtent2Dclone(Arena arena, VkExtent2D src) static VkExtent2D[]clone(Arena arena, VkExtent2D[] src) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intheight()voidheight(int value) segment()Returns the value of thesegmentrecord component.final StringtoString()Returns a string representation of this record class.intwidth()voidwidth(int value)
-
Field Details
-
LAYOUT
-
SIZE
public static final long SIZE -
PATH$width
-
PATH$height
-
LAYOUT$width
-
LAYOUT$height
-
OFFSET$width
public static final long OFFSET$width -
OFFSET$height
public static final long OFFSET$height -
SIZE$width
public static final long SIZE$width -
SIZE$height
public static final long SIZE$height
-
-
Constructor Details
-
VkExtent2D
Creates an instance of aVkExtent2Drecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
width
public int width() -
width
public void width(int value) -
height
public int height() -
height
public void height(int value) -
allocate
-
allocate
-
clone
-
clone
-
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 thesegmentrecord component.- Specified by:
segmentin interfacetech.icey.panama.IPointer- Returns:
- the value of the
segmentrecord component
-