Package org.lwjgl.util.vma
Class VmaDefragmentationInfo2.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VmaDefragmentationInfo2,VmaDefragmentationInfo2.Buffer>
-
- org.lwjgl.util.vma.VmaDefragmentationInfo2.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VmaDefragmentationInfo2>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VmaDefragmentationInfo2
public static class VmaDefragmentationInfo2.Buffer extends org.lwjgl.system.StructBuffer<VmaDefragmentationInfo2,VmaDefragmentationInfo2.Buffer> implements org.lwjgl.system.NativeResource
An array ofVmaDefragmentationInfo2structs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVmaDefragmentationInfo2.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 byVmaDefragmentationInfo2.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 Detail
-
flags
public int flags()
- Returns:
- the value of the
VmaDefragmentationInfo2.flags()field.
-
allocationCount
public int allocationCount()
- Returns:
- the value of the
VmaDefragmentationInfo2.allocationCount()field.
-
pAllocations
public org.lwjgl.PointerBuffer pAllocations()
- Returns:
- a
PointerBufferview of the data pointed to by theVmaDefragmentationInfo2.pAllocations()field.
-
pAllocationsChanged
@Nullable public java.nio.IntBuffer pAllocationsChanged()
- Returns:
- a
IntBufferview of the data pointed to by theVmaDefragmentationInfo2.pAllocationsChanged()field.
-
poolCount
public int poolCount()
- Returns:
- the value of the
VmaDefragmentationInfo2.poolCount()field.
-
pPools
@Nullable public org.lwjgl.PointerBuffer pPools()
- Returns:
- a
PointerBufferview of the data pointed to by theVmaDefragmentationInfo2.pPools()field.
-
maxCpuBytesToMove
public long maxCpuBytesToMove()
- Returns:
- the value of the
VmaDefragmentationInfo2.maxCpuBytesToMove()field.
-
maxCpuAllocationsToMove
public int maxCpuAllocationsToMove()
- Returns:
- the value of the
VmaDefragmentationInfo2.maxCpuAllocationsToMove()field.
-
maxGpuBytesToMove
public long maxGpuBytesToMove()
- Returns:
- the value of the
VmaDefragmentationInfo2.maxGpuBytesToMove()field.
-
maxGpuAllocationsToMove
public int maxGpuAllocationsToMove()
- Returns:
- the value of the
VmaDefragmentationInfo2.maxGpuAllocationsToMove()field.
-
commandBuffer
@Nullable public long commandBuffer()
- Returns:
- the value of the
VmaDefragmentationInfo2.commandBuffer()field.
-
flags
public VmaDefragmentationInfo2.Buffer flags(int value)
Sets the specified value to theVmaDefragmentationInfo2.flags()field.
-
allocationCount
public VmaDefragmentationInfo2.Buffer allocationCount(int value)
Sets the specified value to theVmaDefragmentationInfo2.allocationCount()field.
-
pAllocations
public VmaDefragmentationInfo2.Buffer pAllocations(org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBufferto theVmaDefragmentationInfo2.pAllocations()field.
-
pAllocationsChanged
public VmaDefragmentationInfo2.Buffer pAllocationsChanged(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto theVmaDefragmentationInfo2.pAllocationsChanged()field.
-
poolCount
public VmaDefragmentationInfo2.Buffer poolCount(int value)
Sets the specified value to theVmaDefragmentationInfo2.poolCount()field.
-
pPools
public VmaDefragmentationInfo2.Buffer pPools(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBufferto theVmaDefragmentationInfo2.pPools()field.
-
maxCpuBytesToMove
public VmaDefragmentationInfo2.Buffer maxCpuBytesToMove(long value)
Sets the specified value to theVmaDefragmentationInfo2.maxCpuBytesToMove()field.
-
maxCpuAllocationsToMove
public VmaDefragmentationInfo2.Buffer maxCpuAllocationsToMove(int value)
Sets the specified value to theVmaDefragmentationInfo2.maxCpuAllocationsToMove()field.
-
maxGpuBytesToMove
public VmaDefragmentationInfo2.Buffer maxGpuBytesToMove(long value)
Sets the specified value to theVmaDefragmentationInfo2.maxGpuBytesToMove()field.
-
maxGpuAllocationsToMove
public VmaDefragmentationInfo2.Buffer maxGpuAllocationsToMove(int value)
Sets the specified value to theVmaDefragmentationInfo2.maxGpuAllocationsToMove()field.
-
commandBuffer
public VmaDefragmentationInfo2.Buffer commandBuffer(@Nullable org.lwjgl.vulkan.VkCommandBuffer value)
Sets the specified value to theVmaDefragmentationInfo2.commandBuffer()field.
-
-