Record Class HintsAndWorkarounds
java.lang.Object
java.lang.Record
com.mojang.renderpearl.api.device.HintsAndWorkarounds
public record HintsAndWorkarounds(boolean writeToBufferIsSlow, boolean anisotropyHasKnownIssues, boolean isExplicitDepthRequired, boolean multiDrawIndirectHasKnownIssues)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanThe field for theanisotropyHasKnownIssuesrecord component.private final booleanThe field for theisExplicitDepthRequiredrecord component.private final booleanThe field for themultiDrawIndirectHasKnownIssuesrecord component.private final booleanThe field for thewriteToBufferIsSlowrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionHintsAndWorkarounds(boolean writeToBufferIsSlow, boolean anisotropyHasKnownIssues, boolean isExplicitDepthRequired, boolean multiDrawIndirectHasKnownIssues) 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.booleanReturns the value of theisExplicitDepthRequiredrecord component.booleanReturns the value of themultiDrawIndirectHasKnownIssuesrecord component.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. -
isExplicitDepthRequired
private final boolean isExplicitDepthRequiredThe field for theisExplicitDepthRequiredrecord component. -
multiDrawIndirectHasKnownIssues
private final boolean multiDrawIndirectHasKnownIssuesThe field for themultiDrawIndirectHasKnownIssuesrecord component.
-
-
Constructor Details
-
HintsAndWorkarounds
public HintsAndWorkarounds(boolean writeToBufferIsSlow, boolean anisotropyHasKnownIssues, boolean isExplicitDepthRequired, boolean multiDrawIndirectHasKnownIssues) Creates an instance of aHintsAndWorkaroundsrecord class.- Parameters:
writeToBufferIsSlow- the value for thewriteToBufferIsSlowrecord componentanisotropyHasKnownIssues- the value for theanisotropyHasKnownIssuesrecord componentisExplicitDepthRequired- the value for theisExplicitDepthRequiredrecord componentmultiDrawIndirectHasKnownIssues- the value for themultiDrawIndirectHasKnownIssuesrecord 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
-
isExplicitDepthRequired
public boolean isExplicitDepthRequired()Returns the value of theisExplicitDepthRequiredrecord component.- Returns:
- the value of the
isExplicitDepthRequiredrecord component
-
multiDrawIndirectHasKnownIssues
public boolean multiDrawIndirectHasKnownIssues()Returns the value of themultiDrawIndirectHasKnownIssuesrecord component.- Returns:
- the value of the
multiDrawIndirectHasKnownIssuesrecord component
-