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 ofVmaDefragmentationInfo2
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
allocationCount()
Returns the value of theallocationCount
field.VmaDefragmentationInfo2.Buffer
allocationCount(int value)
Sets the specified value to theallocationCount
field.long
commandBuffer()
Returns the value of thecommandBuffer
field.VmaDefragmentationInfo2.Buffer
commandBuffer(org.lwjgl.vulkan.VkCommandBuffer value)
Sets the specified value to thecommandBuffer
field.int
flags()
Returns the value of theflags
field.VmaDefragmentationInfo2.Buffer
flags(int value)
Sets the specified value to theflags
field.int
maxCpuAllocationsToMove()
Returns the value of themaxCpuAllocationsToMove
field.VmaDefragmentationInfo2.Buffer
maxCpuAllocationsToMove(int value)
Sets the specified value to themaxCpuAllocationsToMove
field.long
maxCpuBytesToMove()
Returns the value of themaxCpuBytesToMove
field.VmaDefragmentationInfo2.Buffer
maxCpuBytesToMove(long value)
Sets the specified value to themaxCpuBytesToMove
field.int
maxGpuAllocationsToMove()
Returns the value of themaxGpuAllocationsToMove
field.VmaDefragmentationInfo2.Buffer
maxGpuAllocationsToMove(int value)
Sets the specified value to themaxGpuAllocationsToMove
field.long
maxGpuBytesToMove()
Returns the value of themaxGpuBytesToMove
field.VmaDefragmentationInfo2.Buffer
maxGpuBytesToMove(long value)
Sets the specified value to themaxGpuBytesToMove
field.org.lwjgl.PointerBuffer
pAllocations()
Returns aPointerBuffer
view of the data pointed to by thepAllocations
field.VmaDefragmentationInfo2.Buffer
pAllocations(org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to thepAllocations
field.java.nio.IntBuffer
pAllocationsChanged()
Returns aIntBuffer
view of the data pointed to by thepAllocationsChanged
field.VmaDefragmentationInfo2.Buffer
pAllocationsChanged(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepAllocationsChanged
field.int
poolCount()
Returns the value of thepoolCount
field.VmaDefragmentationInfo2.Buffer
poolCount(int value)
Sets the specified value to thepoolCount
field.org.lwjgl.PointerBuffer
pPools()
Returns aPointerBuffer
view of the data pointed to by thepPools
field.VmaDefragmentationInfo2.Buffer
pPools(org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to thepPools
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVmaDefragmentationInfo2.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 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 theflags
field.
-
allocationCount
public int allocationCount()
Returns the value of theallocationCount
field.
-
pAllocations
public org.lwjgl.PointerBuffer pAllocations()
Returns aPointerBuffer
view of the data pointed to by thepAllocations
field.
-
pAllocationsChanged
@Nullable public java.nio.IntBuffer pAllocationsChanged()
Returns aIntBuffer
view of the data pointed to by thepAllocationsChanged
field.
-
poolCount
public int poolCount()
Returns the value of thepoolCount
field.
-
pPools
@Nullable public org.lwjgl.PointerBuffer pPools()
Returns aPointerBuffer
view of the data pointed to by thepPools
field.
-
maxCpuBytesToMove
public long maxCpuBytesToMove()
Returns the value of themaxCpuBytesToMove
field.
-
maxCpuAllocationsToMove
public int maxCpuAllocationsToMove()
Returns the value of themaxCpuAllocationsToMove
field.
-
maxGpuBytesToMove
public long maxGpuBytesToMove()
Returns the value of themaxGpuBytesToMove
field.
-
maxGpuAllocationsToMove
public int maxGpuAllocationsToMove()
Returns the value of themaxGpuAllocationsToMove
field.
-
commandBuffer
@Nullable public long commandBuffer()
Returns the value of thecommandBuffer
field.
-
flags
public VmaDefragmentationInfo2.Buffer flags(int value)
Sets the specified value to theflags
field.
-
allocationCount
public VmaDefragmentationInfo2.Buffer allocationCount(int value)
Sets the specified value to theallocationCount
field.
-
pAllocations
public VmaDefragmentationInfo2.Buffer pAllocations(org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to thepAllocations
field.
-
pAllocationsChanged
public VmaDefragmentationInfo2.Buffer pAllocationsChanged(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepAllocationsChanged
field.
-
poolCount
public VmaDefragmentationInfo2.Buffer poolCount(int value)
Sets the specified value to thepoolCount
field.
-
pPools
public VmaDefragmentationInfo2.Buffer pPools(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to thepPools
field.
-
maxCpuBytesToMove
public VmaDefragmentationInfo2.Buffer maxCpuBytesToMove(long value)
Sets the specified value to themaxCpuBytesToMove
field.
-
maxCpuAllocationsToMove
public VmaDefragmentationInfo2.Buffer maxCpuAllocationsToMove(int value)
Sets the specified value to themaxCpuAllocationsToMove
field.
-
maxGpuBytesToMove
public VmaDefragmentationInfo2.Buffer maxGpuBytesToMove(long value)
Sets the specified value to themaxGpuBytesToMove
field.
-
maxGpuAllocationsToMove
public VmaDefragmentationInfo2.Buffer maxGpuAllocationsToMove(int value)
Sets the specified value to themaxGpuAllocationsToMove
field.
-
commandBuffer
public VmaDefragmentationInfo2.Buffer commandBuffer(@Nullable org.lwjgl.vulkan.VkCommandBuffer value)
Sets the specified value to thecommandBuffer
field.
-
-