Record Class BlendEquation
java.lang.Object
java.lang.Record
com.mojang.blaze3d.pipeline.BlendEquation
public record BlendEquation(BlendFactor sourceFactor, BlendFactor destFactor, BlendOp op)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BlendFactorThe field for thedestFactorrecord component.private final BlendOpThe field for theoprecord component.private final BlendFactorThe field for thesourceFactorrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionBlendEquation(BlendFactor sourceFactor, BlendFactor destFactor, BlendOp op) Creates an instance of aBlendEquationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedestFactorrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.op()Returns the value of theoprecord component.Returns the value of thesourceFactorrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
sourceFactor
The field for thesourceFactorrecord component. -
destFactor
The field for thedestFactorrecord component. -
op
The field for theoprecord component.
-
-
Constructor Details
-
BlendEquation
Creates an instance of aBlendEquationrecord class.- Parameters:
sourceFactor- the value for thesourceFactorrecord componentdestFactor- the value for thedestFactorrecord componentop- the value for theoprecord 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 withObjects::equals(Object,Object). -
sourceFactor
Returns the value of thesourceFactorrecord component.- Returns:
- the value of the
sourceFactorrecord component
-
destFactor
Returns the value of thedestFactorrecord component.- Returns:
- the value of the
destFactorrecord component
-
op
Returns the value of theoprecord component.- Returns:
- the value of the
oprecord component
-