Record Class GuiRenderer.Draw

java.lang.Object
java.lang.Record
net.minecraft.client.gui.render.GuiRenderer.Draw
Record Components:
vertexBuffer -
baseVertex -
mode -
indexCount -
pipeline -
textureSetup -
scissorArea -
Enclosing class:
GuiRenderer

@Environment(CLIENT) private static record GuiRenderer.Draw(GpuBuffer vertexBuffer, int baseVertex, VertexFormat.DrawMode mode, int indexCount, RenderPipeline pipeline, TextureSetup textureSetup, @Nullable ScreenRect scissorArea) extends Record
Mappings:
Namespace Name
named net/minecraft/client/gui/render/GuiRenderer$Draw
intermediary net/minecraft/class_11228$class_11230
official gcf$b
named vertexBuffer
intermediary comp_4044
official a
named baseVertex
intermediary comp_4186
official b
named mode
intermediary comp_4045
official c
named indexCount
intermediary comp_4048
official d
named pipeline
intermediary comp_4049
official e
named textureSetup
intermediary comp_4050
official f
named scissorArea
intermediary comp_4051
official g
  • Field Details

  • Constructor Details

  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • vertexBuffer

      public GpuBuffer vertexBuffer()
      Returns the value of the vertexBuffer record component.
      Returns:
      the value of the vertexBuffer record component
    • baseVertex

      public int baseVertex()
      Returns the value of the baseVertex record component.
      Returns:
      the value of the baseVertex record component
    • mode

      public VertexFormat.DrawMode mode()
      Returns the value of the mode record component.
      Returns:
      the value of the mode record component
    • indexCount

      public int indexCount()
      Returns the value of the indexCount record component.
      Returns:
      the value of the indexCount record component
    • pipeline

      public RenderPipeline pipeline()
      Returns the value of the pipeline record component.
      Returns:
      the value of the pipeline record component
    • textureSetup

      public TextureSetup textureSetup()
      Returns the value of the textureSetup record component.
      Returns:
      the value of the textureSetup record component
    • scissorArea

      @Nullable public @Nullable ScreenRect scissorArea()
      Returns the value of the scissorArea record component.
      Returns:
      the value of the scissorArea record component