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>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
VmaPoolCreateInfo
public static class VmaPoolCreateInfo.Buffer
extends org.lwjgl.system.StructBuffer<VmaPoolCreateInfo,VmaPoolCreateInfo.Buffer>
implements org.lwjgl.system.NativeResource
An array of
VmaPoolCreateInfo structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.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 theVmaPoolCreateInfo.blockSize()field.intflags()flags(int value) Sets the specified value to theVmaPoolCreateInfo.flags()field.longmaxBlockCount(long value) Sets the specified value to theVmaPoolCreateInfo.maxBlockCount()field.intmemoryTypeIndex(int value) Sets the specified value to theVmaPoolCreateInfo.memoryTypeIndex()field.longminAllocationAlignment(long value) Sets the specified value to theVmaPoolCreateInfo.minAllocationAlignment()field.longminBlockCount(long value) Sets the specified value to theVmaPoolCreateInfo.minBlockCount()field.longpMemoryAllocateNext(long value) Sets the specified value to theVmaPoolCreateInfo.pMemoryAllocateNext()field.pMemoryAllocateNext(org.lwjgl.vulkan.VkDedicatedAllocationMemoryAllocateInfoNV value) Prepends the specifiedVkDedicatedAllocationMemoryAllocateInfoNVvalue to thepMemoryAllocateNextchain.pMemoryAllocateNext(org.lwjgl.vulkan.VkExportMemoryAllocateInfo value) Prepends the specifiedVkExportMemoryAllocateInfovalue to thepMemoryAllocateNextchain.pMemoryAllocateNext(org.lwjgl.vulkan.VkExportMemoryAllocateInfoKHR value) Prepends the specifiedVkExportMemoryAllocateInfoKHRvalue to thepMemoryAllocateNextchain.pMemoryAllocateNext(org.lwjgl.vulkan.VkExportMemoryAllocateInfoNV value) Prepends the specifiedVkExportMemoryAllocateInfoNVvalue to thepMemoryAllocateNextchain.pMemoryAllocateNext(org.lwjgl.vulkan.VkExportMemoryWin32HandleInfoKHR value) Prepends the specifiedVkExportMemoryWin32HandleInfoKHRvalue to thepMemoryAllocateNextchain.pMemoryAllocateNext(org.lwjgl.vulkan.VkExportMemoryWin32HandleInfoNV value) Prepends the specifiedVkExportMemoryWin32HandleInfoNVvalue to thepMemoryAllocateNextchain.pMemoryAllocateNext(org.lwjgl.vulkan.VkExportMetalObjectCreateInfoEXT value) Prepends the specifiedVkExportMetalObjectCreateInfoEXTvalue to thepMemoryAllocateNextchain.pMemoryAllocateNext(org.lwjgl.vulkan.VkImportAndroidHardwareBufferInfoANDROID value) Prepends the specifiedVkImportAndroidHardwareBufferInfoANDROIDvalue to thepMemoryAllocateNextchain.pMemoryAllocateNext(org.lwjgl.vulkan.VkImportMemoryFdInfoKHR value) Prepends the specifiedVkImportMemoryFdInfoKHRvalue to thepMemoryAllocateNextchain.pMemoryAllocateNext(org.lwjgl.vulkan.VkImportMemoryHostPointerInfoEXT value) Prepends the specifiedVkImportMemoryHostPointerInfoEXTvalue to thepMemoryAllocateNextchain.pMemoryAllocateNext(org.lwjgl.vulkan.VkImportMemoryWin32HandleInfoKHR value) Prepends the specifiedVkImportMemoryWin32HandleInfoKHRvalue to thepMemoryAllocateNextchain.pMemoryAllocateNext(org.lwjgl.vulkan.VkImportMemoryWin32HandleInfoNV value) Prepends the specifiedVkImportMemoryWin32HandleInfoNVvalue to thepMemoryAllocateNextchain.pMemoryAllocateNext(org.lwjgl.vulkan.VkImportMetalBufferInfoEXT value) Prepends the specifiedVkImportMetalBufferInfoEXTvalue to thepMemoryAllocateNextchain.pMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryAllocateFlagsInfo value) Prepends the specifiedVkMemoryAllocateFlagsInfovalue to thepMemoryAllocateNextchain.pMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryAllocateFlagsInfoKHR value) Prepends the specifiedVkMemoryAllocateFlagsInfoKHRvalue to thepMemoryAllocateNextchain.pMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryDedicatedAllocateInfo value) Prepends the specifiedVkMemoryDedicatedAllocateInfovalue to thepMemoryAllocateNextchain.pMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryDedicatedAllocateInfoKHR value) Prepends the specifiedVkMemoryDedicatedAllocateInfoKHRvalue to thepMemoryAllocateNextchain.pMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryOpaqueCaptureAddressAllocateInfo value) Prepends the specifiedVkMemoryOpaqueCaptureAddressAllocateInfovalue to thepMemoryAllocateNextchain.pMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryOpaqueCaptureAddressAllocateInfoKHR value) Prepends the specifiedVkMemoryOpaqueCaptureAddressAllocateInfoKHRvalue to thepMemoryAllocateNextchain.pMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryPriorityAllocateInfoEXT value) Prepends the specifiedVkMemoryPriorityAllocateInfoEXTvalue to thepMemoryAllocateNextchain.floatpriority()priority(float value) Sets the specified value to theVmaPoolCreateInfo.priority()field.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
VmaPoolCreateInfo.memoryTypeIndex()field.
-
flags
public int flags()- Returns:
- the value of the
VmaPoolCreateInfo.flags()field.
-
blockSize
public long blockSize()- Returns:
- the value of the
VmaPoolCreateInfo.blockSize()field.
-
minBlockCount
public long minBlockCount()- Returns:
- the value of the
VmaPoolCreateInfo.minBlockCount()field.
-
maxBlockCount
public long maxBlockCount()- Returns:
- the value of the
VmaPoolCreateInfo.maxBlockCount()field.
-
priority
public float priority()- Returns:
- the value of the
VmaPoolCreateInfo.priority()field.
-
minAllocationAlignment
public long minAllocationAlignment()- Returns:
- the value of the
VmaPoolCreateInfo.minAllocationAlignment()field.
-
pMemoryAllocateNext
public long pMemoryAllocateNext()- Returns:
- the value of the
VmaPoolCreateInfo.pMemoryAllocateNext()field.
-
memoryTypeIndex
Sets the specified value to theVmaPoolCreateInfo.memoryTypeIndex()field. -
flags
Sets the specified value to theVmaPoolCreateInfo.flags()field. -
blockSize
Sets the specified value to theVmaPoolCreateInfo.blockSize()field. -
minBlockCount
Sets the specified value to theVmaPoolCreateInfo.minBlockCount()field. -
maxBlockCount
Sets the specified value to theVmaPoolCreateInfo.maxBlockCount()field. -
priority
Sets the specified value to theVmaPoolCreateInfo.priority()field. -
minAllocationAlignment
Sets the specified value to theVmaPoolCreateInfo.minAllocationAlignment()field. -
pMemoryAllocateNext
Sets the specified value to theVmaPoolCreateInfo.pMemoryAllocateNext()field. -
pMemoryAllocateNext
public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkDedicatedAllocationMemoryAllocateInfoNV value) Prepends the specifiedVkDedicatedAllocationMemoryAllocateInfoNVvalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkExportMemoryAllocateInfo value) Prepends the specifiedVkExportMemoryAllocateInfovalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkExportMemoryAllocateInfoKHR value) Prepends the specifiedVkExportMemoryAllocateInfoKHRvalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkExportMemoryAllocateInfoNV value) Prepends the specifiedVkExportMemoryAllocateInfoNVvalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkExportMemoryWin32HandleInfoKHR value) Prepends the specifiedVkExportMemoryWin32HandleInfoKHRvalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkExportMemoryWin32HandleInfoNV value) Prepends the specifiedVkExportMemoryWin32HandleInfoNVvalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkExportMetalObjectCreateInfoEXT value) Prepends the specifiedVkExportMetalObjectCreateInfoEXTvalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkImportAndroidHardwareBufferInfoANDROID value) Prepends the specifiedVkImportAndroidHardwareBufferInfoANDROIDvalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
Prepends the specifiedVkImportMemoryFdInfoKHRvalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkImportMemoryHostPointerInfoEXT value) Prepends the specifiedVkImportMemoryHostPointerInfoEXTvalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkImportMemoryWin32HandleInfoKHR value) Prepends the specifiedVkImportMemoryWin32HandleInfoKHRvalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkImportMemoryWin32HandleInfoNV value) Prepends the specifiedVkImportMemoryWin32HandleInfoNVvalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkImportMetalBufferInfoEXT value) Prepends the specifiedVkImportMetalBufferInfoEXTvalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryAllocateFlagsInfo value) Prepends the specifiedVkMemoryAllocateFlagsInfovalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryAllocateFlagsInfoKHR value) Prepends the specifiedVkMemoryAllocateFlagsInfoKHRvalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryDedicatedAllocateInfo value) Prepends the specifiedVkMemoryDedicatedAllocateInfovalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryDedicatedAllocateInfoKHR value) Prepends the specifiedVkMemoryDedicatedAllocateInfoKHRvalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryOpaqueCaptureAddressAllocateInfo value) Prepends the specifiedVkMemoryOpaqueCaptureAddressAllocateInfovalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryOpaqueCaptureAddressAllocateInfoKHR value) Prepends the specifiedVkMemoryOpaqueCaptureAddressAllocateInfoKHRvalue to thepMemoryAllocateNextchain. -
pMemoryAllocateNext
public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(org.lwjgl.vulkan.VkMemoryPriorityAllocateInfoEXT value) Prepends the specifiedVkMemoryPriorityAllocateInfoEXTvalue to thepMemoryAllocateNextchain.
-