类 PostProcessShader

  • 所有已实现的接口:
    AutoCloseable

    @Environment(CLIENT)
    public class PostProcessShader
    extends Object
    implements AutoCloseable
    Mappings:
    Namespace Name
    official eme
    intermediary net/minecraft/class_283
    named net/minecraft/client/gl/PostProcessShader
    • 字段详细资料

      • program

        private final JsonEffectGlShader program
        Mappings:
        Namespace Name Mixin selector
        official c Leme;c:Lelq;
        intermediary field_1540 Lnet/minecraft/class_283;field_1540:Lnet/minecraft/class_280;
        named program Lnet/minecraft/client/gl/PostProcessShader;program:Lnet/minecraft/client/gl/JsonEffectGlShader;
      • input

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

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

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

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

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

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

        private Matrix4f projectionMatrix
        Mappings:
        Namespace Name Mixin selector
        official h Leme;h:Ld;
        intermediary field_1535 Lnet/minecraft/class_283;field_1535:Lnet/minecraft/class_1159;
        named projectionMatrix Lnet/minecraft/client/gl/PostProcessShader;projectionMatrix:Lnet/minecraft/util/math/Matrix4f;
    • 构造器详细资料

      • PostProcessShader

        public PostProcessShader​(ResourceManager resourceManager,
                                 String programName,
                                 Framebuffer input,
                                 Framebuffer output)
                          throws IOException
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official <init> Leme;<init>(Ladl;Ljava/lang/String;Ldnx;Ldnx;)V
        intermediary <init> Lnet/minecraft/class_283;<init>(Lnet/minecraft/class_3300;Ljava/lang/String;Lnet/minecraft/class_276;Lnet/minecraft/class_276;)V
        named <init> Lnet/minecraft/client/gl/PostProcessShader;<init>(Lnet/minecraft/resource/ResourceManager;Ljava/lang/String;Lnet/minecraft/client/gl/Framebuffer;Lnet/minecraft/client/gl/Framebuffer;)V
    • 方法详细资料

      • close

        public void close()
        指定者:
        close 在接口中 AutoCloseable
        Mappings:
        Namespace Name Mixin selector
        official close Leme;close()V
        intermediary close Lnet/minecraft/class_283;close()V
        named close Lnet/minecraft/client/gl/PostProcessShader;close()V
      • method_35777

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

        public void addAuxTarget​(String name,
                                 IntSupplier intSupplier,
                                 int width,
                                 int height)
        Mappings:
        Namespace Name Mixin selector
        official a Leme;a(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
        named addAuxTarget Lnet/minecraft/client/gl/PostProcessShader;addAuxTarget(Ljava/lang/String;Ljava/util/function/IntSupplier;II)V
      • setProjectionMatrix

        public void setProjectionMatrix​(Matrix4f projectionMatrix)
        Mappings:
        Namespace Name Mixin selector
        official a Leme;a(Ld;)V
        intermediary method_1291 Lnet/minecraft/class_283;method_1291(Lnet/minecraft/class_1159;)V
        named setProjectionMatrix Lnet/minecraft/client/gl/PostProcessShader;setProjectionMatrix(Lnet/minecraft/util/math/Matrix4f;)V
      • render

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

        public JsonEffectGlShader getProgram()
        Mappings:
        Namespace Name Mixin selector
        official b Leme;b()Lelq;
        intermediary method_1295 Lnet/minecraft/class_283;method_1295()Lnet/minecraft/class_280;
        named getProgram Lnet/minecraft/client/gl/PostProcessShader;getProgram()Lnet/minecraft/client/gl/JsonEffectGlShader;