Package org.lwjgl.vulkan
Class VkSwapchainCreateInfoKHR.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<VkSwapchainCreateInfoKHR.Buffer>
org.lwjgl.system.StructBuffer<VkSwapchainCreateInfoKHR,VkSwapchainCreateInfoKHR.Buffer>
org.lwjgl.vulkan.VkSwapchainCreateInfoKHR.Buffer
- All Implemented Interfaces:
AutoCloseable,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 of
VkSwapchainCreateInfoKHR structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newVkSwapchainCreateInfoKHR.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionbooleanclipped()clipped(boolean value) Sets the specified value to theVkSwapchainCreateInfoKHR.clipped()field.intcompositeAlpha(int value) Sets the specified value to theVkSwapchainCreateInfoKHR.compositeAlpha()field.intflags()flags(int value) Sets the specified value to theVkSwapchainCreateInfoKHR.flags()field.intimageArrayLayers(int value) Sets the specified value to theVkSwapchainCreateInfoKHR.imageArrayLayers()field.intimageColorSpace(int value) Sets the specified value to theVkSwapchainCreateInfoKHR.imageColorSpace()field.imageExtent(Consumer<VkExtent2D> consumer) Passes theVkSwapchainCreateInfoKHR.imageExtent()field to the specifiedConsumer.imageExtent(VkExtent2D value) Copies the specifiedVkExtent2Dto theVkSwapchainCreateInfoKHR.imageExtent()field.intimageFormat(int value) Sets the specified value to theVkSwapchainCreateInfoKHR.imageFormat()field.intimageSharingMode(int value) Sets the specified value to theVkSwapchainCreateInfoKHR.imageSharingMode()field.intimageUsage(int value) Sets the specified value to theVkSwapchainCreateInfoKHR.imageUsage()field.intminImageCount(int value) Sets the specified value to theVkSwapchainCreateInfoKHR.minImageCount()field.longoldSwapchain(long value) Sets the specified value to theVkSwapchainCreateInfoKHR.oldSwapchain()field.longpNext()pNext(long value) Sets the specified value to theVkSwapchainCreateInfoKHR.pNext()field.Prepends the specifiedVkDeviceGroupSwapchainCreateInfoKHRvalue to thepNextchain.Prepends the specifiedVkImageCompressionControlEXTvalue to thepNextchain.pNext(VkImageFormatListCreateInfo value) Prepends the specifiedVkImageFormatListCreateInfovalue to thepNextchain.Prepends the specifiedVkImageFormatListCreateInfoKHRvalue to thepNextchain.Prepends the specifiedVkSurfaceFullScreenExclusiveInfoEXTvalue to thepNextchain.Prepends the specifiedVkSurfaceFullScreenExclusiveWin32InfoEXTvalue to thepNextchain.Prepends the specifiedVkSwapchainCounterCreateInfoEXTvalue to thepNextchain.Prepends the specifiedVkSwapchainDisplayNativeHdrCreateInfoAMDvalue to thepNextchain.Prepends the specifiedVkSwapchainLatencyCreateInfoNVvalue to thepNextchain.Prepends the specifiedVkSwapchainPresentBarrierCreateInfoNVvalue to thepNextchain.Prepends the specifiedVkSwapchainPresentModesCreateInfoEXTvalue to thepNextchain.Prepends the specifiedVkSwapchainPresentScalingCreateInfoEXTvalue to thepNextchain.@Nullable IntBufferpQueueFamilyIndices(@Nullable IntBuffer value) Sets the address of the specifiedIntBufferto theVkSwapchainCreateInfoKHR.pQueueFamilyIndices()field.intpresentMode(int value) Sets the specified value to theVkSwapchainCreateInfoKHR.presentMode()field.intpreTransform(int value) Sets the specified value to theVkSwapchainCreateInfoKHR.preTransform()field.intqueueFamilyIndexCount(int value) Sets the specified value to theVkSwapchainCreateInfoKHR.queueFamilyIndexCount()field.intsType()sType(int value) Sets the specified value to theVkSwapchainCreateInfoKHR.sType()field.Sets theSTRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHRvalue to theVkSwapchainCreateInfoKHR.sType()field.longsurface()surface(long value) Sets the specified value to theVkSwapchainCreateInfoKHR.surface()field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
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 by
VkSwapchainCreateInfoKHR.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 Details
-
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
- 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
- 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
Sets the specified value to theVkSwapchainCreateInfoKHR.sType()field. -
sType$Default
Sets theSTRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHRvalue to theVkSwapchainCreateInfoKHR.sType()field. -
pNext
Sets the specified value to theVkSwapchainCreateInfoKHR.pNext()field. -
pNext
Prepends the specifiedVkDeviceGroupSwapchainCreateInfoKHRvalue to thepNextchain. -
pNext
Prepends the specifiedVkImageCompressionControlEXTvalue to thepNextchain. -
pNext
Prepends the specifiedVkImageFormatListCreateInfovalue to thepNextchain. -
pNext
Prepends the specifiedVkImageFormatListCreateInfoKHRvalue to thepNextchain. -
pNext
Prepends the specifiedVkSurfaceFullScreenExclusiveInfoEXTvalue to thepNextchain. -
pNext
Prepends the specifiedVkSurfaceFullScreenExclusiveWin32InfoEXTvalue to thepNextchain. -
pNext
Prepends the specifiedVkSwapchainCounterCreateInfoEXTvalue to thepNextchain. -
pNext
Prepends the specifiedVkSwapchainDisplayNativeHdrCreateInfoAMDvalue to thepNextchain. -
pNext
Prepends the specifiedVkSwapchainLatencyCreateInfoNVvalue to thepNextchain. -
pNext
Prepends the specifiedVkSwapchainPresentBarrierCreateInfoNVvalue to thepNextchain. -
pNext
Prepends the specifiedVkSwapchainPresentModesCreateInfoEXTvalue to thepNextchain. -
pNext
Prepends the specifiedVkSwapchainPresentScalingCreateInfoEXTvalue to thepNextchain. -
flags
Sets the specified value to theVkSwapchainCreateInfoKHR.flags()field. -
surface
Sets the specified value to theVkSwapchainCreateInfoKHR.surface()field. -
minImageCount
Sets the specified value to theVkSwapchainCreateInfoKHR.minImageCount()field. -
imageFormat
Sets the specified value to theVkSwapchainCreateInfoKHR.imageFormat()field. -
imageColorSpace
Sets the specified value to theVkSwapchainCreateInfoKHR.imageColorSpace()field. -
imageExtent
Copies the specifiedVkExtent2Dto theVkSwapchainCreateInfoKHR.imageExtent()field. -
imageExtent
Passes theVkSwapchainCreateInfoKHR.imageExtent()field to the specifiedConsumer. -
imageArrayLayers
Sets the specified value to theVkSwapchainCreateInfoKHR.imageArrayLayers()field. -
imageUsage
Sets the specified value to theVkSwapchainCreateInfoKHR.imageUsage()field. -
imageSharingMode
Sets the specified value to theVkSwapchainCreateInfoKHR.imageSharingMode()field. -
queueFamilyIndexCount
Sets the specified value to theVkSwapchainCreateInfoKHR.queueFamilyIndexCount()field. -
pQueueFamilyIndices
Sets the address of the specifiedIntBufferto theVkSwapchainCreateInfoKHR.pQueueFamilyIndices()field. -
preTransform
Sets the specified value to theVkSwapchainCreateInfoKHR.preTransform()field. -
compositeAlpha
Sets the specified value to theVkSwapchainCreateInfoKHR.compositeAlpha()field. -
presentMode
Sets the specified value to theVkSwapchainCreateInfoKHR.presentMode()field. -
clipped
Sets the specified value to theVkSwapchainCreateInfoKHR.clipped()field. -
oldSwapchain
Sets the specified value to theVkSwapchainCreateInfoKHR.oldSwapchain()field.
-