java.lang.Object
java.lang.Record
tech.icey.vk4j.datatype.VkStridedDeviceAddressRegionKHR
- All Implemented Interfaces:
tech.icey.panama.IPointer
public record VkStridedDeviceAddressRegionKHR(MemorySegment segment)
extends Record
implements tech.icey.panama.IPointer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MemoryLayoutstatic final ValueLayout.OfLongstatic final ValueLayout.OfLongstatic final ValueLayout.OfLongstatic 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
ConstructorsConstructorDescriptionCreates an instance of aVkStridedDeviceAddressRegionKHRrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkStridedDeviceAddressRegionKHR[]clone(Arena arena, VkStridedDeviceAddressRegionKHR src) static VkStridedDeviceAddressRegionKHR[]clone(Arena arena, VkStridedDeviceAddressRegionKHR[] src) longvoiddeviceAddress(long value) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.segment()Returns the value of thesegmentrecord component.longsize()voidsize(long value) longstride()voidstride(long value) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
SIZE
public static final long SIZE -
PATH$deviceAddress
-
PATH$stride
-
PATH$size
-
LAYOUT$deviceAddress
-
LAYOUT$stride
-
LAYOUT$size
-
OFFSET$deviceAddress
public static final long OFFSET$deviceAddress -
OFFSET$stride
public static final long OFFSET$stride -
OFFSET$size
public static final long OFFSET$size -
SIZE$deviceAddress
public static final long SIZE$deviceAddress -
SIZE$stride
public static final long SIZE$stride -
SIZE$size
public static final long SIZE$size
-
-
Constructor Details
-
VkStridedDeviceAddressRegionKHR
Creates an instance of aVkStridedDeviceAddressRegionKHRrecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
deviceAddress
public long deviceAddress() -
deviceAddress
public void deviceAddress(long value) -
stride
public long stride() -
stride
public void stride(long value) -
size
public long size() -
size
public void size(long value) -
allocate
-
allocate
-
clone
public static VkStridedDeviceAddressRegionKHR clone(Arena arena, VkStridedDeviceAddressRegionKHR src) -
clone
public static VkStridedDeviceAddressRegionKHR[] clone(Arena arena, VkStridedDeviceAddressRegionKHR[] src) -
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
-