Record Class HighlightRenderer.ShaderChain

java.lang.Object
java.lang.Record
dev.latvian.mods.kubejs.client.highlight.HighlightRenderer.ShaderChain
Enclosing class:
HighlightRenderer

public static record HighlightRenderer.ShaderChain(net.minecraft.client.renderer.PostChain postChain, com.mojang.blaze3d.pipeline.RenderTarget renderInput, com.mojang.blaze3d.pipeline.RenderTarget mcDepthInput, com.mojang.blaze3d.pipeline.RenderTarget renderOutput, org.apache.commons.lang3.mutable.MutableBoolean renderAnything) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    ShaderChain(net.minecraft.client.renderer.PostChain postChain, com.mojang.blaze3d.pipeline.RenderTarget renderInput, com.mojang.blaze3d.pipeline.RenderTarget mcDepthInput, com.mojang.blaze3d.pipeline.RenderTarget renderOutput, org.apache.commons.lang3.mutable.MutableBoolean renderAnything)
    Creates an instance of a ShaderChain record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    clearDepth(net.minecraft.client.Minecraft mc, boolean copy)
     
    void
    clearInput(net.minecraft.client.Minecraft mc)
     
    void
     
    void
    draw(net.minecraft.client.Minecraft mc, float delta)
     
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    load(net.minecraft.client.Minecraft mc, net.minecraft.resources.ResourceLocation id)
     
    com.mojang.blaze3d.pipeline.RenderTarget
    Returns the value of the mcDepthInput record component.
    net.minecraft.client.renderer.PostChain
    Returns the value of the postChain record component.
    org.apache.commons.lang3.mutable.MutableBoolean
    Returns the value of the renderAnything record component.
    com.mojang.blaze3d.pipeline.RenderTarget
    Returns the value of the renderInput record component.
    com.mojang.blaze3d.pipeline.RenderTarget
    Returns the value of the renderOutput record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ShaderChain

      public ShaderChain(net.minecraft.client.renderer.PostChain postChain, com.mojang.blaze3d.pipeline.RenderTarget renderInput, com.mojang.blaze3d.pipeline.RenderTarget mcDepthInput, com.mojang.blaze3d.pipeline.RenderTarget renderOutput, org.apache.commons.lang3.mutable.MutableBoolean renderAnything)
      Creates an instance of a ShaderChain record class.
      Parameters:
      postChain - the value for the postChain record component
      renderInput - the value for the renderInput record component
      mcDepthInput - the value for the mcDepthInput record component
      renderOutput - the value for the renderOutput record component
      renderAnything - the value for the renderAnything record component
  • Method Details

    • load

      @Nullable public static @Nullable HighlightRenderer.ShaderChain load(net.minecraft.client.Minecraft mc, net.minecraft.resources.ResourceLocation id)
    • close

      public void close()
    • clearInput

      public void clearInput(net.minecraft.client.Minecraft mc)
    • clearDepth

      public void clearDepth(net.minecraft.client.Minecraft mc, boolean copy)
    • draw

      public void draw(net.minecraft.client.Minecraft mc, float delta)
    • 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 o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • postChain

      public net.minecraft.client.renderer.PostChain postChain()
      Returns the value of the postChain record component.
      Returns:
      the value of the postChain record component
    • renderInput

      public com.mojang.blaze3d.pipeline.RenderTarget renderInput()
      Returns the value of the renderInput record component.
      Returns:
      the value of the renderInput record component
    • mcDepthInput

      public com.mojang.blaze3d.pipeline.RenderTarget mcDepthInput()
      Returns the value of the mcDepthInput record component.
      Returns:
      the value of the mcDepthInput record component
    • renderOutput

      public com.mojang.blaze3d.pipeline.RenderTarget renderOutput()
      Returns the value of the renderOutput record component.
      Returns:
      the value of the renderOutput record component
    • renderAnything

      public org.apache.commons.lang3.mutable.MutableBoolean renderAnything()
      Returns the value of the renderAnything record component.
      Returns:
      the value of the renderAnything record component