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