public static class VkDisplaySurfaceCreateInfoKHR.Buffer extends org.lwjgl.system.StructBuffer<VkDisplaySurfaceCreateInfoKHR,VkDisplaySurfaceCreateInfoKHR.Buffer> implements org.lwjgl.system.NativeResource
VkDisplaySurfaceCreateInfoKHR structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkDisplaySurfaceCreateInfoKHR.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
alphaMode()
Returns the value of the
alphaMode field. |
VkDisplaySurfaceCreateInfoKHR.Buffer |
alphaMode(int value)
Sets the specified value to the
alphaMode field. |
long |
displayMode()
Returns the value of the
displayMode field. |
VkDisplaySurfaceCreateInfoKHR.Buffer |
displayMode(long value)
Sets the specified value to the
displayMode field. |
int |
flags()
Returns the value of the
flags field. |
VkDisplaySurfaceCreateInfoKHR.Buffer |
flags(int value)
Sets the specified value to the
flags field. |
float |
globalAlpha()
Returns the value of the
globalAlpha field. |
VkDisplaySurfaceCreateInfoKHR.Buffer |
globalAlpha(float value)
Sets the specified value to the
globalAlpha field. |
VkExtent2D |
imageExtent()
Returns a
VkExtent2D view of the imageExtent field. |
VkDisplaySurfaceCreateInfoKHR.Buffer |
imageExtent(java.util.function.Consumer<VkExtent2D> consumer)
Passes the
imageExtent field to the specified Consumer. |
VkDisplaySurfaceCreateInfoKHR.Buffer |
imageExtent(VkExtent2D value)
Copies the specified
VkExtent2D to the imageExtent field. |
int |
planeIndex()
Returns the value of the
planeIndex field. |
VkDisplaySurfaceCreateInfoKHR.Buffer |
planeIndex(int value)
Sets the specified value to the
planeIndex field. |
int |
planeStackIndex()
Returns the value of the
planeStackIndex field. |
VkDisplaySurfaceCreateInfoKHR.Buffer |
planeStackIndex(int value)
Sets the specified value to the
planeStackIndex field. |
long |
pNext()
Returns the value of the
pNext field. |
VkDisplaySurfaceCreateInfoKHR.Buffer |
pNext(long value)
Sets the specified value to the
pNext field. |
int |
sType()
Returns the value of the
sType field. |
VkDisplaySurfaceCreateInfoKHR.Buffer |
sType(int value)
Sets the specified value to the
sType field. |
int |
transform()
Returns the value of the
transform field. |
VkDisplaySurfaceCreateInfoKHR.Buffer |
transform(int value)
Sets the specified value to the
transform field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
VkDisplaySurfaceCreateInfoKHR.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 VkDisplaySurfaceCreateInfoKHR.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 flags()
flags field.public long displayMode()
displayMode field.public int planeIndex()
planeIndex field.public int planeStackIndex()
planeStackIndex field.public int transform()
transform field.public float globalAlpha()
globalAlpha field.public int alphaMode()
alphaMode field.public VkExtent2D imageExtent()
VkExtent2D view of the imageExtent field.public VkDisplaySurfaceCreateInfoKHR.Buffer sType(int value)
sType field.public VkDisplaySurfaceCreateInfoKHR.Buffer pNext(long value)
pNext field.public VkDisplaySurfaceCreateInfoKHR.Buffer flags(int value)
flags field.public VkDisplaySurfaceCreateInfoKHR.Buffer displayMode(long value)
displayMode field.public VkDisplaySurfaceCreateInfoKHR.Buffer planeIndex(int value)
planeIndex field.public VkDisplaySurfaceCreateInfoKHR.Buffer planeStackIndex(int value)
planeStackIndex field.public VkDisplaySurfaceCreateInfoKHR.Buffer transform(int value)
transform field.public VkDisplaySurfaceCreateInfoKHR.Buffer globalAlpha(float value)
globalAlpha field.public VkDisplaySurfaceCreateInfoKHR.Buffer alphaMode(int value)
alphaMode field.public VkDisplaySurfaceCreateInfoKHR.Buffer imageExtent(VkExtent2D value)
VkExtent2D to the imageExtent field.public VkDisplaySurfaceCreateInfoKHR.Buffer imageExtent(java.util.function.Consumer<VkExtent2D> consumer)
imageExtent field to the specified Consumer.Copyright LWJGL. All Rights Reserved. License terms.