public static class VmaDefragmentationInfo2.Buffer extends org.lwjgl.system.StructBuffer<VmaDefragmentationInfo2,VmaDefragmentationInfo2.Buffer> implements org.lwjgl.system.NativeResource
VmaDefragmentationInfo2 structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VmaDefragmentationInfo2.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
allocationCount()
Returns the value of the
allocationCount field. |
VmaDefragmentationInfo2.Buffer |
allocationCount(int value)
Sets the specified value to the
allocationCount field. |
long |
commandBuffer()
Returns the value of the
commandBuffer field. |
VmaDefragmentationInfo2.Buffer |
commandBuffer(org.lwjgl.vulkan.VkCommandBuffer value)
Sets the specified value to the
commandBuffer field. |
int |
flags()
Returns the value of the
flags field. |
VmaDefragmentationInfo2.Buffer |
flags(int value)
Sets the specified value to the
flags field. |
int |
maxCpuAllocationsToMove()
Returns the value of the
maxCpuAllocationsToMove field. |
VmaDefragmentationInfo2.Buffer |
maxCpuAllocationsToMove(int value)
Sets the specified value to the
maxCpuAllocationsToMove field. |
long |
maxCpuBytesToMove()
Returns the value of the
maxCpuBytesToMove field. |
VmaDefragmentationInfo2.Buffer |
maxCpuBytesToMove(long value)
Sets the specified value to the
maxCpuBytesToMove field. |
int |
maxGpuAllocationsToMove()
Returns the value of the
maxGpuAllocationsToMove field. |
VmaDefragmentationInfo2.Buffer |
maxGpuAllocationsToMove(int value)
Sets the specified value to the
maxGpuAllocationsToMove field. |
long |
maxGpuBytesToMove()
Returns the value of the
maxGpuBytesToMove field. |
VmaDefragmentationInfo2.Buffer |
maxGpuBytesToMove(long value)
Sets the specified value to the
maxGpuBytesToMove field. |
org.lwjgl.PointerBuffer |
pAllocations()
Returns a
PointerBuffer view of the data pointed to by the pAllocations field. |
VmaDefragmentationInfo2.Buffer |
pAllocations(org.lwjgl.PointerBuffer value)
Sets the address of the specified
PointerBuffer to the pAllocations field. |
java.nio.IntBuffer |
pAllocationsChanged()
Returns a
IntBuffer view of the data pointed to by the pAllocationsChanged field. |
VmaDefragmentationInfo2.Buffer |
pAllocationsChanged(java.nio.IntBuffer value)
Sets the address of the specified
IntBuffer to the pAllocationsChanged field. |
int |
poolCount()
Returns the value of the
poolCount field. |
VmaDefragmentationInfo2.Buffer |
poolCount(int value)
Sets the specified value to the
poolCount field. |
org.lwjgl.PointerBuffer |
pPools()
Returns a
PointerBuffer view of the data pointed to by the pPools field. |
VmaDefragmentationInfo2.Buffer |
pPools(org.lwjgl.PointerBuffer value)
Sets the address of the specified
PointerBuffer to the pPools field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
VmaDefragmentationInfo2.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 VmaDefragmentationInfo2.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public int flags()
flags field.public int allocationCount()
allocationCount field.public org.lwjgl.PointerBuffer pAllocations()
PointerBuffer view of the data pointed to by the pAllocations field.@Nullable public java.nio.IntBuffer pAllocationsChanged()
IntBuffer view of the data pointed to by the pAllocationsChanged field.public int poolCount()
poolCount field.@Nullable public org.lwjgl.PointerBuffer pPools()
PointerBuffer view of the data pointed to by the pPools field.public long maxCpuBytesToMove()
maxCpuBytesToMove field.public int maxCpuAllocationsToMove()
maxCpuAllocationsToMove field.public long maxGpuBytesToMove()
maxGpuBytesToMove field.public int maxGpuAllocationsToMove()
maxGpuAllocationsToMove field.@Nullable public long commandBuffer()
commandBuffer field.public VmaDefragmentationInfo2.Buffer flags(int value)
flags field.public VmaDefragmentationInfo2.Buffer allocationCount(int value)
allocationCount field.public VmaDefragmentationInfo2.Buffer pAllocations(org.lwjgl.PointerBuffer value)
PointerBuffer to the pAllocations field.public VmaDefragmentationInfo2.Buffer pAllocationsChanged(@Nullable java.nio.IntBuffer value)
IntBuffer to the pAllocationsChanged field.public VmaDefragmentationInfo2.Buffer poolCount(int value)
poolCount field.public VmaDefragmentationInfo2.Buffer pPools(@Nullable org.lwjgl.PointerBuffer value)
PointerBuffer to the pPools field.public VmaDefragmentationInfo2.Buffer maxCpuBytesToMove(long value)
maxCpuBytesToMove field.public VmaDefragmentationInfo2.Buffer maxCpuAllocationsToMove(int value)
maxCpuAllocationsToMove field.public VmaDefragmentationInfo2.Buffer maxGpuBytesToMove(long value)
maxGpuBytesToMove field.public VmaDefragmentationInfo2.Buffer maxGpuAllocationsToMove(int value)
maxGpuAllocationsToMove field.public VmaDefragmentationInfo2.Buffer commandBuffer(@Nullable org.lwjgl.vulkan.VkCommandBuffer value)
commandBuffer field.Copyright LWJGL. All Rights Reserved. License terms.