Record Class WorldRenderCompatibilityReport
java.lang.Object
java.lang.Record
com.render.api.world.WorldRenderCompatibilityReport
public record WorldRenderCompatibilityReport(String detectedRenderer, RenderCompatibilityMode mode, WorldRenderBackend activeBackend, Set<WorldRenderCapability> supportedCapabilities, List<String> appliedFallbacks, List<String> failureReasons)
extends Record
Immutable diagnostic snapshot of renderer detection and capability routing.
-
Constructor Summary
ConstructorsConstructorDescriptionWorldRenderCompatibilityReport(String detectedRenderer, RenderCompatibilityMode mode, WorldRenderBackend activeBackend, Set<WorldRenderCapability> supportedCapabilities, List<String> appliedFallbacks, List<String> failureReasons) Creates an instance of aWorldRenderCompatibilityReportrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theactiveBackendrecord component.Returns the value of theappliedFallbacksrecord component.Returns the value of thedetectedRendererrecord 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.mode()Returns the value of themoderecord component.Returns the value of thesupportedCapabilitiesrecord component.booleansupports(WorldRenderCapability capability) final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
WorldRenderCompatibilityReport
public WorldRenderCompatibilityReport(String detectedRenderer, RenderCompatibilityMode mode, WorldRenderBackend activeBackend, Set<WorldRenderCapability> supportedCapabilities, List<String> appliedFallbacks, List<String> failureReasons) Creates an instance of aWorldRenderCompatibilityReportrecord class.- Parameters:
detectedRenderer- the value for thedetectedRendererrecord componentmode- the value for themoderecord componentactiveBackend- the value for theactiveBackendrecord componentsupportedCapabilities- 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). -
detectedRenderer
Returns the value of thedetectedRendererrecord component.- Returns:
- the value of the
detectedRendererrecord component
-
mode
Returns the value of themoderecord component.- Returns:
- the value of the
moderecord component
-
activeBackend
Returns the value of theactiveBackendrecord component.- Returns:
- the value of the
activeBackendrecord component
-
supportedCapabilities
Returns the value of thesupportedCapabilitiesrecord component.- Returns:
- the value of the
supportedCapabilitiesrecord component
-
appliedFallbacks
-
failureReasons
-