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$Taskintermediary com/mojang/blaze3d/systems/RenderSystem$class_10827official com/mojang/blaze3d/systems/RenderSystem$bnamed callbackintermediary comp_3785official anamed fenceintermediary comp_3786official b
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncallback()Returns the value of thecallbackrecord component.final booleanIndicates whether some other object is "equal to" this one.fence()Returns the value of thefencerecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
Task
-
-
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 thecallbackrecord component.- Returns:
- the value of the
callbackrecord component
-
fence
Returns the value of thefencerecord component.- Returns:
- the value of the
fencerecord component
-