java.lang.Object
java.lang.Record
tech.icey.vk4j.datatype.VkAllocationCallbacks
- All Implemented Interfaces:
tech.icey.panama.IPointer
public record VkAllocationCallbacks(MemorySegment segment)
extends Record
implements tech.icey.panama.IPointer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MemoryLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final AddressLayoutstatic 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
ConstructorsConstructorDescriptionVkAllocationCallbacks(MemorySegment segment) Creates an instance of aVkAllocationCallbacksrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkAllocationCallbacksstatic VkAllocationCallbacks[]static VkAllocationCallbacksclone(Arena arena, VkAllocationCallbacks src) static VkAllocationCallbacks[]clone(Arena arena, VkAllocationCallbacks[] src) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.voidpfnAllocation(MemorySegment value) voidpfnAllocation(tech.icey.panama.IPointer pointer) pfnFree()voidpfnFree(MemorySegment value) voidpfnFree(tech.icey.panama.IPointer pointer) voidvoidpfnInternalAllocation(tech.icey.panama.IPointer pointer) voidpfnInternalFree(MemorySegment value) voidpfnInternalFree(tech.icey.panama.IPointer pointer) voidpfnReallocation(MemorySegment value) voidpfnReallocation(tech.icey.panama.IPointer pointer) voidpUserData(MemorySegment value) voidpUserData(tech.icey.panama.IPointer pointer) 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$pUserData
-
PATH$pfnAllocation
-
PATH$pfnReallocation
-
PATH$pfnFree
-
PATH$pfnInternalAllocation
-
PATH$pfnInternalFree
-
LAYOUT$pUserData
-
LAYOUT$pfnAllocation
-
LAYOUT$pfnReallocation
-
LAYOUT$pfnFree
-
LAYOUT$pfnInternalAllocation
-
LAYOUT$pfnInternalFree
-
OFFSET$pUserData
public static final long OFFSET$pUserData -
OFFSET$pfnAllocation
public static final long OFFSET$pfnAllocation -
OFFSET$pfnReallocation
public static final long OFFSET$pfnReallocation -
OFFSET$pfnFree
public static final long OFFSET$pfnFree -
OFFSET$pfnInternalAllocation
public static final long OFFSET$pfnInternalAllocation -
OFFSET$pfnInternalFree
public static final long OFFSET$pfnInternalFree -
SIZE$pUserData
public static final long SIZE$pUserData -
SIZE$pfnAllocation
public static final long SIZE$pfnAllocation -
SIZE$pfnReallocation
public static final long SIZE$pfnReallocation -
SIZE$pfnFree
public static final long SIZE$pfnFree -
SIZE$pfnInternalAllocation
public static final long SIZE$pfnInternalAllocation -
SIZE$pfnInternalFree
public static final long SIZE$pfnInternalFree
-
-
Constructor Details
-
VkAllocationCallbacks
Creates an instance of aVkAllocationCallbacksrecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
pUserData
-
pUserData
-
pUserData
public void pUserData(tech.icey.panama.IPointer pointer) -
pfnAllocation
-
pfnAllocation
-
pfnAllocation
public void pfnAllocation(tech.icey.panama.IPointer pointer) -
pfnReallocation
-
pfnReallocation
-
pfnReallocation
public void pfnReallocation(tech.icey.panama.IPointer pointer) -
pfnFree
-
pfnFree
-
pfnFree
public void pfnFree(tech.icey.panama.IPointer pointer) -
pfnInternalAllocation
-
pfnInternalAllocation
-
pfnInternalAllocation
public void pfnInternalAllocation(tech.icey.panama.IPointer pointer) -
pfnInternalFree
-
pfnInternalFree
-
pfnInternalFree
public void pfnInternalFree(tech.icey.panama.IPointer pointer) -
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
-