Record Class GuiRenderCompatibilityReport
java.lang.Object
java.lang.Record
com.render.api.gui.GuiRenderCompatibilityReport
- Record Components:
supportedCapabilities- active capabilitiesappliedFallbacks- deduplicated fallbacks used by the current graphfailureReasons- renderer or allocation failures
-
Constructor Summary
ConstructorsConstructorDescriptionGuiRenderCompatibilityReport(Set<GuiRenderCapability> supportedCapabilities, List<String> appliedFallbacks, List<String> failureReasons) Creates an instance of aGuiRenderCompatibilityReportrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theappliedFallbacksrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefailureReasonsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thesupportedCapabilitiesrecord component.booleansupports(GuiRenderCapability capability) final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GuiRenderCompatibilityReport
public GuiRenderCompatibilityReport(Set<GuiRenderCapability> supportedCapabilities, List<String> appliedFallbacks, List<String> failureReasons) Creates an instance of aGuiRenderCompatibilityReportrecord class.- Parameters:
supportedCapabilities- the value for thesupportedCapabilitiesrecord componentappliedFallbacks- the value for theappliedFallbacksrecord componentfailureReasons- the value for thefailureReasonsrecord component
-
-
Method Details
-
supports
-
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 withObjects::equals(Object,Object). -
supportedCapabilities
Returns the value of thesupportedCapabilitiesrecord component.- Returns:
- the value of the
supportedCapabilitiesrecord component
-
appliedFallbacks
Returns the value of theappliedFallbacksrecord component.- Returns:
- the value of the
appliedFallbacksrecord component
-
failureReasons
Returns the value of thefailureReasonsrecord component.- Returns:
- the value of the
failureReasonsrecord component
-