Record Class BackendOptions
java.lang.Object
java.lang.Record
com.mojang.blaze3d.platform.BackendOptions
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanThe field for theexclusiveFullScreenrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionBackendOptions(boolean exclusiveFullScreen) Creates an instance of aBackendOptionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of theexclusiveFullScreenrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
exclusiveFullScreen
private final boolean exclusiveFullScreenThe field for theexclusiveFullScreenrecord component.
-
-
Constructor Details
-
BackendOptions
public BackendOptions(boolean exclusiveFullScreen) Creates an instance of aBackendOptionsrecord class.- Parameters:
exclusiveFullScreen- the value for theexclusiveFullScreenrecord 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. -
exclusiveFullScreen
public boolean exclusiveFullScreen()Returns the value of theexclusiveFullScreenrecord component.- Returns:
- the value of the
exclusiveFullScreenrecord component
-