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>
,NativeResource
,Pointer
- Enclosing class:
VkSwapchainCreateInfoKHR
public static class VkSwapchainCreateInfoKHR.Buffer
extends StructBuffer<VkSwapchainCreateInfoKHR,VkSwapchainCreateInfoKHR.Buffer>
implements NativeResource
An array of
VkSwapchainCreateInfoKHR
structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
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.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionboolean
clipped()
clipped
(boolean value) Sets the specified value to theclipped
field.int
compositeAlpha
(int value) Sets the specified value to thecompositeAlpha
field.int
flags()
flags
(int value) Sets the specified value to theflags
field.int
imageArrayLayers
(int value) Sets the specified value to theimageArrayLayers
field.int
imageColorSpace
(int value) Sets the specified value to theimageColorSpace
field.imageExtent
(Consumer<VkExtent2D> consumer) Passes theimageExtent
field to the specifiedConsumer
.imageExtent
(VkExtent2D value) Copies the specifiedVkExtent2D
to theimageExtent
field.int
imageFormat
(int value) Sets the specified value to theimageFormat
field.int
imageSharingMode
(int value) Sets the specified value to theimageSharingMode
field.int
imageUsage
(int value) Sets the specified value to theimageUsage
field.int
minImageCount
(int value) Sets the specified value to theminImageCount
field.long
oldSwapchain
(long value) Sets the specified value to theoldSwapchain
field.long
pNext()
pNext
(long value) Sets the specified value to thepNext
field.Prepends the specifiedVkDeviceGroupSwapchainCreateInfoKHR
value to thepNext
chain.Prepends the specifiedVkImageCompressionControlEXT
value to thepNext
chain.pNext
(VkImageFormatListCreateInfo value) Prepends the specifiedVkImageFormatListCreateInfo
value to thepNext
chain.Prepends the specifiedVkImageFormatListCreateInfoKHR
value to thepNext
chain.Prepends the specifiedVkSurfaceFullScreenExclusiveInfoEXT
value to thepNext
chain.Prepends the specifiedVkSurfaceFullScreenExclusiveWin32InfoEXT
value to thepNext
chain.Prepends the specifiedVkSwapchainCounterCreateInfoEXT
value to thepNext
chain.Prepends the specifiedVkSwapchainDisplayNativeHdrCreateInfoAMD
value to thepNext
chain.Prepends the specifiedVkSwapchainLatencyCreateInfoNV
value to thepNext
chain.Prepends the specifiedVkSwapchainPresentBarrierCreateInfoNV
value to thepNext
chain.Prepends the specifiedVkSwapchainPresentModesCreateInfoEXT
value to thepNext
chain.Prepends the specifiedVkSwapchainPresentScalingCreateInfoEXT
value to thepNext
chain.@Nullable IntBuffer
pQueueFamilyIndices
(@Nullable IntBuffer value) Sets the address of the specifiedIntBuffer
to thepQueueFamilyIndices
field.int
presentMode
(int value) Sets the specified value to thepresentMode
field.int
preTransform
(int value) Sets the specified value to thepreTransform
field.int
queueFamilyIndexCount
(int value) Sets the specified value to thequeueFamilyIndexCount
field.int
sType()
sType
(int value) Sets the specified value to thesType
field.Sets theSTRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR
value to thesType
field.long
surface()
surface
(long value) Sets the specified value to thesurface
field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods 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, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newVkSwapchainCreateInfoKHR.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.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Details
-
sType
public int sType()- Returns:
- the value of the
sType
field.
-
pNext
public long pNext()- Returns:
- the value of the
pNext
field.
-
flags
public int flags()- Returns:
- the value of the
flags
field.
-
surface
public long surface()- Returns:
- the value of the
surface
field.
-
minImageCount
public int minImageCount()- Returns:
- the value of the
minImageCount
field.
-
imageFormat
public int imageFormat()- Returns:
- the value of the
imageFormat
field.
-
imageColorSpace
public int imageColorSpace()- Returns:
- the value of the
imageColorSpace
field.
-
imageExtent
- Returns:
- a
VkExtent2D
view of theimageExtent
field.
-
imageArrayLayers
public int imageArrayLayers()- Returns:
- the value of the
imageArrayLayers
field.
-
imageUsage
public int imageUsage()- Returns:
- the value of the
imageUsage
field.
-
imageSharingMode
public int imageSharingMode()- Returns:
- the value of the
imageSharingMode
field.
-
queueFamilyIndexCount
public int queueFamilyIndexCount()- Returns:
- the value of the
queueFamilyIndexCount
field.
-
pQueueFamilyIndices
- Returns:
- a
IntBuffer
view of the data pointed to by thepQueueFamilyIndices
field.
-
preTransform
public int preTransform()- Returns:
- the value of the
preTransform
field.
-
compositeAlpha
public int compositeAlpha()- Returns:
- the value of the
compositeAlpha
field.
-
presentMode
public int presentMode()- Returns:
- the value of the
presentMode
field.
-
clipped
public boolean clipped()- Returns:
- the value of the
clipped
field.
-
oldSwapchain
public long oldSwapchain()- Returns:
- the value of the
oldSwapchain
field.
-
sType
Sets the specified value to thesType
field. -
sType$Default
Sets theSTRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR
value to thesType
field. -
pNext
Sets the specified value to thepNext
field. -
pNext
Prepends the specifiedVkDeviceGroupSwapchainCreateInfoKHR
value to thepNext
chain. -
pNext
Prepends the specifiedVkImageCompressionControlEXT
value to thepNext
chain. -
pNext
Prepends the specifiedVkImageFormatListCreateInfo
value to thepNext
chain. -
pNext
Prepends the specifiedVkImageFormatListCreateInfoKHR
value to thepNext
chain. -
pNext
Prepends the specifiedVkSurfaceFullScreenExclusiveInfoEXT
value to thepNext
chain. -
pNext
Prepends the specifiedVkSurfaceFullScreenExclusiveWin32InfoEXT
value to thepNext
chain. -
pNext
Prepends the specifiedVkSwapchainCounterCreateInfoEXT
value to thepNext
chain. -
pNext
Prepends the specifiedVkSwapchainDisplayNativeHdrCreateInfoAMD
value to thepNext
chain. -
pNext
Prepends the specifiedVkSwapchainLatencyCreateInfoNV
value to thepNext
chain. -
pNext
Prepends the specifiedVkSwapchainPresentBarrierCreateInfoNV
value to thepNext
chain. -
pNext
Prepends the specifiedVkSwapchainPresentModesCreateInfoEXT
value to thepNext
chain. -
pNext
Prepends the specifiedVkSwapchainPresentScalingCreateInfoEXT
value to thepNext
chain. -
flags
Sets the specified value to theflags
field. -
surface
Sets the specified value to thesurface
field. -
minImageCount
Sets the specified value to theminImageCount
field. -
imageFormat
Sets the specified value to theimageFormat
field. -
imageColorSpace
Sets the specified value to theimageColorSpace
field. -
imageExtent
Copies the specifiedVkExtent2D
to theimageExtent
field. -
imageExtent
Passes theimageExtent
field to the specifiedConsumer
. -
imageArrayLayers
Sets the specified value to theimageArrayLayers
field. -
imageUsage
Sets the specified value to theimageUsage
field. -
imageSharingMode
Sets the specified value to theimageSharingMode
field. -
queueFamilyIndexCount
Sets the specified value to thequeueFamilyIndexCount
field. -
pQueueFamilyIndices
Sets the address of the specifiedIntBuffer
to thepQueueFamilyIndices
field. -
preTransform
Sets the specified value to thepreTransform
field. -
compositeAlpha
Sets the specified value to thecompositeAlpha
field. -
presentMode
Sets the specified value to thepresentMode
field. -
clipped
Sets the specified value to theclipped
field. -
oldSwapchain
Sets the specified value to theoldSwapchain
field.
-