Package org.lwjgl.vulkan
Class VkSwapchainCreateInfoKHR.Buffer
- java.lang.Object
-
- org.lwjgl.system.StructBuffer<VkSwapchainCreateInfoKHR,VkSwapchainCreateInfoKHR.Buffer>
-
- org.lwjgl.vulkan.VkSwapchainCreateInfoKHR.Buffer
-
- All Implemented Interfaces:
- java.lang.AutoCloseable, NativeResource, Pointer
- Enclosing class:
- VkSwapchainCreateInfoKHR
public static final class VkSwapchainCreateInfoKHR.Buffer extends StructBuffer<VkSwapchainCreateInfoKHR,VkSwapchainCreateInfoKHR.Buffer>
An array ofVkSwapchainCreateInfoKHRstructs.
-
-
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
POINTER_SHIFT, POINTER_SIZE
-
-
Constructor Summary
Constructors Constructor and Description Buffer(java.nio.ByteBuffer container)Creates a newVkSwapchainCreateInfoKHR.Bufferinstance backed by the specified container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intclipped()Returns the value of theclippedfield.VkSwapchainCreateInfoKHR.Bufferclipped(int value)Sets the specified value to theclippedfield.intcompositeAlpha()Returns the value of thecompositeAlphafield.VkSwapchainCreateInfoKHR.BuffercompositeAlpha(int value)Sets the specified value to thecompositeAlphafield.intflags()Returns the value of theflagsfield.VkSwapchainCreateInfoKHR.Bufferflags(int value)Sets the specified value to theflagsfield.intimageArrayLayers()Returns the value of theimageArrayLayersfield.VkSwapchainCreateInfoKHR.BufferimageArrayLayers(int value)Sets the specified value to theimageArrayLayersfield.intimageColorSpace()Returns the value of theimageColorSpacefield.VkSwapchainCreateInfoKHR.BufferimageColorSpace(int value)Sets the specified value to theimageColorSpacefield.VkExtent2DimageExtent()Returns aVkExtent2Dview of theimageExtentfield.VkSwapchainCreateInfoKHR.BufferimageExtent(VkExtent2D value)Copies the specifiedVkExtent2Dto theimageExtentfield.intimageFormat()Returns the value of theimageFormatfield.VkSwapchainCreateInfoKHR.BufferimageFormat(int value)Sets the specified value to theimageFormatfield.intimageSharingMode()Returns the value of theimageSharingModefield.VkSwapchainCreateInfoKHR.BufferimageSharingMode(int value)Sets the specified value to theimageSharingModefield.intimageUsage()Returns the value of theimageUsagefield.VkSwapchainCreateInfoKHR.BufferimageUsage(int value)Sets the specified value to theimageUsagefield.intminImageCount()Returns the value of theminImageCountfield.VkSwapchainCreateInfoKHR.BufferminImageCount(int value)Sets the specified value to theminImageCountfield.longoldSwapchain()Returns the value of theoldSwapchainfield.VkSwapchainCreateInfoKHR.BufferoldSwapchain(long value)Sets the specified value to theoldSwapchainfield.longpNext()Returns the value of thepNextfield.VkSwapchainCreateInfoKHR.BufferpNext(long value)Sets the specified value to thepNextfield.java.nio.IntBufferpQueueFamilyIndices()Returns aIntBufferview of the data pointed to by thepQueueFamilyIndicesfield.VkSwapchainCreateInfoKHR.BufferpQueueFamilyIndices(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thepQueueFamilyIndicesfield.intpresentMode()Returns the value of thepresentModefield.VkSwapchainCreateInfoKHR.BufferpresentMode(int value)Sets the specified value to thepresentModefield.intpreTransform()Returns the value of thepreTransformfield.VkSwapchainCreateInfoKHR.BufferpreTransform(int value)Sets the specified value to thepreTransformfield.intqueueFamilyIndexCount()Returns the value of thequeueFamilyIndexCountfield.intsType()Returns the value of thesTypefield.VkSwapchainCreateInfoKHR.BuffersType(int value)Sets the specified value to thesTypefield.longsurface()Returns the value of thesurfacefield.VkSwapchainCreateInfoKHR.Buffersurface(long value)Sets the specified value to thesurfacefield.-
Methods inherited from class org.lwjgl.system.StructBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, get, get, get, get, hasRemaining, limit, limit, mark, position, position, put, put, put, remaining, reset, rewind, slice, slice, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
-
-
-
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.
-
-
Method Detail
-
sType
public int sType()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
flags
public int flags()
Returns the value of theflagsfield.
-
surface
public long surface()
Returns the value of thesurfacefield.
-
minImageCount
public int minImageCount()
Returns the value of theminImageCountfield.
-
imageFormat
public int imageFormat()
Returns the value of theimageFormatfield.
-
imageColorSpace
public int imageColorSpace()
Returns the value of theimageColorSpacefield.
-
imageExtent
public VkExtent2D imageExtent()
Returns aVkExtent2Dview of theimageExtentfield.
-
imageArrayLayers
public int imageArrayLayers()
Returns the value of theimageArrayLayersfield.
-
imageUsage
public int imageUsage()
Returns the value of theimageUsagefield.
-
imageSharingMode
public int imageSharingMode()
Returns the value of theimageSharingModefield.
-
queueFamilyIndexCount
public int queueFamilyIndexCount()
Returns the value of thequeueFamilyIndexCountfield.
-
pQueueFamilyIndices
public java.nio.IntBuffer pQueueFamilyIndices()
Returns aIntBufferview of the data pointed to by thepQueueFamilyIndicesfield.
-
preTransform
public int preTransform()
Returns the value of thepreTransformfield.
-
compositeAlpha
public int compositeAlpha()
Returns the value of thecompositeAlphafield.
-
presentMode
public int presentMode()
Returns the value of thepresentModefield.
-
clipped
public int clipped()
Returns the value of theclippedfield.
-
oldSwapchain
public long oldSwapchain()
Returns the value of theoldSwapchainfield.
-
sType
public VkSwapchainCreateInfoKHR.Buffer sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkSwapchainCreateInfoKHR.Buffer pNext(long value)
Sets the specified value to thepNextfield.
-
flags
public VkSwapchainCreateInfoKHR.Buffer flags(int value)
Sets the specified value to theflagsfield.
-
surface
public VkSwapchainCreateInfoKHR.Buffer surface(long value)
Sets the specified value to thesurfacefield.
-
minImageCount
public VkSwapchainCreateInfoKHR.Buffer minImageCount(int value)
Sets the specified value to theminImageCountfield.
-
imageFormat
public VkSwapchainCreateInfoKHR.Buffer imageFormat(int value)
Sets the specified value to theimageFormatfield.
-
imageColorSpace
public VkSwapchainCreateInfoKHR.Buffer imageColorSpace(int value)
Sets the specified value to theimageColorSpacefield.
-
imageExtent
public VkSwapchainCreateInfoKHR.Buffer imageExtent(VkExtent2D value)
Copies the specifiedVkExtent2Dto theimageExtentfield.
-
imageArrayLayers
public VkSwapchainCreateInfoKHR.Buffer imageArrayLayers(int value)
Sets the specified value to theimageArrayLayersfield.
-
imageUsage
public VkSwapchainCreateInfoKHR.Buffer imageUsage(int value)
Sets the specified value to theimageUsagefield.
-
imageSharingMode
public VkSwapchainCreateInfoKHR.Buffer imageSharingMode(int value)
Sets the specified value to theimageSharingModefield.
-
pQueueFamilyIndices
public VkSwapchainCreateInfoKHR.Buffer pQueueFamilyIndices(java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thepQueueFamilyIndicesfield.
-
preTransform
public VkSwapchainCreateInfoKHR.Buffer preTransform(int value)
Sets the specified value to thepreTransformfield.
-
compositeAlpha
public VkSwapchainCreateInfoKHR.Buffer compositeAlpha(int value)
Sets the specified value to thecompositeAlphafield.
-
presentMode
public VkSwapchainCreateInfoKHR.Buffer presentMode(int value)
Sets the specified value to thepresentModefield.
-
clipped
public VkSwapchainCreateInfoKHR.Buffer clipped(int value)
Sets the specified value to theclippedfield.
-
oldSwapchain
public VkSwapchainCreateInfoKHR.Buffer oldSwapchain(long value)
Sets the specified value to theoldSwapchainfield.
-
-