Record Class VkBindings.AttachmentDesc
java.lang.Object
java.lang.Record
dev.engine.graphics.vulkan.VkBindings.AttachmentDesc
- Enclosing interface:
VkBindings
public static record VkBindings.AttachmentDesc(int format, boolean clear, boolean store, int finalLayout)
extends Record
Describes a render pass attachment.
-
Constructor Summary
ConstructorsConstructorDescriptionAttachmentDesc(int format, boolean clear, boolean store, int finalLayout) Creates an instance of aAttachmentDescrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanclear()Returns the value of theclearrecord component.final booleanIndicates whether some other object is "equal to" this one.intReturns the value of thefinalLayoutrecord component.intformat()Returns the value of theformatrecord component.final inthashCode()Returns a hash code value for this object.booleanstore()Returns the value of thestorerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AttachmentDesc
public AttachmentDesc(int format, boolean clear, boolean store, int finalLayout) Creates an instance of aAttachmentDescrecord class.- Parameters:
format- the value for theformatrecord componentclear- the value for theclearrecord componentstore- the value for thestorerecord componentfinalLayout- the value for thefinalLayoutrecord 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. -
format
public int format()Returns the value of theformatrecord component.- Returns:
- the value of the
formatrecord component
-
clear
public boolean clear()Returns the value of theclearrecord component.- Returns:
- the value of the
clearrecord component
-
store
public boolean store()Returns the value of thestorerecord component.- Returns:
- the value of the
storerecord component
-
finalLayout
public int finalLayout()Returns the value of thefinalLayoutrecord component.- Returns:
- the value of the
finalLayoutrecord component
-