Package net.minecraft.client.renderer
Class PostChain
java.lang.Object
net.minecraft.client.renderer.PostChain
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
Modifier and TypeFieldDescriptionprivate Map<String,RenderTarget>
private List<RenderTarget>
private float
private static String
private String
private ResourceManager
private int
private RenderTarget
private int
private Matrix4f
private float
-
Constructor Summary
ConstructorDescriptionPostChain(TextureManager p_110018_, ResourceManager p_110019_, RenderTarget p_110020_, ResourceLocation p_110021_)
-
Method Summary
Modifier and TypeMethodDescriptionaddPass(String p_110043_, RenderTarget p_110044_, RenderTarget p_110045_)
void
addTempTarget(String p_110039_, int p_110040_, int p_110041_)
void
close()
getName()
private RenderTarget
getRenderTarget(String p_110050_)
getTempTarget(String p_110037_)
private void
load(TextureManager p_110034_, ResourceLocation p_110035_)
private void
parsePassNode(TextureManager p_110031_, com.google.gson.JsonElement p_110032_)
private void
parseTargetNode(com.google.gson.JsonElement p_110029_)
private void
parseUniformNode(com.google.gson.JsonElement p_110048_)
void
process(float p_110024_)
void
resize(int p_110026_, int p_110027_)
private void
-
Field Details
-
MAIN_RENDER_TARGET
- See Also:
- Constant Field Values
-
screenTarget
-
resourceManager
-
name
-
passes
-
customRenderTargets
-
fullSizedTargets
-
shaderOrthoMatrix
-
screenWidth
private int screenWidth -
screenHeight
private int screenHeight -
time
private float time -
lastStamp
private float lastStamp
-
-
Constructor Details
-
PostChain
public PostChain(TextureManager p_110018_, ResourceManager p_110019_, RenderTarget p_110020_, ResourceLocation p_110021_) throws IOException, com.google.gson.JsonSyntaxException- Throws:
IOException
com.google.gson.JsonSyntaxException
-
-
Method Details
-
load
private void load(TextureManager p_110034_, ResourceLocation p_110035_) throws IOException, com.google.gson.JsonSyntaxException- Throws:
IOException
com.google.gson.JsonSyntaxException
-
parseTargetNode
- Throws:
ChainedJsonException
-
parsePassNode
private void parsePassNode(TextureManager p_110031_, com.google.gson.JsonElement p_110032_) throws IOException- Throws:
IOException
-
parseUniformNode
- Throws:
ChainedJsonException
-
getTempTarget
-
addTempTarget
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
addPass
public PostPass addPass(String p_110043_, RenderTarget p_110044_, RenderTarget p_110045_) throws IOException- Throws:
IOException
-
updateOrthoMatrix
private void updateOrthoMatrix() -
resize
public void resize(int p_110026_, int p_110027_) -
process
public void process(float p_110024_) -
getName
-
getRenderTarget
-