Class PostEffectPass

java.lang.Object
net.minecraft.client.gl.PostEffectPass
All Implemented Interfaces:
AutoCloseable

@Environment(CLIENT) public class PostEffectPass extends Object implements AutoCloseable
Mappings:
Namespace Name
named net/minecraft/client/gl/PostEffectPass
intermediary net/minecraft/class_283
official gdt
  • Field Details

    • program

      private final JsonEffectShaderProgram program
      Mappings:
      Namespace Name Mixin selector
      named program Lnet/minecraft/client/gl/PostEffectPass;program:Lnet/minecraft/client/gl/JsonEffectShaderProgram;
      intermediary field_1540 Lnet/minecraft/class_283;field_1540:Lnet/minecraft/class_280;
      official c Lgdt;c:Lgdf;
    • input

      public final Framebuffer input
      Mappings:
      Namespace Name Mixin selector
      named input Lnet/minecraft/client/gl/PostEffectPass;input:Lnet/minecraft/client/gl/Framebuffer;
      intermediary field_1536 Lnet/minecraft/class_283;field_1536:Lnet/minecraft/class_276;
      official a Lgdt;a:Leyl;
    • output

      public final Framebuffer output
      Mappings:
      Namespace Name Mixin selector
      named output Lnet/minecraft/client/gl/PostEffectPass;output:Lnet/minecraft/client/gl/Framebuffer;
      intermediary field_1538 Lnet/minecraft/class_283;field_1538:Lnet/minecraft/class_276;
      official b Lgdt;b:Leyl;
    • samplerValues

      private final List<IntSupplier> samplerValues
      Mappings:
      Namespace Name Mixin selector
      named samplerValues Lnet/minecraft/client/gl/PostEffectPass;samplerValues:Ljava/util/List;
      intermediary field_1534 Lnet/minecraft/class_283;field_1534:Ljava/util/List;
      official d Lgdt;d:Ljava/util/List;
    • samplerNames

      private final List<String> samplerNames
      Mappings:
      Namespace Name Mixin selector
      named samplerNames Lnet/minecraft/client/gl/PostEffectPass;samplerNames:Ljava/util/List;
      intermediary field_1539 Lnet/minecraft/class_283;field_1539:Ljava/util/List;
      official e Lgdt;e:Ljava/util/List;
    • samplerWidths

      private final List<Integer> samplerWidths
      Mappings:
      Namespace Name Mixin selector
      named samplerWidths Lnet/minecraft/client/gl/PostEffectPass;samplerWidths:Ljava/util/List;
      intermediary field_1533 Lnet/minecraft/class_283;field_1533:Ljava/util/List;
      official f Lgdt;f:Ljava/util/List;
    • samplerHeights

      private final List<Integer> samplerHeights
      Mappings:
      Namespace Name Mixin selector
      named samplerHeights Lnet/minecraft/client/gl/PostEffectPass;samplerHeights:Ljava/util/List;
      intermediary field_1537 Lnet/minecraft/class_283;field_1537:Ljava/util/List;
      official g Lgdt;g:Ljava/util/List;
    • projectionMatrix

      private Matrix4f projectionMatrix
      Mappings:
      Namespace Name Mixin selector
      named projectionMatrix Lnet/minecraft/client/gl/PostEffectPass;projectionMatrix:Lorg/joml/Matrix4f;
      intermediary field_1535 Lnet/minecraft/class_283;field_1535:Lorg/joml/Matrix4f;
      official h Lgdt;h:Lorg/joml/Matrix4f;
    • texFilter

      private final int texFilter
      Mappings:
      Namespace Name Mixin selector
      named texFilter Lnet/minecraft/client/gl/PostEffectPass;texFilter:I
      intermediary field_49906 Lnet/minecraft/class_283;field_49906:I
      official i Lgdt;i:I
  • Constructor Details

    • PostEffectPass

      public PostEffectPass(ResourceFactory resourceFactory, String programName, Framebuffer input, Framebuffer output, boolean linear) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gl/PostEffectPass;<init>(Lnet/minecraft/resource/ResourceFactory;Ljava/lang/String;Lnet/minecraft/client/gl/Framebuffer;Lnet/minecraft/client/gl/Framebuffer;Z)V
      intermediary <init> Lnet/minecraft/class_283;<init>(Lnet/minecraft/class_5912;Ljava/lang/String;Lnet/minecraft/class_276;Lnet/minecraft/class_276;Z)V
      official <init> Lgdt;<init>(Laus;Ljava/lang/String;Leyl;Leyl;Z)V
  • Method Details

    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • getName

      public final String getName()
      Mappings:
      Namespace Name Mixin selector
      named getName Lnet/minecraft/client/gl/PostEffectPass;getName()Ljava/lang/String;
      intermediary method_35777 Lnet/minecraft/class_283;method_35777()Ljava/lang/String;
      official a Lgdt;a()Ljava/lang/String;
    • addAuxTarget

      public void addAuxTarget(String name, IntSupplier valueSupplier, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      named addAuxTarget Lnet/minecraft/client/gl/PostEffectPass;addAuxTarget(Ljava/lang/String;Ljava/util/function/IntSupplier;II)V
      intermediary method_1292 Lnet/minecraft/class_283;method_1292(Ljava/lang/String;Ljava/util/function/IntSupplier;II)V
      official a Lgdt;a(Ljava/lang/String;Ljava/util/function/IntSupplier;II)V
    • setProjectionMatrix

      public void setProjectionMatrix(Matrix4f projectionMatrix)
      Mappings:
      Namespace Name Mixin selector
      named setProjectionMatrix Lnet/minecraft/client/gl/PostEffectPass;setProjectionMatrix(Lorg/joml/Matrix4f;)V
      intermediary method_1291 Lnet/minecraft/class_283;method_1291(Lorg/joml/Matrix4f;)V
      official a Lgdt;a(Lorg/joml/Matrix4f;)V
    • render

      public void render(float time)
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/gl/PostEffectPass;render(F)V
      intermediary method_1293 Lnet/minecraft/class_283;method_1293(F)V
      official a Lgdt;a(F)V
    • getProgram

      public JsonEffectShaderProgram getProgram()
      Mappings:
      Namespace Name Mixin selector
      named getProgram Lnet/minecraft/client/gl/PostEffectPass;getProgram()Lnet/minecraft/client/gl/JsonEffectShaderProgram;
      intermediary method_1295 Lnet/minecraft/class_283;method_1295()Lnet/minecraft/class_280;
      official b Lgdt;b()Lgdf;
    • getTexFilter

      public int getTexFilter()
      Mappings:
      Namespace Name Mixin selector
      named getTexFilter Lnet/minecraft/client/gl/PostEffectPass;getTexFilter()I
      intermediary method_58234 Lnet/minecraft/class_283;method_58234()I
      official c Lgdt;c()I