Record Class VkBindings.SwapchainResult
java.lang.Object
java.lang.Record
dev.engine.graphics.vulkan.VkBindings.SwapchainResult
- Enclosing interface:
VkBindings
public static record VkBindings.SwapchainResult(long swapchain, int format, int width, int height, long[] images, long[] imageViews)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionSwapchainResult(long swapchain, int format, int width, int height, long[] images, long[] imageViews) Creates an instance of aSwapchainResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.intformat()Returns the value of theformatrecord component.final inthashCode()Returns a hash code value for this object.intheight()Returns the value of theheightrecord component.long[]images()Returns the value of theimagesrecord component.long[]Returns the value of theimageViewsrecord component.longReturns the value of theswapchainrecord component.final StringtoString()Returns a string representation of this record class.intwidth()Returns the value of thewidthrecord component.
-
Constructor Details
-
SwapchainResult
public SwapchainResult(long swapchain, int format, int width, int height, long[] images, long[] imageViews) Creates an instance of aSwapchainResultrecord class.- Parameters:
swapchain- the value for theswapchainrecord componentformat- the value for theformatrecord componentwidth- the value for thewidthrecord componentheight- the value for theheightrecord componentimages- the value for theimagesrecord componentimageViews- the value for theimageViewsrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
swapchain
public long swapchain()Returns the value of theswapchainrecord component.- Returns:
- the value of the
swapchainrecord component
-
format
public int format()Returns the value of theformatrecord component.- Returns:
- the value of the
formatrecord component
-
width
public int width()Returns the value of thewidthrecord component.- Returns:
- the value of the
widthrecord component
-
height
public int height()Returns the value of theheightrecord component.- Returns:
- the value of the
heightrecord component
-
images
public long[] images()Returns the value of theimagesrecord component.- Returns:
- the value of the
imagesrecord component
-
imageViews
public long[] imageViews()Returns the value of theimageViewsrecord component.- Returns:
- the value of the
imageViewsrecord component
-