java.lang.Object
java.lang.Record
tech.icey.vk4j.datatype.VkMicromapTriangleEXT
- All Implemented Interfaces:
tech.icey.panama.IPointer
public record VkMicromapTriangleEXT(MemorySegment segment)
extends Record
implements tech.icey.panama.IPointer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MemoryLayoutstatic final ValueLayout.OfIntstatic final ValueLayout.OfShortstatic final ValueLayout.OfShortstatic final longstatic final longstatic final longstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final longstatic final longstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionVkMicromapTriangleEXT(MemorySegment segment) Creates an instance of aVkMicromapTriangleEXTrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkMicromapTriangleEXTstatic VkMicromapTriangleEXT[]static VkMicromapTriangleEXTclone(Arena arena, VkMicromapTriangleEXT src) static VkMicromapTriangleEXT[]clone(Arena arena, VkMicromapTriangleEXT[] src) intvoiddataOffset(int value) final booleanIndicates whether some other object is "equal to" this one.shortformat()voidformat(short value) final inthashCode()Returns a hash code value for this object.segment()Returns the value of thesegmentrecord component.shortvoidsubdivisionLevel(short value) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
SIZE
public static final long SIZE -
PATH$dataOffset
-
PATH$subdivisionLevel
-
PATH$format
-
LAYOUT$dataOffset
-
LAYOUT$subdivisionLevel
-
LAYOUT$format
-
OFFSET$dataOffset
public static final long OFFSET$dataOffset -
OFFSET$subdivisionLevel
public static final long OFFSET$subdivisionLevel -
OFFSET$format
public static final long OFFSET$format -
SIZE$dataOffset
public static final long SIZE$dataOffset -
SIZE$subdivisionLevel
public static final long SIZE$subdivisionLevel -
SIZE$format
public static final long SIZE$format
-
-
Constructor Details
-
VkMicromapTriangleEXT
Creates an instance of aVkMicromapTriangleEXTrecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
dataOffset
public int dataOffset() -
dataOffset
public void dataOffset(int value) -
subdivisionLevel
public short subdivisionLevel() -
subdivisionLevel
public void subdivisionLevel(short value) -
format
public short format() -
format
public void format(short 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
-