Class VulkanPresentInfoKHR
java.lang.Object
com.io7m.jcoronado.extensions.khr_swapchain.api.VulkanPresentInfoKHR
- All Implemented Interfaces:
VulkanPresentInfoKHRType
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeVulkanPresentInfoKHR. -
Method Summary
Modifier and TypeMethodDescriptionstatic VulkanPresentInfoKHR.Builderbuilder()Creates a builder forVulkanPresentInfoKHR.static VulkanPresentInfoKHRcopyOf(VulkanPresentInfoKHRType instance) Creates an immutable copy of aVulkanPresentInfoKHRTypevalue.booleanThis instance is equal to all instances ofVulkanPresentInfoKHRthat have equal attribute values.fences()inthashCode()Computes a hash code from attributes:waitSemaphores,swapChains,imageIndices,fences.Each entry in this array identifies the image to present on the corresponding entry in theswapChains()list.toString()Prints the immutable valueVulkanPresentInfoKHRwith attribute values.final VulkanPresentInfoKHRwithFences(VulkanFenceType... elements) Copy the current immutable object with elements that replace the content offences.final VulkanPresentInfoKHRwithFences(Iterable<? extends VulkanFenceType> elements) Copy the current immutable object with elements that replace the content offences.final VulkanPresentInfoKHRwithImageIndices(int... elements) Copy the current immutable object with elements that replace the content ofimageIndices.final VulkanPresentInfoKHRwithImageIndices(Iterable<Integer> elements) Copy the current immutable object with elements that replace the content ofimageIndices.final VulkanPresentInfoKHRCopy the current immutable object with elements that replace the content ofswapChains.final VulkanPresentInfoKHRwithSwapChains(Iterable<? extends VulkanExtKHRSwapChainType.VulkanKHRSwapChainType> elements) Copy the current immutable object with elements that replace the content ofswapChains.final VulkanPresentInfoKHRwithWaitSemaphores(VulkanSemaphoreBinaryType... elements) Copy the current immutable object with elements that replace the content ofwaitSemaphores.final VulkanPresentInfoKHRwithWaitSemaphores(Iterable<? extends VulkanSemaphoreBinaryType> elements) Copy the current immutable object with elements that replace the content ofwaitSemaphores.
-
Method Details
-
waitSemaphores
- Specified by:
waitSemaphoresin interfaceVulkanPresentInfoKHRType- Returns:
- The semaphores upon which to wait before issuing the present request.
-
swapChains
- Specified by:
swapChainsin interfaceVulkanPresentInfoKHRType- Returns:
- The list of swapchains
-
imageIndices
Each entry in this array identifies the image to present on the corresponding entry in theswapChains()list.- Specified by:
imageIndicesin interfaceVulkanPresentInfoKHRType- Returns:
- An array of images to be presented
-
fences
- Specified by:
fencesin interfaceVulkanPresentInfoKHRType- Returns:
- The list of fences that will be signalled when presentation is done
-
withWaitSemaphores
Copy the current immutable object with elements that replace the content ofwaitSemaphores.- Parameters:
elements- The elements to set- Returns:
- A modified copy of
thisobject
-
withWaitSemaphores
public final VulkanPresentInfoKHR withWaitSemaphores(Iterable<? extends VulkanSemaphoreBinaryType> elements) Copy the current immutable object with elements that replace the content ofwaitSemaphores. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
elements- An iterable of waitSemaphores elements to set- Returns:
- A modified copy or
thisif not changed
-
withSwapChains
public final VulkanPresentInfoKHR withSwapChains(VulkanExtKHRSwapChainType.VulkanKHRSwapChainType... elements) Copy the current immutable object with elements that replace the content ofswapChains.- Parameters:
elements- The elements to set- Returns:
- A modified copy of
thisobject
-
withSwapChains
public final VulkanPresentInfoKHR withSwapChains(Iterable<? extends VulkanExtKHRSwapChainType.VulkanKHRSwapChainType> elements) Copy the current immutable object with elements that replace the content ofswapChains. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
elements- An iterable of swapChains elements to set- Returns:
- A modified copy or
thisif not changed
-
withImageIndices
Copy the current immutable object with elements that replace the content ofimageIndices.- Parameters:
elements- The elements to set- Returns:
- A modified copy of
thisobject
-
withImageIndices
Copy the current immutable object with elements that replace the content ofimageIndices. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
elements- An iterable of imageIndices elements to set- Returns:
- A modified copy or
thisif not changed
-
withFences
Copy the current immutable object with elements that replace the content offences.- Parameters:
elements- The elements to set- Returns:
- A modified copy of
thisobject
-
withFences
Copy the current immutable object with elements that replace the content offences. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
elements- An iterable of fences elements to set- Returns:
- A modified copy or
thisif not changed
-
equals
-
hashCode
-
toString
-
copyOf
Creates an immutable copy of aVulkanPresentInfoKHRTypevalue. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance- The instance to copy- Returns:
- A copied immutable VulkanPresentInfoKHR instance
-
builder
Creates a builder forVulkanPresentInfoKHR.VulkanPresentInfoKHR.builder() .addWaitSemaphores|addAllWaitSemaphores(com.io7m.jcoronado.api.VulkanSemaphoreBinaryType) //
waitSemaphoreselements .addSwapChains|addAllSwapChains(com.io7m.jcoronado.extensions.khr_swapchain.api.VulkanExtKHRSwapChainType.VulkanKHRSwapChainType) //swapChainselements .addImageIndices|addAllImageIndices(int) //imageIndiceselements .addFences|addAllFences(com.io7m.jcoronado.api.VulkanFenceType) //fenceselements .build();- Returns:
- A new VulkanPresentInfoKHR builder
-