Package com.mojang.blaze3d.systems
Record Class RenderSystem.Task
java.lang.Object
java.lang.Record
com.mojang.blaze3d.systems.RenderSystem.Task
- Record Components:
callback
-fence
-
- Enclosing class:
RenderSystem
@Environment(CLIENT)
static record RenderSystem.Task(Runnable callback, GpuFence fence)
extends Record
- Mappings:
Namespace Name named com/mojang/blaze3d/systems/RenderSystem$Task
intermediary com/mojang/blaze3d/systems/RenderSystem$class_10827
official com/mojang/blaze3d/systems/RenderSystem$b
named callback
intermediary comp_3785
official a
named fence
intermediary comp_3786
official b
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncallback()
Returns the value of thecallback
record component.final boolean
Indicates whether some other object is "equal to" this one.fence()
Returns the value of thefence
record component.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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)
. -
callback
Returns the value of thecallback
record component.- Returns:
- the value of the
callback
record component
-
fence
Returns the value of thefence
record component.- Returns:
- the value of the
fence
record component
-