Package net.minecraft.client.gl
Class PostProcessShader
java.lang.Object
net.minecraft.client.gl.PostProcessShader
- All Implemented Interfaces:
AutoCloseable
@Environment(CLIENT) public class PostProcessShader extends Object implements AutoCloseable
- Mappings:
Namespace Name official ehu
intermediary net/minecraft/class_283
named net/minecraft/client/gl/PostProcessShader
-
Field Summary
Fields Modifier and Type Field Description Framebuffer
input
Framebuffer
output
private JsonGlProgram
program
private Matrix4f
projectionMatrix
private List<Integer>
samplerHeights
private List<String>
samplerNames
private List<IntSupplier>
samplerValues
private List<Integer>
samplerWidths
-
Constructor Summary
Constructors Constructor Description PostProcessShader(ResourceManager resourceManager, String programName, Framebuffer input, Framebuffer output)
-
Method Summary
Modifier and Type Method Description void
addAuxTarget(String name, IntSupplier intSupplier, int width, int height)
void
close()
JsonGlProgram
getProgram()
void
render(float time)
void
setProjectionMatrix(Matrix4f projectionMatrix)
-
Field Details
-
program
- Mappings:
Namespace Name Mixin selector official c
Lehu;c:Lehg;
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/JsonGlProgram;
-
input
- Mappings:
Namespace Name Mixin selector official a
Lehu;a:Ldkl;
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
- Mappings:
Namespace Name Mixin selector official b
Lehu;b:Ldkl;
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
- Mappings:
Namespace Name Mixin selector official d
Lehu;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
- Mappings:
Namespace Name Mixin selector official e
Lehu;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
- Mappings:
Namespace Name Mixin selector official f
Lehu;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
- Mappings:
Namespace Name Mixin selector official g
Lehu;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
- Mappings:
Namespace Name Mixin selector official h
Lehu;h:Lb;
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;
-
-
Constructor Details
-
PostProcessShader
public PostProcessShader(ResourceManager resourceManager, String programName, Framebuffer input, Framebuffer output) throws IOException- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official <init>
Lehu;<init>(Lacx;Ljava/lang/String;Ldkl;Ldkl;)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
-
-
Method Details
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Mappings:
Namespace Name Mixin selector official close
Lehu;close()V
intermediary close
Lnet/minecraft/class_283;close()V
named close
Lnet/minecraft/client/gl/PostProcessShader;close()V
-
addAuxTarget
- Mappings:
Namespace Name Mixin selector official a
Lehu;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
- Mappings:
Namespace Name Mixin selector official a
Lehu;a(Lb;)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
Lehu;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
- Mappings:
Namespace Name Mixin selector official b
Lehu;b()Lehg;
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/JsonGlProgram;
-