java.lang.Object
java.lang.Record
tech.icey.vk4j.datatype.VkViewport
- All Implemented Interfaces:
tech.icey.panama.IPointer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MemoryLayoutstatic final ValueLayout.OfFloatstatic final ValueLayout.OfFloatstatic final ValueLayout.OfFloatstatic final ValueLayout.OfFloatstatic final ValueLayout.OfFloatstatic final ValueLayout.OfFloatstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionVkViewport(MemorySegment segment) Creates an instance of aVkViewportrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkViewportstatic VkViewport[]static VkViewportclone(Arena arena, VkViewport src) static VkViewport[]clone(Arena arena, VkViewport[] src) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.floatheight()voidheight(float value) floatmaxDepth()voidmaxDepth(float value) floatminDepth()voidminDepth(float value) segment()Returns the value of thesegmentrecord component.final StringtoString()Returns a string representation of this record class.floatwidth()voidwidth(float value) floatx()voidx(float value) floaty()voidy(float value)
-
Field Details
-
LAYOUT
-
SIZE
public static final long SIZE -
PATH$x
-
PATH$y
-
PATH$width
-
PATH$height
-
PATH$minDepth
-
PATH$maxDepth
-
LAYOUT$x
-
LAYOUT$y
-
LAYOUT$width
-
LAYOUT$height
-
LAYOUT$minDepth
-
LAYOUT$maxDepth
-
OFFSET$x
public static final long OFFSET$x -
OFFSET$y
public static final long OFFSET$y -
OFFSET$width
public static final long OFFSET$width -
OFFSET$height
public static final long OFFSET$height -
OFFSET$minDepth
public static final long OFFSET$minDepth -
OFFSET$maxDepth
public static final long OFFSET$maxDepth -
SIZE$x
public static final long SIZE$x -
SIZE$y
public static final long SIZE$y -
SIZE$width
public static final long SIZE$width -
SIZE$height
public static final long SIZE$height -
SIZE$minDepth
public static final long SIZE$minDepth -
SIZE$maxDepth
public static final long SIZE$maxDepth
-
-
Constructor Details
-
VkViewport
Creates an instance of aVkViewportrecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
x
public float x() -
x
public void x(float value) -
y
public float y() -
y
public void y(float value) -
width
public float width() -
width
public void width(float value) -
height
public float height() -
height
public void height(float value) -
minDepth
public float minDepth() -
minDepth
public void minDepth(float value) -
maxDepth
public float maxDepth() -
maxDepth
public void maxDepth(float 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
-