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.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionbooleanclipped()clipped(boolean value) Sets the specified value to theclippedfield.intcompositeAlpha(int value) Sets the specified value to thecompositeAlphafield.intflags()flags(int value) Sets the specified value to theflagsfield.intimageArrayLayers(int value) Sets the specified value to theimageArrayLayersfield.intimageColorSpace(int value) Sets the specified value to theimageColorSpacefield.imageExtent(Consumer<VkExtent2D> consumer) Passes theimageExtentfield to the specifiedConsumer.imageExtent(VkExtent2D value) Copies the specifiedVkExtent2Dto theimageExtentfield.intimageFormat(int value) Sets the specified value to theimageFormatfield.intimageSharingMode(int value) Sets the specified value to theimageSharingModefield.intimageUsage(int value) Sets the specified value to theimageUsagefield.intminImageCount(int value) Sets the specified value to theminImageCountfield.longoldSwapchain(long value) Sets the specified value to theoldSwapchainfield.longpNext()pNext(long value) Sets the specified value to thepNextfield.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 specifiedVkSwapchainPresentModesCreateInfoKHRvalue to thepNextchain.Prepends the specifiedVkSwapchainPresentScalingCreateInfoEXTvalue to thepNextchain.Prepends the specifiedVkSwapchainPresentScalingCreateInfoKHRvalue to thepNextchain.@Nullable IntBufferpQueueFamilyIndices(@Nullable IntBuffer value) Sets the address of the specifiedIntBufferto thepQueueFamilyIndicesfield.intpresentMode(int value) Sets the specified value to thepresentModefield.intpreTransform(int value) Sets the specified value to thepreTransformfield.intqueueFamilyIndexCount(int value) Sets the specified value to thequeueFamilyIndexCountfield.intsType()sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHRvalue to thesTypefield.longsurface()surface(long value) Sets the specified value to thesurfacefield.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
sTypefield.
-
pNext
public long pNext()- Returns:
- the value of the
pNextfield.
-
flags
public int flags()- Returns:
- the value of the
flagsfield.
-
surface
public long surface()- Returns:
- the value of the
surfacefield.
-
minImageCount
public int minImageCount()- Returns:
- the value of the
minImageCountfield.
-
imageFormat
public int imageFormat()- Returns:
- the value of the
imageFormatfield.
-
imageColorSpace
public int imageColorSpace()- Returns:
- the value of the
imageColorSpacefield.
-
imageExtent
- Returns:
- a
VkExtent2Dview of theimageExtentfield.
-
imageArrayLayers
public int imageArrayLayers()- Returns:
- the value of the
imageArrayLayersfield.
-
imageUsage
public int imageUsage()- Returns:
- the value of the
imageUsagefield.
-
imageSharingMode
public int imageSharingMode()- Returns:
- the value of the
imageSharingModefield.
-
queueFamilyIndexCount
public int queueFamilyIndexCount()- Returns:
- the value of the
queueFamilyIndexCountfield.
-
pQueueFamilyIndices
- Returns:
- a
IntBufferview of the data pointed to by thepQueueFamilyIndicesfield.
-
preTransform
public int preTransform()- Returns:
- the value of the
preTransformfield.
-
compositeAlpha
public int compositeAlpha()- Returns:
- the value of the
compositeAlphafield.
-
presentMode
public int presentMode()- Returns:
- the value of the
presentModefield.
-
clipped
public boolean clipped()- Returns:
- the value of the
clippedfield.
-
oldSwapchain
public long oldSwapchain()- Returns:
- the value of the
oldSwapchainfield.
-
sType
Sets the specified value to thesTypefield. -
sType$Default
Sets theSTRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHRvalue to thesTypefield. -
pNext
Sets the specified value to thepNextfield. -
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 specifiedVkSwapchainPresentModesCreateInfoKHRvalue to thepNextchain. -
pNext
Prepends the specifiedVkSwapchainPresentScalingCreateInfoEXTvalue to thepNextchain. -
pNext
Prepends the specifiedVkSwapchainPresentScalingCreateInfoKHRvalue to thepNextchain. -
flags
Sets the specified value to theflagsfield. -
surface
Sets the specified value to thesurfacefield. -
minImageCount
Sets the specified value to theminImageCountfield. -
imageFormat
Sets the specified value to theimageFormatfield. -
imageColorSpace
Sets the specified value to theimageColorSpacefield. -
imageExtent
Copies the specifiedVkExtent2Dto theimageExtentfield. -
imageExtent
Passes theimageExtentfield to the specifiedConsumer. -
imageArrayLayers
Sets the specified value to theimageArrayLayersfield. -
imageUsage
Sets the specified value to theimageUsagefield. -
imageSharingMode
Sets the specified value to theimageSharingModefield. -
queueFamilyIndexCount
Sets the specified value to thequeueFamilyIndexCountfield. -
pQueueFamilyIndices
Sets the address of the specifiedIntBufferto thepQueueFamilyIndicesfield. -
preTransform
Sets the specified value to thepreTransformfield. -
compositeAlpha
Sets the specified value to thecompositeAlphafield. -
presentMode
Sets the specified value to thepresentModefield. -
clipped
Sets the specified value to theclippedfield. -
oldSwapchain
Sets the specified value to theoldSwapchainfield.
-