Record Class CheckpointExtension.StageCheckpoint
java.lang.Object
java.lang.Record
com.mojang.blaze3d.vulkan.checkpoints.CheckpointExtension.StageCheckpoint
- Enclosing interface:
CheckpointExtension
public static record CheckpointExtension.StageCheckpoint(long stage, CheckpointExtension.CheckpointType type, String label)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringThe field for thelabelrecord component.private final longThe field for thestagerecord component.private final CheckpointExtension.CheckpointTypeThe field for thetyperecord component. -
Constructor Summary
ConstructorsConstructorDescriptionStageCheckpoint(long stage, CheckpointExtension.CheckpointType type, String label) Creates an instance of aStageCheckpointrecord 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.label()Returns the value of thelabelrecord component.longstage()Returns the value of thestagerecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Field Details
-
stage
private final long stageThe field for thestagerecord component. -
type
The field for thetyperecord component. -
label
The field for thelabelrecord component.
-
-
Constructor Details
-
StageCheckpoint
Creates an instance of aStageCheckpointrecord class.- Parameters:
stage- the value for thestagerecord componenttype- the value for thetyperecord componentlabel- the value for thelabelrecord 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. -
stage
public long stage()Returns the value of thestagerecord component.- Returns:
- the value of the
stagerecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
label
Returns the value of thelabelrecord component.- Returns:
- the value of the
labelrecord component
-