public static class VmaStats.Buffer extends org.lwjgl.system.StructBuffer<VmaStats,VmaStats.Buffer> implements org.lwjgl.system.NativeResource
VmaStats structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VmaStats.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
VmaStatInfo.Buffer |
memoryHeap()
Returns a
VmaStatInfo.Buffer view of the memoryHeap field. |
VmaStatInfo |
memoryHeap(int index)
Returns a
VmaStatInfo view of the struct at the specified index of the memoryHeap field. |
VmaStatInfo.Buffer |
memoryType()
Returns a
VmaStatInfo.Buffer view of the memoryType field. |
VmaStatInfo |
memoryType(int index)
Returns a
VmaStatInfo view of the struct at the specified index of the memoryType field. |
VmaStatInfo |
total()
Returns a
VmaStatInfo view of the total field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
VmaStats.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 VmaStats.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 VmaStatInfo.Buffer memoryType()
VmaStatInfo.Buffer view of the memoryType field.public VmaStatInfo memoryType(int index)
VmaStatInfo view of the struct at the specified index of the memoryType field.public VmaStatInfo.Buffer memoryHeap()
VmaStatInfo.Buffer view of the memoryHeap field.public VmaStatInfo memoryHeap(int index)
VmaStatInfo view of the struct at the specified index of the memoryHeap field.public VmaStatInfo total()
VmaStatInfo view of the total field.Copyright LWJGL. All Rights Reserved. License terms.