Record Class HintsAndWorkarounds
java.lang.Object
java.lang.Record
com.mojang.blaze3d.systems.HintsAndWorkarounds
public record HintsAndWorkarounds(boolean writeToBufferIsSlow, boolean anisotropyHasKnownIssues)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanThe field for theanisotropyHasKnownIssuesrecord component.private final booleanThe field for thewriteToBufferIsSlowrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionHintsAndWorkarounds(boolean writeToBufferIsSlow, boolean anisotropyHasKnownIssues) Creates an instance of aHintsAndWorkaroundsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theanisotropyHasKnownIssuesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.booleanReturns the value of thewriteToBufferIsSlowrecord component.
-
Field Details
-
writeToBufferIsSlow
private final boolean writeToBufferIsSlowThe field for thewriteToBufferIsSlowrecord component. -
anisotropyHasKnownIssues
private final boolean anisotropyHasKnownIssuesThe field for theanisotropyHasKnownIssuesrecord component.
-
-
Constructor Details
-
HintsAndWorkarounds
public HintsAndWorkarounds(boolean writeToBufferIsSlow, boolean anisotropyHasKnownIssues) Creates an instance of aHintsAndWorkaroundsrecord class.- Parameters:
writeToBufferIsSlow- the value for thewriteToBufferIsSlowrecord componentanisotropyHasKnownIssues- the value for theanisotropyHasKnownIssuesrecord 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. -
writeToBufferIsSlow
public boolean writeToBufferIsSlow()Returns the value of thewriteToBufferIsSlowrecord component.- Returns:
- the value of the
writeToBufferIsSlowrecord component
-
anisotropyHasKnownIssues
public boolean anisotropyHasKnownIssues()Returns the value of theanisotropyHasKnownIssuesrecord component.- Returns:
- the value of the
anisotropyHasKnownIssuesrecord component
-