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 gmf$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 Link icon

    • samplerName Link icon

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

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

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

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

    • TargetSampler Link icon

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

    • getTarget Link icon

      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 Lgmf$b;b(Ljava/util/Map;)Lffh;
    • preRender Link icon

      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 Lgmf$a;a(Lfea;Ljava/util/Map;)V
    • bind Link icon

      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 Lgmf$a;a(Lglj;Ljava/util/Map;)V
    • postRender Link icon

      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 Lgmf$a;a(Ljava/util/Map;)V
    • toString Link icon

      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 Link icon

      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 Link icon

      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 Link icon

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

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

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

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