Package net.minecraft.client.gl
Class PostEffectProcessor
java.lang.Object
net.minecraft.client.gl.PostEffectProcessor
- All Implemented Interfaces:
AutoCloseable
- Mappings:
Namespace Name named net/minecraft/client/gl/PostEffectProcessor
intermediary net/minecraft/class_279
official gei
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List
<Framebuffer> private int
private float
private static final String
private final Framebuffer
private final String
private final List
<PostEffectPass> private Matrix4f
private final ResourceFactory
private final Map
<String, Framebuffer> private float
private int
-
Constructor Summary
ConstructorDescriptionPostEffectProcessor
(TextureManager textureManager, ResourceFactory resourceFactory, Framebuffer framebuffer, Identifier id) -
Method Summary
Modifier and TypeMethodDescriptionaddPass
(String programName, Framebuffer source, Framebuffer dest, boolean linear) void
void
close()
final String
getName()
getSecondaryTarget
(String name) private @Nullable Framebuffer
private void
parseEffect
(TextureManager textureManager, Identifier id) private void
parsePass
(TextureManager textureManager, JsonElement jsonPass) private void
parseTarget
(JsonElement jsonTarget) private void
parseUniform
(JsonElement jsonUniform) void
render
(float tickDelta) private void
setTexFilter
(int texFilter) void
setUniforms
(String name, float value) void
setupDimensions
(int targetsWidth, int targetsHeight) private void
-
Field Details
-
MAIN_TARGET_NAME
- See Also:
- Mappings:
Namespace Name Mixin selector named MAIN_TARGET_NAME
Lnet/minecraft/client/gl/PostEffectProcessor;MAIN_TARGET_NAME:Ljava/lang/String;
intermediary field_32770
Lnet/minecraft/class_279;field_32770:Ljava/lang/String;
official a
Lgei;a:Ljava/lang/String;
-
mainTarget
- Mappings:
Namespace Name Mixin selector named mainTarget
Lnet/minecraft/client/gl/PostEffectProcessor;mainTarget:Lnet/minecraft/client/gl/Framebuffer;
intermediary field_1499
Lnet/minecraft/class_279;field_1499:Lnet/minecraft/class_276;
official b
Lgei;b:Leza;
-
resourceFactory
- Mappings:
Namespace Name Mixin selector named resourceFactory
Lnet/minecraft/client/gl/PostEffectProcessor;resourceFactory:Lnet/minecraft/resource/ResourceFactory;
intermediary field_49569
Lnet/minecraft/class_279;field_49569:Lnet/minecraft/class_5912;
official c
Lgei;c:Latz;
-
name
- Mappings:
Namespace Name Mixin selector named name
Lnet/minecraft/client/gl/PostEffectProcessor;name:Ljava/lang/String;
intermediary field_1494
Lnet/minecraft/class_279;field_1494:Ljava/lang/String;
official d
Lgei;d:Ljava/lang/String;
-
passes
- Mappings:
Namespace Name Mixin selector named passes
Lnet/minecraft/client/gl/PostEffectProcessor;passes:Ljava/util/List;
intermediary field_1497
Lnet/minecraft/class_279;field_1497:Ljava/util/List;
official e
Lgei;e:Ljava/util/List;
-
targetsByName
- Mappings:
Namespace Name Mixin selector named targetsByName
Lnet/minecraft/client/gl/PostEffectProcessor;targetsByName:Ljava/util/Map;
intermediary field_1495
Lnet/minecraft/class_279;field_1495:Ljava/util/Map;
official f
Lgei;f:Ljava/util/Map;
-
defaultSizedTargets
- Mappings:
Namespace Name Mixin selector named defaultSizedTargets
Lnet/minecraft/client/gl/PostEffectProcessor;defaultSizedTargets:Ljava/util/List;
intermediary field_1496
Lnet/minecraft/class_279;field_1496:Ljava/util/List;
official g
Lgei;g:Ljava/util/List;
-
projectionMatrix
- Mappings:
Namespace Name Mixin selector named projectionMatrix
Lnet/minecraft/client/gl/PostEffectProcessor;projectionMatrix:Lorg/joml/Matrix4f;
intermediary field_1498
Lnet/minecraft/class_279;field_1498:Lorg/joml/Matrix4f;
official h
Lgei;h:Lorg/joml/Matrix4f;
-
width
private int width- Mappings:
Namespace Name Mixin selector named width
Lnet/minecraft/client/gl/PostEffectProcessor;width:I
intermediary field_1493
Lnet/minecraft/class_279;field_1493:I
official i
Lgei;i:I
-
height
private int height- Mappings:
Namespace Name Mixin selector named height
Lnet/minecraft/client/gl/PostEffectProcessor;height:I
intermediary field_1492
Lnet/minecraft/class_279;field_1492:I
official j
Lgei;j:I
-
time
private float time- Mappings:
Namespace Name Mixin selector named time
Lnet/minecraft/client/gl/PostEffectProcessor;time:F
intermediary field_1501
Lnet/minecraft/class_279;field_1501:F
official k
Lgei;k:F
-
lastTickDelta
private float lastTickDelta- Mappings:
Namespace Name Mixin selector named lastTickDelta
Lnet/minecraft/client/gl/PostEffectProcessor;lastTickDelta:F
intermediary field_1500
Lnet/minecraft/class_279;field_1500:F
official l
Lgei;l:F
-
-
Constructor Details
-
PostEffectProcessor
public PostEffectProcessor(TextureManager textureManager, ResourceFactory resourceFactory, Framebuffer framebuffer, Identifier id) throws IOException, JsonSyntaxException - Throws:
IOException
JsonSyntaxException
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gl/PostEffectProcessor;<init>(Lnet/minecraft/client/texture/TextureManager;Lnet/minecraft/resource/ResourceFactory;Lnet/minecraft/client/gl/Framebuffer;Lnet/minecraft/util/Identifier;)V
intermediary <init>
Lnet/minecraft/class_279;<init>(Lnet/minecraft/class_1060;Lnet/minecraft/class_5912;Lnet/minecraft/class_276;Lnet/minecraft/class_2960;)V
official <init>
Lgei;<init>(Lgpr;Latz;Leza;Lakk;)V
-
-
Method Details
-
parseEffect
private void parseEffect(TextureManager textureManager, Identifier id) throws IOException, JsonSyntaxException - Throws:
IOException
JsonSyntaxException
- Mappings:
Namespace Name Mixin selector named parseEffect
Lnet/minecraft/client/gl/PostEffectProcessor;parseEffect(Lnet/minecraft/client/texture/TextureManager;Lnet/minecraft/util/Identifier;)V
intermediary method_1256
Lnet/minecraft/class_279;method_1256(Lnet/minecraft/class_1060;Lnet/minecraft/class_2960;)V
official a
Lgei;a(Lgpr;Lakk;)V
-
parseTarget
- Throws:
InvalidHierarchicalFileException
- Mappings:
Namespace Name Mixin selector named parseTarget
Lnet/minecraft/client/gl/PostEffectProcessor;parseTarget(Lcom/google/gson/JsonElement;)V
intermediary method_1265
Lnet/minecraft/class_279;method_1265(Lcom/google/gson/JsonElement;)V
official a
Lgei;a(Lcom/google/gson/JsonElement;)V
-
parsePass
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector named parsePass
Lnet/minecraft/client/gl/PostEffectProcessor;parsePass(Lnet/minecraft/client/texture/TextureManager;Lcom/google/gson/JsonElement;)V
intermediary method_1257
Lnet/minecraft/class_279;method_1257(Lnet/minecraft/class_1060;Lcom/google/gson/JsonElement;)V
official a
Lgei;a(Lgpr;Lcom/google/gson/JsonElement;)V
-
parseUniform
- Throws:
InvalidHierarchicalFileException
- Mappings:
Namespace Name Mixin selector named parseUniform
Lnet/minecraft/client/gl/PostEffectProcessor;parseUniform(Lcom/google/gson/JsonElement;)V
intermediary method_1263
Lnet/minecraft/class_279;method_1263(Lcom/google/gson/JsonElement;)V
official b
Lgei;b(Lcom/google/gson/JsonElement;)V
-
getSecondaryTarget
- Mappings:
Namespace Name Mixin selector named getSecondaryTarget
Lnet/minecraft/client/gl/PostEffectProcessor;getSecondaryTarget(Ljava/lang/String;)Lnet/minecraft/client/gl/Framebuffer;
intermediary method_1264
Lnet/minecraft/class_279;method_1264(Ljava/lang/String;)Lnet/minecraft/class_276;
official a
Lgei;a(Ljava/lang/String;)Leza;
-
addTarget
- Mappings:
Namespace Name Mixin selector named addTarget
Lnet/minecraft/client/gl/PostEffectProcessor;addTarget(Ljava/lang/String;II)V
intermediary method_1261
Lnet/minecraft/class_279;method_1261(Ljava/lang/String;II)V
official a
Lgei;a(Ljava/lang/String;II)V
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
addPass
public PostEffectPass addPass(String programName, Framebuffer source, Framebuffer dest, boolean linear) throws IOException - Throws:
IOException
- Mappings:
Namespace Name Mixin selector named addPass
Lnet/minecraft/client/gl/PostEffectProcessor;addPass(Ljava/lang/String;Lnet/minecraft/client/gl/Framebuffer;Lnet/minecraft/client/gl/Framebuffer;Z)Lnet/minecraft/client/gl/PostEffectPass;
intermediary method_1262
Lnet/minecraft/class_279;method_1262(Ljava/lang/String;Lnet/minecraft/class_276;Lnet/minecraft/class_276;Z)Lnet/minecraft/class_283;
official a
Lgei;a(Ljava/lang/String;Leza;Leza;Z)Lgej;
-
setupProjectionMatrix
private void setupProjectionMatrix()- Mappings:
Namespace Name Mixin selector named setupProjectionMatrix
Lnet/minecraft/client/gl/PostEffectProcessor;setupProjectionMatrix()V
intermediary method_1267
Lnet/minecraft/class_279;method_1267()V
official b
Lgei;b()V
-
setupDimensions
public void setupDimensions(int targetsWidth, int targetsHeight) - Mappings:
Namespace Name Mixin selector named setupDimensions
Lnet/minecraft/client/gl/PostEffectProcessor;setupDimensions(II)V
intermediary method_1259
Lnet/minecraft/class_279;method_1259(II)V
official a
Lgei;a(II)V
-
setTexFilter
private void setTexFilter(int texFilter) - Mappings:
Namespace Name Mixin selector named setTexFilter
Lnet/minecraft/client/gl/PostEffectProcessor;setTexFilter(I)V
intermediary method_58233
Lnet/minecraft/class_279;method_58233(I)V
official a
Lgei;a(I)V
-
render
public void render(float tickDelta) - Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/gl/PostEffectProcessor;render(F)V
intermediary method_1258
Lnet/minecraft/class_279;method_1258(F)V
official a
Lgei;a(F)V
-
setUniforms
- Mappings:
Namespace Name Mixin selector named setUniforms
Lnet/minecraft/client/gl/PostEffectProcessor;setUniforms(Ljava/lang/String;F)V
intermediary method_57799
Lnet/minecraft/class_279;method_57799(Ljava/lang/String;F)V
official a
Lgei;a(Ljava/lang/String;F)V
-
getName
- Mappings:
Namespace Name Mixin selector named getName
Lnet/minecraft/client/gl/PostEffectProcessor;getName()Ljava/lang/String;
intermediary method_1260
Lnet/minecraft/class_279;method_1260()Ljava/lang/String;
official a
Lgei;a()Ljava/lang/String;
-
getTarget
- Mappings:
Namespace Name Mixin selector named getTarget
Lnet/minecraft/client/gl/PostEffectProcessor;getTarget(Ljava/lang/String;)Lnet/minecraft/client/gl/Framebuffer;
intermediary method_1266
Lnet/minecraft/class_279;method_1266(Ljava/lang/String;)Lnet/minecraft/class_276;
official b
Lgei;b(Ljava/lang/String;)Leza;
-