Record Class GuiRenderer.Draw
java.lang.Object
java.lang.Record
net.minecraft.client.gui.render.GuiRenderer.Draw
- Enclosing class:
GuiRenderer
private static record GuiRenderer.Draw(StagedVertexBuffer.Draw draw, RenderPipeline pipeline, TextureSetup textureSetup, @Nullable ScreenRectangle scissorArea)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StagedVertexBuffer.DrawThe field for thedrawrecord component.private final RenderPipelineThe field for thepipelinerecord component.private final @Nullable ScreenRectangleThe field for thescissorArearecord component.private final TextureSetupThe field for thetextureSetuprecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateDraw(StagedVertexBuffer.Draw draw, RenderPipeline pipeline, TextureSetup textureSetup, @Nullable ScreenRectangle scissorArea) Creates an instance of aDrawrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondraw()Returns the value of thedrawrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.pipeline()Returns the value of thepipelinerecord component.Returns the value of thescissorArearecord component.Returns the value of thetextureSetuprecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
draw
The field for thedrawrecord component. -
pipeline
The field for thepipelinerecord component. -
textureSetup
The field for thetextureSetuprecord component. -
scissorArea
The field for thescissorArearecord component.
-
-
Constructor Details
-
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). -
draw
Returns the value of thedrawrecord component.- Returns:
- the value of the
drawrecord component
-
pipeline
Returns the value of thepipelinerecord component.- Returns:
- the value of the
pipelinerecord component
-
textureSetup
Returns the value of thetextureSetuprecord component.- Returns:
- the value of the
textureSetuprecord component
-
scissorArea
Returns the value of thescissorArearecord component.- Returns:
- the value of the
scissorArearecord component
-