Package org.lwjgl.util.vma
Class VmaPoolCreateInfo.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<VmaPoolCreateInfo.Buffer>
org.lwjgl.system.StructBuffer<VmaPoolCreateInfo,VmaPoolCreateInfo.Buffer>
org.lwjgl.util.vma.VmaPoolCreateInfo.Buffer
- All Implemented Interfaces:
AutoCloseable,Iterable<VmaPoolCreateInfo>,NativeResource,Pointer
- Enclosing class:
VmaPoolCreateInfo
public static class VmaPoolCreateInfo.Buffer
extends StructBuffer<VmaPoolCreateInfo,VmaPoolCreateInfo.Buffer>
implements NativeResource
An array of
VmaPoolCreateInfo 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 newVmaPoolCreateInfo.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionlongblockSize(long value) Sets the specified value to theblockSizefield.intflags()flags(int value) Sets the specified value to theflagsfield.longmaxBlockCount(long value) Sets the specified value to themaxBlockCountfield.intmemoryTypeIndex(int value) Sets the specified value to thememoryTypeIndexfield.longminAllocationAlignment(long value) Sets the specified value to theminAllocationAlignmentfield.longminBlockCount(long value) Sets the specified value to theminBlockCountfield.longpMemoryAllocateNext(long value) Sets the specified value to thepMemoryAllocateNextfield.Prepends the specifiedVkDedicatedAllocationMemoryAllocateInfoNVvalue to thepMemoryAllocateNextchain.Prepends the specifiedVkExportMemoryAllocateInfovalue to thepMemoryAllocateNextchain.Prepends the specifiedVkExportMemoryAllocateInfoKHRvalue to thepMemoryAllocateNextchain.Prepends the specifiedVkExportMemoryAllocateInfoNVvalue to thepMemoryAllocateNextchain.Prepends the specifiedVkExportMemoryWin32HandleInfoKHRvalue to thepMemoryAllocateNextchain.Prepends the specifiedVkExportMemoryWin32HandleInfoNVvalue to thepMemoryAllocateNextchain.Prepends the specifiedVkExportMetalObjectCreateInfoEXTvalue to thepMemoryAllocateNextchain.Prepends the specifiedVkImportAndroidHardwareBufferInfoANDROIDvalue to thepMemoryAllocateNextchain.Prepends the specifiedVkImportMemoryFdInfoKHRvalue to thepMemoryAllocateNextchain.Prepends the specifiedVkImportMemoryHostPointerInfoEXTvalue to thepMemoryAllocateNextchain.Prepends the specifiedVkImportMemoryMetalHandleInfoEXTvalue to thepMemoryAllocateNextchain.Prepends the specifiedVkImportMemoryWin32HandleInfoKHRvalue to thepMemoryAllocateNextchain.Prepends the specifiedVkImportMemoryWin32HandleInfoNVvalue to thepMemoryAllocateNextchain.Prepends the specifiedVkImportMetalBufferInfoEXTvalue to thepMemoryAllocateNextchain.Prepends the specifiedVkMemoryAllocateFlagsInfovalue to thepMemoryAllocateNextchain.Prepends the specifiedVkMemoryAllocateFlagsInfoKHRvalue to thepMemoryAllocateNextchain.Prepends the specifiedVkMemoryDedicatedAllocateInfovalue to thepMemoryAllocateNextchain.Prepends the specifiedVkMemoryDedicatedAllocateInfoKHRvalue to thepMemoryAllocateNextchain.Prepends the specifiedVkMemoryDedicatedAllocateInfoTensorARMvalue to thepMemoryAllocateNextchain.Prepends the specifiedVkMemoryOpaqueCaptureAddressAllocateInfovalue to thepMemoryAllocateNextchain.Prepends the specifiedVkMemoryOpaqueCaptureAddressAllocateInfoKHRvalue to thepMemoryAllocateNextchain.Prepends the specifiedVkMemoryPriorityAllocateInfoEXTvalue to thepMemoryAllocateNextchain.floatpriority()priority(float value) Sets the specified value to thepriorityfield.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 newVmaPoolCreateInfo.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
VmaPoolCreateInfo.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
-
memoryTypeIndex
public int memoryTypeIndex()- Returns:
- the value of the
memoryTypeIndexfield.
-
flags
public int flags()- Returns:
- the value of the
flagsfield.
-
blockSize
public long blockSize()- Returns:
- the value of the
blockSizefield.
-
minBlockCount
public long minBlockCount()- Returns:
- the value of the
minBlockCountfield.
-
maxBlockCount
public long maxBlockCount()- Returns:
- the value of the
maxBlockCountfield.
-
priority
public float priority()- Returns:
- the value of the
priorityfield.
-
minAllocationAlignment
public long minAllocationAlignment()- Returns:
- the value of the
minAllocationAlignmentfield.
-
pMemoryAllocateNext
public long pMemoryAllocateNext()- Returns:
- the value of the
pMemoryAllocateNextfield.
-
memoryTypeIndex
Sets the specified value to thememoryTypeIndexfield. -
flags
Sets the specified value to theflagsfield. -
blockSize
Sets the specified value to theblockSizefield. -
minBlockCount
Sets the specified value to theminBlockCountfield. -
maxBlockCount
Sets the specified value to themaxBlockCountfield. -
priority
Sets the specified value to thepriorityfield. -
minAllocationAlignment
Sets the specified value to theminAllocationAlignmentfield. -
pMemoryAllocateNext
Sets the specified value to thepMemoryAllocateNextfield. -
pMemoryAllocateNext
public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(VkDedicatedAllocationMemoryAllocateInfoNV value) Prepends the specifiedVkDedicatedAllocationMemoryAllocateInfoNVvalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
Prepends the specifiedVkExportMemoryAllocateInfovalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
Prepends the specifiedVkExportMemoryAllocateInfoKHRvalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
Prepends the specifiedVkExportMemoryAllocateInfoNVvalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
Prepends the specifiedVkExportMemoryWin32HandleInfoKHRvalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
Prepends the specifiedVkExportMemoryWin32HandleInfoNVvalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
Prepends the specifiedVkExportMetalObjectCreateInfoEXTvalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
Prepends the specifiedVkImportAndroidHardwareBufferInfoANDROIDvalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
Prepends the specifiedVkImportMemoryFdInfoKHRvalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
Prepends the specifiedVkImportMemoryHostPointerInfoEXTvalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
Prepends the specifiedVkImportMemoryMetalHandleInfoEXTvalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
Prepends the specifiedVkImportMemoryWin32HandleInfoKHRvalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
Prepends the specifiedVkImportMemoryWin32HandleInfoNVvalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
Prepends the specifiedVkImportMetalBufferInfoEXTvalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
Prepends the specifiedVkMemoryAllocateFlagsInfovalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
Prepends the specifiedVkMemoryAllocateFlagsInfoKHRvalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
Prepends the specifiedVkMemoryDedicatedAllocateInfovalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
Prepends the specifiedVkMemoryDedicatedAllocateInfoKHRvalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
Prepends the specifiedVkMemoryDedicatedAllocateInfoTensorARMvalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
Prepends the specifiedVkMemoryOpaqueCaptureAddressAllocateInfovalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(VkMemoryOpaqueCaptureAddressAllocateInfoKHR value) Prepends the specifiedVkMemoryOpaqueCaptureAddressAllocateInfoKHRvalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
Prepends the specifiedVkMemoryPriorityAllocateInfoEXTvalue to thepMemoryAllocateNextchain.
-