Package org.lwjgl.util.vma
Class VmaPoolCreateInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VmaPoolCreateInfo,VmaPoolCreateInfo.Buffer>
-
- org.lwjgl.util.vma.VmaPoolCreateInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<VmaPoolCreateInfo>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- VmaPoolCreateInfo
public static class VmaPoolCreateInfo.Buffer extends org.lwjgl.system.StructBuffer<VmaPoolCreateInfo,VmaPoolCreateInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofVmaPoolCreateInfo
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
blockSize()
Returns the value of theblockSize
field.VmaPoolCreateInfo.Buffer
blockSize(long value)
Sets the specified value to theblockSize
field.int
flags()
Returns the value of theflags
field.VmaPoolCreateInfo.Buffer
flags(int value)
Sets the specified value to theflags
field.int
frameInUseCount()
Returns the value of theframeInUseCount
field.VmaPoolCreateInfo.Buffer
frameInUseCount(int value)
Sets the specified value to theframeInUseCount
field.long
maxBlockCount()
Returns the value of themaxBlockCount
field.VmaPoolCreateInfo.Buffer
maxBlockCount(long value)
Sets the specified value to themaxBlockCount
field.int
memoryTypeIndex()
Returns the value of thememoryTypeIndex
field.VmaPoolCreateInfo.Buffer
memoryTypeIndex(int value)
Sets the specified value to thememoryTypeIndex
field.long
minBlockCount()
Returns the value of theminBlockCount
field.VmaPoolCreateInfo.Buffer
minBlockCount(long value)
Sets the specified value to theminBlockCount
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVmaPoolCreateInfo.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 byVmaPoolCreateInfo.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
-
memoryTypeIndex
public int memoryTypeIndex()
Returns the value of thememoryTypeIndex
field.
-
flags
public int flags()
Returns the value of theflags
field.
-
blockSize
public long blockSize()
Returns the value of theblockSize
field.
-
minBlockCount
public long minBlockCount()
Returns the value of theminBlockCount
field.
-
maxBlockCount
public long maxBlockCount()
Returns the value of themaxBlockCount
field.
-
frameInUseCount
public int frameInUseCount()
Returns the value of theframeInUseCount
field.
-
memoryTypeIndex
public VmaPoolCreateInfo.Buffer memoryTypeIndex(int value)
Sets the specified value to thememoryTypeIndex
field.
-
flags
public VmaPoolCreateInfo.Buffer flags(int value)
Sets the specified value to theflags
field.
-
blockSize
public VmaPoolCreateInfo.Buffer blockSize(long value)
Sets the specified value to theblockSize
field.
-
minBlockCount
public VmaPoolCreateInfo.Buffer minBlockCount(long value)
Sets the specified value to theminBlockCount
field.
-
maxBlockCount
public VmaPoolCreateInfo.Buffer maxBlockCount(long value)
Sets the specified value to themaxBlockCount
field.
-
frameInUseCount
public VmaPoolCreateInfo.Buffer frameInUseCount(int value)
Sets the specified value to theframeInUseCount
field.
-
-