java.lang.Object
java.lang.Record
tech.icey.vk4j.datatype.VkBufferCreateInfo
- All Implemented Interfaces:
tech.icey.panama.IPointer
public record VkBufferCreateInfo(MemorySegment segment)
extends Record
implements tech.icey.panama.IPointer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MemoryLayoutstatic final ValueLayout.OfIntstatic final AddressLayoutstatic final AddressLayoutstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfLongstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final longstatic final longstatic 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 MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionVkBufferCreateInfo(MemorySegment segment) Creates an instance of aVkBufferCreateInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkBufferCreateInfostatic VkBufferCreateInfo[]static VkBufferCreateInfoclone(Arena arena, VkBufferCreateInfo src) static VkBufferCreateInfo[]clone(Arena arena, VkBufferCreateInfo[] src) final booleanIndicates whether some other object is "equal to" this one.intflags()voidflags(int value) final inthashCode()Returns a hash code value for this object.pNext()voidpNext(MemorySegment value) voidpNext(tech.icey.panama.IPointer pointer) tech.icey.panama.buffer.IntBuffervoidpQueueFamilyIndices(tech.icey.panama.buffer.IntBuffer value) voidintvoidqueueFamilyIndexCount(int value) segment()Returns the value of thesegmentrecord component.intvoidsharingMode(int value) longsize()voidsize(long value) intsType()voidsType(int value) final StringtoString()Returns a string representation of this record class.intusage()voidusage(int value)
-
Field Details
-
LAYOUT
-
SIZE
public static final long SIZE -
PATH$sType
-
PATH$pNext
-
PATH$flags
-
PATH$size
-
PATH$usage
-
PATH$sharingMode
-
PATH$queueFamilyIndexCount
-
PATH$pQueueFamilyIndices
-
LAYOUT$sType
-
LAYOUT$pNext
-
LAYOUT$flags
-
LAYOUT$size
-
LAYOUT$usage
-
LAYOUT$sharingMode
-
LAYOUT$queueFamilyIndexCount
-
LAYOUT$pQueueFamilyIndices
-
OFFSET$sType
public static final long OFFSET$sType -
OFFSET$pNext
public static final long OFFSET$pNext -
OFFSET$flags
public static final long OFFSET$flags -
OFFSET$size
public static final long OFFSET$size -
OFFSET$usage
public static final long OFFSET$usage -
OFFSET$sharingMode
public static final long OFFSET$sharingMode -
OFFSET$queueFamilyIndexCount
public static final long OFFSET$queueFamilyIndexCount -
OFFSET$pQueueFamilyIndices
public static final long OFFSET$pQueueFamilyIndices -
SIZE$sType
public static final long SIZE$sType -
SIZE$pNext
public static final long SIZE$pNext -
SIZE$flags
public static final long SIZE$flags -
SIZE$size
public static final long SIZE$size -
SIZE$usage
public static final long SIZE$usage -
SIZE$sharingMode
public static final long SIZE$sharingMode -
SIZE$queueFamilyIndexCount
public static final long SIZE$queueFamilyIndexCount -
SIZE$pQueueFamilyIndices
public static final long SIZE$pQueueFamilyIndices
-
-
Constructor Details
-
VkBufferCreateInfo
Creates an instance of aVkBufferCreateInforecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
sType
public int sType() -
sType
public void sType(int value) -
pNext
-
pNext
-
pNext
public void pNext(tech.icey.panama.IPointer pointer) -
flags
public int flags() -
flags
public void flags(int value) -
size
public long size() -
size
public void size(long value) -
usage
public int usage() -
usage
public void usage(int value) -
sharingMode
public int sharingMode() -
sharingMode
public void sharingMode(int value) -
queueFamilyIndexCount
public int queueFamilyIndexCount() -
queueFamilyIndexCount
public void queueFamilyIndexCount(int value) -
pQueueFamilyIndicesRaw
-
pQueueFamilyIndicesRaw
-
pQueueFamilyIndices
public tech.icey.panama.buffer.IntBuffer pQueueFamilyIndices() -
pQueueFamilyIndices
public void pQueueFamilyIndices(tech.icey.panama.buffer.IntBuffer 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
-