Record Class RenderSystem.GpuAsyncTask
java.lang.Object
java.lang.Record
com.mojang.blaze3d.systems.RenderSystem.GpuAsyncTask
- Enclosing class:
RenderSystem
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGpuAsyncTask(Runnable callback, GpuFence fence) Creates an instance of aGpuAsyncTaskrecord class. -
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
-
callback
The field for thecallbackrecord component. -
fence
The field for thefencerecord component.
-
-
Constructor Details
-
GpuAsyncTask
-
-
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). -
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
-