Record Class PostEffectPass.TargetSampler

java.lang.Object
java.lang.Record
net.minecraft.client.gl.PostEffectPass.TargetSampler
Record Components:
samplerName -
targetId -
depthBuffer -
bilinear -
All Implemented Interfaces:
PostEffectPass.Sampler
Enclosing class:
PostEffectPass

@Environment(CLIENT) public static record PostEffectPass.TargetSampler(String samplerName, Identifier targetId, boolean depthBuffer, boolean bilinear) extends Record implements PostEffectPass.Sampler
Mappings:
Namespace Name
named net/minecraft/client/gl/PostEffectPass$TargetSampler
intermediary net/minecraft/class_283$class_9972
official glq$b
named samplerName
intermediary comp_3034
official a
named targetId
intermediary comp_3035
official b
named depthBuffer
intermediary comp_3036
official c
named bilinear
intermediary comp_3037
official d
  • Field Details

    • samplerName

      private final String samplerName
      The field for the samplerName record component.
    • targetId

      private final Identifier targetId
      The field for the targetId record component.
    • depthBuffer

      private final boolean depthBuffer
      The field for the depthBuffer record component.
    • bilinear

      private final boolean bilinear
      The field for the bilinear record component.
  • Constructor Details

    • TargetSampler

      public TargetSampler(String string, Identifier identifier, boolean bool, boolean bool2)
  • Method Details

    • getTarget

      private Handle<Framebuffer> getTarget(Map<Identifier,Handle<Framebuffer>> internalTargets)
      Mappings:
      Namespace Name Mixin selector
      named getTarget Lnet/minecraft/client/gl/PostEffectPass$TargetSampler;getTarget(Ljava/util/Map;)Lnet/minecraft/client/util/Handle;
      intermediary method_62262 Lnet/minecraft/class_283$class_9972;method_62262(Ljava/util/Map;)Lnet/minecraft/class_9925;
      official b Lglq$b;b(Ljava/util/Map;)Lfgd;
    • preRender

      public void preRender(RenderPass pass, Map<Identifier,Handle<Framebuffer>> internalTargets)
      Specified by:
      preRender in interface PostEffectPass.Sampler
      Mappings:
      Namespace Name Mixin selector
      named preRender Lnet/minecraft/client/gl/PostEffectPass$Sampler;preRender(Lnet/minecraft/client/render/RenderPass;Ljava/util/Map;)V
      intermediary method_62259 Lnet/minecraft/class_283$class_9971;method_62259(Lnet/minecraft/class_9916;Ljava/util/Map;)V
      official a Lglq$a;a(Lfew;Ljava/util/Map;)V
    • bind

      public void bind(ShaderProgram program, Map<Identifier,Handle<Framebuffer>> internalTargets)
      Specified by:
      bind in interface PostEffectPass.Sampler
      Mappings:
      Namespace Name Mixin selector
      named bind Lnet/minecraft/client/gl/PostEffectPass$Sampler;bind(Lnet/minecraft/client/gl/ShaderProgram;Ljava/util/Map;)V
      intermediary method_62260 Lnet/minecraft/class_283$class_9971;method_62260(Lnet/minecraft/class_5944;Ljava/util/Map;)V
      official a Lglq$a;a(Lgkt;Ljava/util/Map;)V
    • postRender

      public void postRender(Map<Identifier,Handle<Framebuffer>> internalTargets)
      Specified by:
      postRender in interface PostEffectPass.Sampler
      Mappings:
      Namespace Name Mixin selector
      named postRender Lnet/minecraft/client/gl/PostEffectPass$Sampler;postRender(Ljava/util/Map;)V
      intermediary method_62261 Lnet/minecraft/class_283$class_9971;method_62261(Ljava/util/Map;)V
      official a Lglq$a;a(Ljava/util/Map;)V
    • 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.
    • samplerName

      public String samplerName()
      Returns the value of the samplerName record component.
      Returns:
      the value of the samplerName record component
    • targetId

      public Identifier targetId()
      Returns the value of the targetId record component.
      Returns:
      the value of the targetId record component
    • depthBuffer

      public boolean depthBuffer()
      Returns the value of the depthBuffer record component.
      Returns:
      the value of the depthBuffer record component
    • bilinear

      public boolean bilinear()
      Returns the value of the bilinear record component.
      Returns:
      the value of the bilinear record component