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.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionlong
blockSize
(long value) Sets the specified value to theblockSize
field.int
flags()
flags
(int value) Sets the specified value to theflags
field.long
maxBlockCount
(long value) Sets the specified value to themaxBlockCount
field.int
memoryTypeIndex
(int value) Sets the specified value to thememoryTypeIndex
field.long
minAllocationAlignment
(long value) Sets the specified value to theminAllocationAlignment
field.long
minBlockCount
(long value) Sets the specified value to theminBlockCount
field.long
pMemoryAllocateNext
(long value) Sets the specified value to thepMemoryAllocateNext
field.Prepends the specifiedVkDedicatedAllocationMemoryAllocateInfoNV
value to thepMemoryAllocateNext
chain.Prepends the specifiedVkExportMemoryAllocateInfo
value to thepMemoryAllocateNext
chain.Prepends the specifiedVkExportMemoryAllocateInfoKHR
value to thepMemoryAllocateNext
chain.Prepends the specifiedVkExportMemoryAllocateInfoNV
value to thepMemoryAllocateNext
chain.Prepends the specifiedVkExportMemoryWin32HandleInfoKHR
value to thepMemoryAllocateNext
chain.Prepends the specifiedVkExportMemoryWin32HandleInfoNV
value to thepMemoryAllocateNext
chain.Prepends the specifiedVkExportMetalObjectCreateInfoEXT
value to thepMemoryAllocateNext
chain.Prepends the specifiedVkImportAndroidHardwareBufferInfoANDROID
value to thepMemoryAllocateNext
chain.Prepends the specifiedVkImportMemoryFdInfoKHR
value to thepMemoryAllocateNext
chain.Prepends the specifiedVkImportMemoryHostPointerInfoEXT
value to thepMemoryAllocateNext
chain.Prepends the specifiedVkImportMemoryMetalHandleInfoEXT
value to thepMemoryAllocateNext
chain.Prepends the specifiedVkImportMemoryWin32HandleInfoKHR
value to thepMemoryAllocateNext
chain.Prepends the specifiedVkImportMemoryWin32HandleInfoNV
value to thepMemoryAllocateNext
chain.Prepends the specifiedVkImportMetalBufferInfoEXT
value to thepMemoryAllocateNext
chain.Prepends the specifiedVkMemoryAllocateFlagsInfo
value to thepMemoryAllocateNext
chain.Prepends the specifiedVkMemoryAllocateFlagsInfoKHR
value to thepMemoryAllocateNext
chain.Prepends the specifiedVkMemoryDedicatedAllocateInfo
value to thepMemoryAllocateNext
chain.Prepends the specifiedVkMemoryDedicatedAllocateInfoKHR
value to thepMemoryAllocateNext
chain.Prepends the specifiedVkMemoryDedicatedAllocateInfoTensorARM
value to thepMemoryAllocateNext
chain.Prepends the specifiedVkMemoryOpaqueCaptureAddressAllocateInfo
value to thepMemoryAllocateNext
chain.Prepends the specifiedVkMemoryOpaqueCaptureAddressAllocateInfoKHR
value to thepMemoryAllocateNext
chain.Prepends the specifiedVkMemoryPriorityAllocateInfoEXT
value to thepMemoryAllocateNext
chain.float
priority()
priority
(float value) Sets the specified value to thepriority
field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods 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, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newVmaPoolCreateInfo.Buffer
instance 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
memoryTypeIndex
field.
-
flags
public int flags()- Returns:
- the value of the
flags
field.
-
blockSize
public long blockSize()- Returns:
- the value of the
blockSize
field.
-
minBlockCount
public long minBlockCount()- Returns:
- the value of the
minBlockCount
field.
-
maxBlockCount
public long maxBlockCount()- Returns:
- the value of the
maxBlockCount
field.
-
priority
public float priority()- Returns:
- the value of the
priority
field.
-
minAllocationAlignment
public long minAllocationAlignment()- Returns:
- the value of the
minAllocationAlignment
field.
-
pMemoryAllocateNext
public long pMemoryAllocateNext()- Returns:
- the value of the
pMemoryAllocateNext
field.
-
memoryTypeIndex
Sets the specified value to thememoryTypeIndex
field. -
flags
Sets the specified value to theflags
field. -
blockSize
Sets the specified value to theblockSize
field. -
minBlockCount
Sets the specified value to theminBlockCount
field. -
maxBlockCount
Sets the specified value to themaxBlockCount
field. -
priority
Sets the specified value to thepriority
field. -
minAllocationAlignment
Sets the specified value to theminAllocationAlignment
field. -
pMemoryAllocateNext
Sets the specified value to thepMemoryAllocateNext
field. -
pMemoryAllocateNext
public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(VkDedicatedAllocationMemoryAllocateInfoNV value) Prepends the specifiedVkDedicatedAllocationMemoryAllocateInfoNV
value to thepMemoryAllocateNext
chain. -
pMemoryAllocateNext
Prepends the specifiedVkExportMemoryAllocateInfo
value to thepMemoryAllocateNext
chain. -
pMemoryAllocateNext
Prepends the specifiedVkExportMemoryAllocateInfoKHR
value to thepMemoryAllocateNext
chain. -
pMemoryAllocateNext
Prepends the specifiedVkExportMemoryAllocateInfoNV
value to thepMemoryAllocateNext
chain. -
pMemoryAllocateNext
Prepends the specifiedVkExportMemoryWin32HandleInfoKHR
value to thepMemoryAllocateNext
chain. -
pMemoryAllocateNext
Prepends the specifiedVkExportMemoryWin32HandleInfoNV
value to thepMemoryAllocateNext
chain. -
pMemoryAllocateNext
Prepends the specifiedVkExportMetalObjectCreateInfoEXT
value to thepMemoryAllocateNext
chain. -
pMemoryAllocateNext
Prepends the specifiedVkImportAndroidHardwareBufferInfoANDROID
value to thepMemoryAllocateNext
chain. -
pMemoryAllocateNext
Prepends the specifiedVkImportMemoryFdInfoKHR
value to thepMemoryAllocateNext
chain. -
pMemoryAllocateNext
Prepends the specifiedVkImportMemoryHostPointerInfoEXT
value to thepMemoryAllocateNext
chain. -
pMemoryAllocateNext
Prepends the specifiedVkImportMemoryMetalHandleInfoEXT
value to thepMemoryAllocateNext
chain. -
pMemoryAllocateNext
Prepends the specifiedVkImportMemoryWin32HandleInfoKHR
value to thepMemoryAllocateNext
chain. -
pMemoryAllocateNext
Prepends the specifiedVkImportMemoryWin32HandleInfoNV
value to thepMemoryAllocateNext
chain. -
pMemoryAllocateNext
Prepends the specifiedVkImportMetalBufferInfoEXT
value to thepMemoryAllocateNext
chain. -
pMemoryAllocateNext
Prepends the specifiedVkMemoryAllocateFlagsInfo
value to thepMemoryAllocateNext
chain. -
pMemoryAllocateNext
Prepends the specifiedVkMemoryAllocateFlagsInfoKHR
value to thepMemoryAllocateNext
chain. -
pMemoryAllocateNext
Prepends the specifiedVkMemoryDedicatedAllocateInfo
value to thepMemoryAllocateNext
chain. -
pMemoryAllocateNext
Prepends the specifiedVkMemoryDedicatedAllocateInfoKHR
value to thepMemoryAllocateNext
chain. -
pMemoryAllocateNext
Prepends the specifiedVkMemoryDedicatedAllocateInfoTensorARM
value to thepMemoryAllocateNext
chain. -
pMemoryAllocateNext
Prepends the specifiedVkMemoryOpaqueCaptureAddressAllocateInfo
value to thepMemoryAllocateNext
chain. -
pMemoryAllocateNext
public VmaPoolCreateInfo.Buffer pMemoryAllocateNext(VkMemoryOpaqueCaptureAddressAllocateInfoKHR value) Prepends the specifiedVkMemoryOpaqueCaptureAddressAllocateInfoKHR
value to thepMemoryAllocateNext
chain. -
pMemoryAllocateNext
Prepends the specifiedVkMemoryPriorityAllocateInfoEXT
value to thepMemoryAllocateNext
chain.
-