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 gds
-
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
Lgds;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
Lgds;b:Leyl;
-
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
Lgds;c:Laus;
-
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
Lgds;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
Lgds;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
Lgds;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
Lgds;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
Lgds;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
Lgds;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
Lgds;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
Lgds;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
Lgds;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>
Lgds;<init>(Lgpb;Laus;Leyl;Lalf;)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
Lgds;a(Lgpb;Lalf;)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
Lgds;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
Lgds;a(Lgpb;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
Lgds;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
Lgds;a(Ljava/lang/String;)Leyl;
-
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
Lgds;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
Lgds;a(Ljava/lang/String;Leyl;Leyl;Z)Lgdt;
-
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
Lgds;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
Lgds;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
Lgds;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
Lgds;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
Lgds;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
Lgds;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
Lgds;b(Ljava/lang/String;)Leyl;
-