public static class VmaPoolCreateInfo.Buffer extends org.lwjgl.system.StructBuffer<VmaPoolCreateInfo,VmaPoolCreateInfo.Buffer> implements org.lwjgl.system.NativeResource
VmaPoolCreateInfo structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VmaPoolCreateInfo.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
long |
blockSize()
Returns the value of the
blockSize field. |
VmaPoolCreateInfo.Buffer |
blockSize(long value)
Sets the specified value to the
blockSize field. |
int |
flags()
Returns the value of the
flags field. |
VmaPoolCreateInfo.Buffer |
flags(int value)
Sets the specified value to the
flags field. |
int |
frameInUseCount()
Returns the value of the
frameInUseCount field. |
VmaPoolCreateInfo.Buffer |
frameInUseCount(int value)
Sets the specified value to the
frameInUseCount field. |
long |
maxBlockCount()
Returns the value of the
maxBlockCount field. |
VmaPoolCreateInfo.Buffer |
maxBlockCount(long value)
Sets the specified value to the
maxBlockCount field. |
int |
memoryTypeIndex()
Returns the value of the
memoryTypeIndex field. |
VmaPoolCreateInfo.Buffer |
memoryTypeIndex(int value)
Sets the specified value to the
memoryTypeIndex field. |
long |
minBlockCount()
Returns the value of the
minBlockCount field. |
VmaPoolCreateInfo.Buffer |
minBlockCount(long value)
Sets the specified value to the
minBlockCount field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
VmaPoolCreateInfo.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.
public Buffer(long address,
int cap)
public int memoryTypeIndex()
memoryTypeIndex field.public int flags()
flags field.public long blockSize()
blockSize field.public long minBlockCount()
minBlockCount field.public long maxBlockCount()
maxBlockCount field.public int frameInUseCount()
frameInUseCount field.public VmaPoolCreateInfo.Buffer memoryTypeIndex(int value)
memoryTypeIndex field.public VmaPoolCreateInfo.Buffer flags(int value)
flags field.public VmaPoolCreateInfo.Buffer blockSize(long value)
blockSize field.public VmaPoolCreateInfo.Buffer minBlockCount(long value)
minBlockCount field.public VmaPoolCreateInfo.Buffer maxBlockCount(long value)
maxBlockCount field.public VmaPoolCreateInfo.Buffer frameInUseCount(int value)
frameInUseCount field.Copyright LWJGL. All Rights Reserved. License terms.