java.lang.Object
java.lang.Record
tech.icey.vk4j.datatype.VkExtensionProperties
- All Implemented Interfaces:
tech.icey.panama.IPointer
public record VkExtensionProperties(MemorySegment segment)
extends Record
implements tech.icey.panama.IPointer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MemoryLayoutstatic final SequenceLayoutstatic final ValueLayout.OfIntstatic final longstatic final longstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final longstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionVkExtensionProperties(MemorySegment segment) Creates an instance of aVkExtensionPropertiesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkExtensionPropertiesstatic VkExtensionProperties[]static VkExtensionPropertiesclone(Arena arena, VkExtensionProperties src) static VkExtensionProperties[]clone(Arena arena, VkExtensionProperties[] src) final booleanIndicates whether some other object is "equal to" this one.tech.icey.panama.buffer.ByteBuffervoidextensionName(tech.icey.panama.buffer.ByteBuffer value) final inthashCode()Returns a hash code value for this object.segment()Returns the value of thesegmentrecord component.intvoidspecVersion(int value) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
SIZE
public static final long SIZE -
PATH$extensionName
-
PATH$specVersion
-
LAYOUT$extensionName
-
LAYOUT$specVersion
-
OFFSET$extensionName
public static final long OFFSET$extensionName -
OFFSET$specVersion
public static final long OFFSET$specVersion -
SIZE$extensionName
public static final long SIZE$extensionName -
SIZE$specVersion
public static final long SIZE$specVersion
-
-
Constructor Details
-
VkExtensionProperties
Creates an instance of aVkExtensionPropertiesrecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
extensionNameRaw
-
extensionName
public tech.icey.panama.buffer.ByteBuffer extensionName() -
extensionName
public void extensionName(tech.icey.panama.buffer.ByteBuffer value) -
specVersion
public int specVersion() -
specVersion
public void specVersion(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
-