Package net.minecraft.client.renderer
Class PostPass
java.lang.Object
net.minecraft.client.renderer.PostPass
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<IntSupplier> private final EffectInstanceprivate final intfinal RenderTargetfinal RenderTargetprivate org.joml.Matrix4f -
Constructor Summary
ConstructorsConstructorDescriptionPostPass(ResourceProvider resourceProvider, String name, RenderTarget inTarget, RenderTarget outTarget, boolean useLinearFilter) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAuxAsset(String auxName, IntSupplier auxFramebuffer, int width, int height) voidclose()intfinal StringgetName()voidprocess(float partialTicks) voidsetOrthoMatrix(org.joml.Matrix4f shaderOrthoMatrix)
-
Field Details
-
effect
-
inTarget
-
outTarget
-
auxAssets
-
auxNames
-
auxWidths
-
auxHeights
-
shaderOrthoMatrix
private org.joml.Matrix4f shaderOrthoMatrix -
filterMode
private final int filterMode
-
-
Constructor Details
-
PostPass
public PostPass(ResourceProvider resourceProvider, String name, RenderTarget inTarget, RenderTarget outTarget, boolean useLinearFilter) throws IOException - Throws:
IOException
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
getName
-
addAuxAsset
-
setOrthoMatrix
public void setOrthoMatrix(org.joml.Matrix4f shaderOrthoMatrix) -
process
public void process(float partialTicks) -
getEffect
-
getFilterMode
public int getFilterMode()
-