public static class VkSwapchainCreateInfoKHR.Buffer extends org.lwjgl.system.StructBuffer<VkSwapchainCreateInfoKHR,VkSwapchainCreateInfoKHR.Buffer> implements org.lwjgl.system.NativeResource
VkSwapchainCreateInfoKHR structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkSwapchainCreateInfoKHR.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
clipped()
Returns the value of the
clipped field. |
VkSwapchainCreateInfoKHR.Buffer |
clipped(boolean value)
Sets the specified value to the
clipped field. |
int |
compositeAlpha()
Returns the value of the
compositeAlpha field. |
VkSwapchainCreateInfoKHR.Buffer |
compositeAlpha(int value)
Sets the specified value to the
compositeAlpha field. |
int |
flags()
Returns the value of the
flags field. |
VkSwapchainCreateInfoKHR.Buffer |
flags(int value)
Sets the specified value to the
flags field. |
int |
imageArrayLayers()
Returns the value of the
imageArrayLayers field. |
VkSwapchainCreateInfoKHR.Buffer |
imageArrayLayers(int value)
Sets the specified value to the
imageArrayLayers field. |
int |
imageColorSpace()
Returns the value of the
imageColorSpace field. |
VkSwapchainCreateInfoKHR.Buffer |
imageColorSpace(int value)
Sets the specified value to the
imageColorSpace field. |
VkExtent2D |
imageExtent()
Returns a
VkExtent2D view of the imageExtent field. |
VkSwapchainCreateInfoKHR.Buffer |
imageExtent(java.util.function.Consumer<VkExtent2D> consumer)
Passes the
imageExtent field to the specified Consumer. |
VkSwapchainCreateInfoKHR.Buffer |
imageExtent(VkExtent2D value)
Copies the specified
VkExtent2D to the imageExtent field. |
int |
imageFormat()
Returns the value of the
imageFormat field. |
VkSwapchainCreateInfoKHR.Buffer |
imageFormat(int value)
Sets the specified value to the
imageFormat field. |
int |
imageSharingMode()
Returns the value of the
imageSharingMode field. |
VkSwapchainCreateInfoKHR.Buffer |
imageSharingMode(int value)
Sets the specified value to the
imageSharingMode field. |
int |
imageUsage()
Returns the value of the
imageUsage field. |
VkSwapchainCreateInfoKHR.Buffer |
imageUsage(int value)
Sets the specified value to the
imageUsage field. |
int |
minImageCount()
Returns the value of the
minImageCount field. |
VkSwapchainCreateInfoKHR.Buffer |
minImageCount(int value)
Sets the specified value to the
minImageCount field. |
long |
oldSwapchain()
Returns the value of the
oldSwapchain field. |
VkSwapchainCreateInfoKHR.Buffer |
oldSwapchain(long value)
Sets the specified value to the
oldSwapchain field. |
long |
pNext()
Returns the value of the
pNext field. |
VkSwapchainCreateInfoKHR.Buffer |
pNext(long value)
Sets the specified value to the
pNext field. |
java.nio.IntBuffer |
pQueueFamilyIndices()
Returns a
IntBuffer view of the data pointed to by the pQueueFamilyIndices field. |
VkSwapchainCreateInfoKHR.Buffer |
pQueueFamilyIndices(java.nio.IntBuffer value)
Sets the address of the specified
IntBuffer to the pQueueFamilyIndices field. |
int |
presentMode()
Returns the value of the
presentMode field. |
VkSwapchainCreateInfoKHR.Buffer |
presentMode(int value)
Sets the specified value to the
presentMode field. |
int |
preTransform()
Returns the value of the
preTransform field. |
VkSwapchainCreateInfoKHR.Buffer |
preTransform(int value)
Sets the specified value to the
preTransform field. |
int |
queueFamilyIndexCount()
Returns the value of the
queueFamilyIndexCount field. |
int |
sType()
Returns the value of the
sType field. |
VkSwapchainCreateInfoKHR.Buffer |
sType(int value)
Sets the specified value to the
sType field. |
long |
surface()
Returns the value of the
surface field. |
VkSwapchainCreateInfoKHR.Buffer |
surface(long value)
Sets the specified value to the
surface field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
VkSwapchainCreateInfoKHR.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 VkSwapchainCreateInfoKHR.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 surface()
surface field.public int minImageCount()
minImageCount field.public int imageFormat()
imageFormat field.public int imageColorSpace()
imageColorSpace field.public VkExtent2D imageExtent()
VkExtent2D view of the imageExtent field.public int imageArrayLayers()
imageArrayLayers field.public int imageUsage()
imageUsage field.public int imageSharingMode()
imageSharingMode field.public int queueFamilyIndexCount()
queueFamilyIndexCount field.@Nullable public java.nio.IntBuffer pQueueFamilyIndices()
IntBuffer view of the data pointed to by the pQueueFamilyIndices field.public int preTransform()
preTransform field.public int compositeAlpha()
compositeAlpha field.public int presentMode()
presentMode field.public boolean clipped()
clipped field.public long oldSwapchain()
oldSwapchain field.public VkSwapchainCreateInfoKHR.Buffer sType(int value)
sType field.public VkSwapchainCreateInfoKHR.Buffer pNext(long value)
pNext field.public VkSwapchainCreateInfoKHR.Buffer flags(int value)
flags field.public VkSwapchainCreateInfoKHR.Buffer surface(long value)
surface field.public VkSwapchainCreateInfoKHR.Buffer minImageCount(int value)
minImageCount field.public VkSwapchainCreateInfoKHR.Buffer imageFormat(int value)
imageFormat field.public VkSwapchainCreateInfoKHR.Buffer imageColorSpace(int value)
imageColorSpace field.public VkSwapchainCreateInfoKHR.Buffer imageExtent(VkExtent2D value)
VkExtent2D to the imageExtent field.public VkSwapchainCreateInfoKHR.Buffer imageExtent(java.util.function.Consumer<VkExtent2D> consumer)
imageExtent field to the specified Consumer.public VkSwapchainCreateInfoKHR.Buffer imageArrayLayers(int value)
imageArrayLayers field.public VkSwapchainCreateInfoKHR.Buffer imageUsage(int value)
imageUsage field.public VkSwapchainCreateInfoKHR.Buffer imageSharingMode(int value)
imageSharingMode field.public VkSwapchainCreateInfoKHR.Buffer pQueueFamilyIndices(@Nullable java.nio.IntBuffer value)
IntBuffer to the pQueueFamilyIndices field.public VkSwapchainCreateInfoKHR.Buffer preTransform(int value)
preTransform field.public VkSwapchainCreateInfoKHR.Buffer compositeAlpha(int value)
compositeAlpha field.public VkSwapchainCreateInfoKHR.Buffer presentMode(int value)
presentMode field.public VkSwapchainCreateInfoKHR.Buffer clipped(boolean value)
clipped field.public VkSwapchainCreateInfoKHR.Buffer oldSwapchain(long value)
oldSwapchain field.Copyright LWJGL. All Rights Reserved. License terms.