Record Class VulkanSwapChainOK
java.lang.Object
java.lang.Record
com.io7m.jcoronado.extensions.khr_swapchain.api.VulkanSwapChainOK
- Record Components:
imageIndex- The image index
- All Implemented Interfaces:
VulkanSwapChainAcquisitionResultType
public record VulkanSwapChainOK(int imageIndex)
extends Record
implements VulkanSwapChainAcquisitionResultType
The image at the given swapchain image index was obtained and is a format
that is still optimal for rendering.
-
Constructor Summary
ConstructorsConstructorDescriptionVulkanSwapChainOK(int imageIndex) Creates an instance of aVulkanSwapChainOKrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of theimageIndexrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
VulkanSwapChainOK
public VulkanSwapChainOK(int imageIndex) Creates an instance of aVulkanSwapChainOKrecord class.- Parameters:
imageIndex- the value for theimageIndexrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
imageIndex
public int imageIndex()Returns the value of theimageIndexrecord component.- Returns:
- the value of the
imageIndexrecord component
-