public static class VkSurfaceCapabilities2EXT.Buffer extends org.lwjgl.system.StructBuffer<VkSurfaceCapabilities2EXT,VkSurfaceCapabilities2EXT.Buffer> implements org.lwjgl.system.NativeResource
VkSurfaceCapabilities2EXT structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkSurfaceCapabilities2EXT.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. |
long |
pNext()
Returns the value of the
pNext field. |
VkSurfaceCapabilities2EXT.Buffer |
pNext(long value)
Sets the specified value to the
pNext field. |
int |
sType()
Returns the value of the
sType field. |
VkSurfaceCapabilities2EXT.Buffer |
sType(int value)
Sets the specified value to the
sType field. |
int |
supportedCompositeAlpha()
Returns the value of the
supportedCompositeAlpha field. |
int |
supportedSurfaceCounters()
Returns the value of the
supportedSurfaceCounters 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)
VkSurfaceCapabilities2EXT.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 VkSurfaceCapabilities2EXT.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 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.public int supportedSurfaceCounters()
supportedSurfaceCounters field.public VkSurfaceCapabilities2EXT.Buffer sType(int value)
sType field.public VkSurfaceCapabilities2EXT.Buffer pNext(long value)
pNext field.Copyright LWJGL. All Rights Reserved. License terms.