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