Package org.lwjgl.vulkan
Class VkSwapchainCreateInfoKHR.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkSwapchainCreateInfoKHR,VkSwapchainCreateInfoKHR.Buffer>
-
- org.lwjgl.vulkan.VkSwapchainCreateInfoKHR.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkSwapchainCreateInfoKHR>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkSwapchainCreateInfoKHR
public static class VkSwapchainCreateInfoKHR.Buffer extends org.lwjgl.system.StructBuffer<VkSwapchainCreateInfoKHR,VkSwapchainCreateInfoKHR.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkSwapchainCreateInfoKHRstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkSwapchainCreateInfoKHR.Bufferinstance 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 byVkSwapchainCreateInfoKHR.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
sType
public int sType()
- Returns:
- the value of the
VkSwapchainCreateInfoKHR.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkSwapchainCreateInfoKHR.pNext()field.
-
flags
public int flags()
- Returns:
- the value of the
VkSwapchainCreateInfoKHR.flags()field.
-
surface
public long surface()
- Returns:
- the value of the
VkSwapchainCreateInfoKHR.surface()field.
-
minImageCount
public int minImageCount()
- Returns:
- the value of the
VkSwapchainCreateInfoKHR.minImageCount()field.
-
imageFormat
public int imageFormat()
- Returns:
- the value of the
VkSwapchainCreateInfoKHR.imageFormat()field.
-
imageColorSpace
public int imageColorSpace()
- Returns:
- the value of the
VkSwapchainCreateInfoKHR.imageColorSpace()field.
-
imageExtent
public VkExtent2D imageExtent()
- Returns:
- a
VkExtent2Dview of theVkSwapchainCreateInfoKHR.imageExtent()field.
-
imageArrayLayers
public int imageArrayLayers()
- Returns:
- the value of the
VkSwapchainCreateInfoKHR.imageArrayLayers()field.
-
imageUsage
public int imageUsage()
- Returns:
- the value of the
VkSwapchainCreateInfoKHR.imageUsage()field.
-
imageSharingMode
public int imageSharingMode()
- Returns:
- the value of the
VkSwapchainCreateInfoKHR.imageSharingMode()field.
-
queueFamilyIndexCount
public int queueFamilyIndexCount()
- Returns:
- the value of the
VkSwapchainCreateInfoKHR.queueFamilyIndexCount()field.
-
pQueueFamilyIndices
@Nullable public java.nio.IntBuffer pQueueFamilyIndices()
- Returns:
- a
IntBufferview of the data pointed to by theVkSwapchainCreateInfoKHR.pQueueFamilyIndices()field.
-
preTransform
public int preTransform()
- Returns:
- the value of the
VkSwapchainCreateInfoKHR.preTransform()field.
-
compositeAlpha
public int compositeAlpha()
- Returns:
- the value of the
VkSwapchainCreateInfoKHR.compositeAlpha()field.
-
presentMode
public int presentMode()
- Returns:
- the value of the
VkSwapchainCreateInfoKHR.presentMode()field.
-
clipped
public boolean clipped()
- Returns:
- the value of the
VkSwapchainCreateInfoKHR.clipped()field.
-
oldSwapchain
public long oldSwapchain()
- Returns:
- the value of the
VkSwapchainCreateInfoKHR.oldSwapchain()field.
-
sType
public VkSwapchainCreateInfoKHR.Buffer sType(int value)
Sets the specified value to theVkSwapchainCreateInfoKHR.sType()field.
-
sType$Default
public VkSwapchainCreateInfoKHR.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHRvalue to theVkSwapchainCreateInfoKHR.sType()field.
-
pNext
public VkSwapchainCreateInfoKHR.Buffer pNext(long value)
Sets the specified value to theVkSwapchainCreateInfoKHR.pNext()field.
-
pNext
public VkSwapchainCreateInfoKHR.Buffer pNext(VkDeviceGroupSwapchainCreateInfoKHR value)
Prepends the specifiedVkDeviceGroupSwapchainCreateInfoKHRvalue to thepNextchain.
-
pNext
public VkSwapchainCreateInfoKHR.Buffer pNext(VkImageFormatListCreateInfo value)
Prepends the specifiedVkImageFormatListCreateInfovalue to thepNextchain.
-
pNext
public VkSwapchainCreateInfoKHR.Buffer pNext(VkImageFormatListCreateInfoKHR value)
Prepends the specifiedVkImageFormatListCreateInfoKHRvalue to thepNextchain.
-
pNext
public VkSwapchainCreateInfoKHR.Buffer pNext(VkSurfaceFullScreenExclusiveInfoEXT value)
Prepends the specifiedVkSurfaceFullScreenExclusiveInfoEXTvalue to thepNextchain.
-
pNext
public VkSwapchainCreateInfoKHR.Buffer pNext(VkSurfaceFullScreenExclusiveWin32InfoEXT value)
Prepends the specifiedVkSurfaceFullScreenExclusiveWin32InfoEXTvalue to thepNextchain.
-
pNext
public VkSwapchainCreateInfoKHR.Buffer pNext(VkSwapchainCounterCreateInfoEXT value)
Prepends the specifiedVkSwapchainCounterCreateInfoEXTvalue to thepNextchain.
-
pNext
public VkSwapchainCreateInfoKHR.Buffer pNext(VkSwapchainDisplayNativeHdrCreateInfoAMD value)
Prepends the specifiedVkSwapchainDisplayNativeHdrCreateInfoAMDvalue to thepNextchain.
-
flags
public VkSwapchainCreateInfoKHR.Buffer flags(int value)
Sets the specified value to theVkSwapchainCreateInfoKHR.flags()field.
-
surface
public VkSwapchainCreateInfoKHR.Buffer surface(long value)
Sets the specified value to theVkSwapchainCreateInfoKHR.surface()field.
-
minImageCount
public VkSwapchainCreateInfoKHR.Buffer minImageCount(int value)
Sets the specified value to theVkSwapchainCreateInfoKHR.minImageCount()field.
-
imageFormat
public VkSwapchainCreateInfoKHR.Buffer imageFormat(int value)
Sets the specified value to theVkSwapchainCreateInfoKHR.imageFormat()field.
-
imageColorSpace
public VkSwapchainCreateInfoKHR.Buffer imageColorSpace(int value)
Sets the specified value to theVkSwapchainCreateInfoKHR.imageColorSpace()field.
-
imageExtent
public VkSwapchainCreateInfoKHR.Buffer imageExtent(VkExtent2D value)
Copies the specifiedVkExtent2Dto theVkSwapchainCreateInfoKHR.imageExtent()field.
-
imageExtent
public VkSwapchainCreateInfoKHR.Buffer imageExtent(java.util.function.Consumer<VkExtent2D> consumer)
Passes theVkSwapchainCreateInfoKHR.imageExtent()field to the specifiedConsumer.
-
imageArrayLayers
public VkSwapchainCreateInfoKHR.Buffer imageArrayLayers(int value)
Sets the specified value to theVkSwapchainCreateInfoKHR.imageArrayLayers()field.
-
imageUsage
public VkSwapchainCreateInfoKHR.Buffer imageUsage(int value)
Sets the specified value to theVkSwapchainCreateInfoKHR.imageUsage()field.
-
imageSharingMode
public VkSwapchainCreateInfoKHR.Buffer imageSharingMode(int value)
Sets the specified value to theVkSwapchainCreateInfoKHR.imageSharingMode()field.
-
queueFamilyIndexCount
public VkSwapchainCreateInfoKHR.Buffer queueFamilyIndexCount(int value)
Sets the specified value to theVkSwapchainCreateInfoKHR.queueFamilyIndexCount()field.
-
pQueueFamilyIndices
public VkSwapchainCreateInfoKHR.Buffer pQueueFamilyIndices(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto theVkSwapchainCreateInfoKHR.pQueueFamilyIndices()field.
-
preTransform
public VkSwapchainCreateInfoKHR.Buffer preTransform(int value)
Sets the specified value to theVkSwapchainCreateInfoKHR.preTransform()field.
-
compositeAlpha
public VkSwapchainCreateInfoKHR.Buffer compositeAlpha(int value)
Sets the specified value to theVkSwapchainCreateInfoKHR.compositeAlpha()field.
-
presentMode
public VkSwapchainCreateInfoKHR.Buffer presentMode(int value)
Sets the specified value to theVkSwapchainCreateInfoKHR.presentMode()field.
-
clipped
public VkSwapchainCreateInfoKHR.Buffer clipped(boolean value)
Sets the specified value to theVkSwapchainCreateInfoKHR.clipped()field.
-
oldSwapchain
public VkSwapchainCreateInfoKHR.Buffer oldSwapchain(long value)
Sets the specified value to theVkSwapchainCreateInfoKHR.oldSwapchain()field.
-
-