Package net.minecraft.client.renderer
Class PostChain
java.lang.Object
net.minecraft.client.renderer.PostChain
- All Implemented Interfaces:
 AutoCloseable
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<String,RenderTarget> private final List<RenderTarget>private floatprivate static final Stringprivate final Stringprivate final ResourceManagerprivate intprivate final RenderTargetprivate intprivate org.joml.Matrix4fprivate float - 
Constructor Summary
ConstructorsConstructorDescriptionPostChain(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_) voidaddTempTarget(String p_110039_, int p_110040_, int p_110041_) voidclose()final StringgetName()private RenderTargetgetRenderTarget(String p_110050_) getTempTarget(String p_110037_) private voidload(TextureManager p_110034_, ResourceLocation p_110035_) private voidparsePassNode(TextureManager p_110031_, com.google.gson.JsonElement p_110032_) private voidparseTargetNode(com.google.gson.JsonElement p_110029_) private voidparseUniformNode(com.google.gson.JsonElement p_110048_) voidprocess(float p_110024_) voidresize(int p_110026_, int p_110027_) private void 
- 
Field Details
- 
MAIN_RENDER_TARGET
- See Also:
 
 - 
screenTarget
 - 
resourceManager
 - 
name
 - 
passes
 - 
customRenderTargets
 - 
fullSizedTargets
 - 
shaderOrthoMatrix
private org.joml.Matrix4f 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:
 IOExceptioncom.google.gson.JsonSyntaxException
 
 - 
 - 
Method Details
- 
load
private void load(TextureManager p_110034_, ResourceLocation p_110035_) throws IOException, com.google.gson.JsonSyntaxException - Throws:
 IOExceptioncom.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:
 closein 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
 
 -