java.lang.Object
java.lang.Record
tech.icey.vk4j.datatype.VkPhysicalDeviceMemoryProperties
- All Implemented Interfaces:
tech.icey.panama.IPointer
public record VkPhysicalDeviceMemoryProperties(MemorySegment segment)
extends Record
implements tech.icey.panama.IPointer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MemoryLayoutstatic final ValueLayout.OfIntstatic final SequenceLayoutstatic final ValueLayout.OfIntstatic final SequenceLayoutstatic final longstatic final longstatic final longstatic final longstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final longstatic final longstatic final longstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aVkPhysicalDeviceMemoryPropertiesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkPhysicalDeviceMemoryProperties[]clone(Arena arena, VkPhysicalDeviceMemoryProperties src) static VkPhysicalDeviceMemoryProperties[]clone(Arena arena, VkPhysicalDeviceMemoryProperties[] src) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intvoidmemoryHeapCount(int value) voidmemoryHeaps(VkMemoryHeap[] value) memoryHeapsAt(long index) voidmemoryHeapsAt(long index, VkMemoryHeap value) intvoidmemoryTypeCount(int value) voidmemoryTypes(VkMemoryType[] value) memoryTypesAt(long index) voidmemoryTypesAt(long index, VkMemoryType value) segment()Returns the value of thesegmentrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
SIZE
public static final long SIZE -
PATH$memoryTypeCount
-
PATH$memoryTypes
-
PATH$memoryHeapCount
-
PATH$memoryHeaps
-
LAYOUT$memoryTypeCount
-
LAYOUT$memoryTypes
-
LAYOUT$memoryHeapCount
-
LAYOUT$memoryHeaps
-
OFFSET$memoryTypeCount
public static final long OFFSET$memoryTypeCount -
OFFSET$memoryTypes
public static final long OFFSET$memoryTypes -
OFFSET$memoryHeapCount
public static final long OFFSET$memoryHeapCount -
OFFSET$memoryHeaps
public static final long OFFSET$memoryHeaps -
SIZE$memoryTypeCount
public static final long SIZE$memoryTypeCount -
SIZE$memoryTypes
public static final long SIZE$memoryTypes -
SIZE$memoryHeapCount
public static final long SIZE$memoryHeapCount -
SIZE$memoryHeaps
public static final long SIZE$memoryHeaps
-
-
Constructor Details
-
VkPhysicalDeviceMemoryProperties
Creates an instance of aVkPhysicalDeviceMemoryPropertiesrecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
memoryTypeCount
public int memoryTypeCount() -
memoryTypeCount
public void memoryTypeCount(int value) -
memoryTypesRaw
-
memoryTypes
-
memoryTypes
-
memoryTypesAt
-
memoryTypesAt
-
memoryHeapCount
public int memoryHeapCount() -
memoryHeapCount
public void memoryHeapCount(int value) -
memoryHeapsRaw
-
memoryHeaps
-
memoryHeaps
-
memoryHeapsAt
-
memoryHeapsAt
-
allocate
-
allocate
-
clone
public static VkPhysicalDeviceMemoryProperties clone(Arena arena, VkPhysicalDeviceMemoryProperties src) -
clone
public static VkPhysicalDeviceMemoryProperties[] clone(Arena arena, VkPhysicalDeviceMemoryProperties[] 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
-