public static class VkSurfaceCapabilitiesKHR.Buffer extends org.lwjgl.system.StructBuffer<VkSurfaceCapabilitiesKHR,VkSurfaceCapabilitiesKHR.Buffer> implements org.lwjgl.system.NativeResource
VkSurfaceCapabilitiesKHR structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkSurfaceCapabilitiesKHR.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
VkExtent2D |
currentExtent()
Returns a
VkExtent2D view of the currentExtent field. |
int |
currentTransform()
Returns the value of the
currentTransform field. |
int |
maxImageArrayLayers()
Returns the value of the
maxImageArrayLayers field. |
int |
maxImageCount()
Returns the value of the
maxImageCount field. |
VkExtent2D |
maxImageExtent()
Returns a
VkExtent2D view of the maxImageExtent field. |
int |
minImageCount()
Returns the value of the
minImageCount field. |
VkExtent2D |
minImageExtent()
Returns a
VkExtent2D view of the minImageExtent field. |
int |
supportedCompositeAlpha()
Returns the value of the
supportedCompositeAlpha field. |
int |
supportedTransforms()
Returns the value of the
supportedTransforms field. |
int |
supportedUsageFlags()
Returns the value of the
supportedUsageFlags field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
VkSurfaceCapabilitiesKHR.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 VkSurfaceCapabilitiesKHR.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 minImageCount()
minImageCount field.public int maxImageCount()
maxImageCount field.public VkExtent2D currentExtent()
VkExtent2D view of the currentExtent field.public VkExtent2D minImageExtent()
VkExtent2D view of the minImageExtent field.public VkExtent2D maxImageExtent()
VkExtent2D view of the maxImageExtent field.public int maxImageArrayLayers()
maxImageArrayLayers field.public int supportedTransforms()
supportedTransforms field.public int currentTransform()
currentTransform field.public int supportedCompositeAlpha()
supportedCompositeAlpha field.public int supportedUsageFlags()
supportedUsageFlags field.Copyright LWJGL. All Rights Reserved. License terms.