Package org.lwjgl.vulkan
Class VkMemoryAllocateInfo.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<VkMemoryAllocateInfo.Buffer>
org.lwjgl.system.StructBuffer<VkMemoryAllocateInfo,VkMemoryAllocateInfo.Buffer>
org.lwjgl.vulkan.VkMemoryAllocateInfo.Buffer
- All Implemented Interfaces:
AutoCloseable,Iterable<VkMemoryAllocateInfo>,NativeResource,Pointer
- Enclosing class:
VkMemoryAllocateInfo
public static class VkMemoryAllocateInfo.Buffer
extends StructBuffer<VkMemoryAllocateInfo,VkMemoryAllocateInfo.Buffer>
implements NativeResource
An array of
VkMemoryAllocateInfo structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newVkMemoryAllocateInfo.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionlongallocationSize(long value) Sets the specified value to theallocationSizefield.intmemoryTypeIndex(int value) Sets the specified value to thememoryTypeIndexfield.longpNext()pNext(long value) Sets the specified value to thepNextfield.Prepends the specifiedVkDedicatedAllocationMemoryAllocateInfoNVvalue to thepNextchain.pNext(VkExportMemoryAllocateInfo value) Prepends the specifiedVkExportMemoryAllocateInfovalue to thepNextchain.Prepends the specifiedVkExportMemoryAllocateInfoKHRvalue to thepNextchain.Prepends the specifiedVkExportMemoryAllocateInfoNVvalue to thepNextchain.Prepends the specifiedVkExportMemoryWin32HandleInfoKHRvalue to thepNextchain.Prepends the specifiedVkExportMemoryWin32HandleInfoNVvalue to thepNextchain.Prepends the specifiedVkExportMetalObjectCreateInfoEXTvalue to thepNextchain.Prepends the specifiedVkImportAndroidHardwareBufferInfoANDROIDvalue to thepNextchain.pNext(VkImportMemoryFdInfoKHR value) Prepends the specifiedVkImportMemoryFdInfoKHRvalue to thepNextchain.Prepends the specifiedVkImportMemoryHostPointerInfoEXTvalue to thepNextchain.Prepends the specifiedVkImportMemoryMetalHandleInfoEXTvalue to thepNextchain.Prepends the specifiedVkImportMemoryWin32HandleInfoKHRvalue to thepNextchain.Prepends the specifiedVkImportMemoryWin32HandleInfoNVvalue to thepNextchain.pNext(VkImportMetalBufferInfoEXT value) Prepends the specifiedVkImportMetalBufferInfoEXTvalue to thepNextchain.pNext(VkMemoryAllocateFlagsInfo value) Prepends the specifiedVkMemoryAllocateFlagsInfovalue to thepNextchain.Prepends the specifiedVkMemoryAllocateFlagsInfoKHRvalue to thepNextchain.Prepends the specifiedVkMemoryDedicatedAllocateInfovalue to thepNextchain.Prepends the specifiedVkMemoryDedicatedAllocateInfoKHRvalue to thepNextchain.Prepends the specifiedVkMemoryDedicatedAllocateInfoTensorARMvalue to thepNextchain.Prepends the specifiedVkMemoryOpaqueCaptureAddressAllocateInfovalue to thepNextchain.Prepends the specifiedVkMemoryOpaqueCaptureAddressAllocateInfoKHRvalue to thepNextchain.Prepends the specifiedVkMemoryPriorityAllocateInfoEXTvalue to thepNextchain.intsType()sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_MEMORY_ALLOCATE_INFOvalue to thesTypefield.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newVkMemoryAllocateInfo.Bufferinstance backed by the specified container.Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by
VkMemoryAllocateInfo.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Details
-
sType
public int sType()- Returns:
- the value of the
sTypefield.
-
pNext
public long pNext()- Returns:
- the value of the
pNextfield.
-
allocationSize
public long allocationSize()- Returns:
- the value of the
allocationSizefield.
-
memoryTypeIndex
public int memoryTypeIndex()- Returns:
- the value of the
memoryTypeIndexfield.
-
sType
Sets the specified value to thesTypefield. -
sType$Default
Sets theSTRUCTURE_TYPE_MEMORY_ALLOCATE_INFOvalue to thesTypefield. -
pNext
Sets the specified value to thepNextfield. -
pNext
Prepends the specifiedVkDedicatedAllocationMemoryAllocateInfoNVvalue to thepNextchain. -
pNext
Prepends the specifiedVkExportMemoryAllocateInfovalue to thepNextchain. -
pNext
Prepends the specifiedVkExportMemoryAllocateInfoKHRvalue to thepNextchain. -
pNext
Prepends the specifiedVkExportMemoryAllocateInfoNVvalue to thepNextchain. -
pNext
Prepends the specifiedVkExportMemoryWin32HandleInfoKHRvalue to thepNextchain. -
pNext
Prepends the specifiedVkExportMemoryWin32HandleInfoNVvalue to thepNextchain. -
pNext
Prepends the specifiedVkExportMetalObjectCreateInfoEXTvalue to thepNextchain. -
pNext
Prepends the specifiedVkImportAndroidHardwareBufferInfoANDROIDvalue to thepNextchain. -
pNext
Prepends the specifiedVkImportMemoryFdInfoKHRvalue to thepNextchain. -
pNext
Prepends the specifiedVkImportMemoryHostPointerInfoEXTvalue to thepNextchain. -
pNext
Prepends the specifiedVkImportMemoryMetalHandleInfoEXTvalue to thepNextchain. -
pNext
Prepends the specifiedVkImportMemoryWin32HandleInfoKHRvalue to thepNextchain. -
pNext
Prepends the specifiedVkImportMemoryWin32HandleInfoNVvalue to thepNextchain. -
pNext
Prepends the specifiedVkImportMetalBufferInfoEXTvalue to thepNextchain. -
pNext
Prepends the specifiedVkMemoryAllocateFlagsInfovalue to thepNextchain. -
pNext
Prepends the specifiedVkMemoryAllocateFlagsInfoKHRvalue to thepNextchain. -
pNext
Prepends the specifiedVkMemoryDedicatedAllocateInfovalue to thepNextchain. -
pNext
Prepends the specifiedVkMemoryDedicatedAllocateInfoKHRvalue to thepNextchain. -
pNext
Prepends the specifiedVkMemoryDedicatedAllocateInfoTensorARMvalue to thepNextchain. -
pNext
Prepends the specifiedVkMemoryOpaqueCaptureAddressAllocateInfovalue to thepNextchain. -
pNext
Prepends the specifiedVkMemoryOpaqueCaptureAddressAllocateInfoKHRvalue to thepNextchain. -
pNext
Prepends the specifiedVkMemoryPriorityAllocateInfoEXTvalue to thepNextchain. -
allocationSize
Sets the specified value to theallocationSizefield. -
memoryTypeIndex
Sets the specified value to thememoryTypeIndexfield.
-