Package net.minecraft.client.renderer
Class PostChain
java.lang.Object
net.minecraft.client.renderer.PostChain
- All Implemented Interfaces:
- AutoCloseable
- 
Field SummaryFieldsModifier 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 SummaryConstructorsConstructorDescriptionPostChain(TextureManager p_110018_, ResourceManager p_110019_, RenderTarget p_110020_, ResourceLocation p_110021_) 
- 
Method SummaryModifier 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
- 
shaderOrthoMatrixprivate org.joml.Matrix4f shaderOrthoMatrix
- 
screenWidthprivate int screenWidth
- 
screenHeightprivate int screenHeight
- 
timeprivate float time
- 
lastStampprivate float lastStamp
 
- 
- 
Constructor Details- 
PostChainpublic 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- 
loadprivate void load(TextureManager p_110034_, ResourceLocation p_110035_) throws IOException, com.google.gson.JsonSyntaxException - Throws:
- IOException
- com.google.gson.JsonSyntaxException
 
- 
parseTargetNode- Throws:
- ChainedJsonException
 
- 
parsePassNodeprivate void parsePassNode(TextureManager p_110031_, com.google.gson.JsonElement p_110032_) throws IOException - Throws:
- IOException
 
- 
parseUniformNode- Throws:
- ChainedJsonException
 
- 
getTempTarget
- 
addTempTarget
- 
closepublic void close()- Specified by:
- closein interface- AutoCloseable
 
- 
addPasspublic PostPass addPass(String p_110043_, RenderTarget p_110044_, RenderTarget p_110045_) throws IOException - Throws:
- IOException
 
- 
updateOrthoMatrixprivate void updateOrthoMatrix()
- 
resizepublic void resize(int p_110026_, int p_110027_) 
- 
processpublic void process(float p_110024_) 
- 
getName
- 
getRenderTarget
 
-