public static class VkDisplayPropertiesKHR.Buffer extends org.lwjgl.system.StructBuffer<VkDisplayPropertiesKHR,VkDisplayPropertiesKHR.Buffer> implements org.lwjgl.system.NativeResource
VkDisplayPropertiesKHR structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkDisplayPropertiesKHR.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
long |
display()
Returns the value of the
display field. |
java.nio.ByteBuffer |
displayName()
Returns a
ByteBuffer view of the null-terminated string pointed to by the displayName field. |
java.lang.String |
displayNameString()
Decodes the null-terminated string pointed to by the
displayName field. |
boolean |
persistentContent()
Returns the value of the
persistentContent field. |
VkExtent2D |
physicalDimensions()
Returns a
VkExtent2D view of the physicalDimensions field. |
VkExtent2D |
physicalResolution()
Returns a
VkExtent2D view of the physicalResolution field. |
boolean |
planeReorderPossible()
Returns the value of the
planeReorderPossible field. |
int |
supportedTransforms()
Returns the value of the
supportedTransforms field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
VkDisplayPropertiesKHR.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 VkDisplayPropertiesKHR.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 long display()
display field.public java.nio.ByteBuffer displayName()
ByteBuffer view of the null-terminated string pointed to by the displayName field.public java.lang.String displayNameString()
displayName field.public VkExtent2D physicalDimensions()
VkExtent2D view of the physicalDimensions field.public VkExtent2D physicalResolution()
VkExtent2D view of the physicalResolution field.public int supportedTransforms()
supportedTransforms field.public boolean planeReorderPossible()
planeReorderPossible field.public boolean persistentContent()
persistentContent field.Copyright LWJGL. All Rights Reserved. License terms.