Class PostProcessShader
java.lang.Object
meteordevelopment.meteorclient.utils.render.postprocess.PostProcessShader
- Direct Known Subclasses:
EntityShader,StorageOutlineShader
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal net.minecraft.client.gl.Framebufferprotected final com.mojang.blaze3d.pipeline.RenderPipeline -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPostProcessShader(com.mojang.blaze3d.pipeline.RenderPipeline pipeline) -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic voidvoidonResized(int width, int height) protected voidpostDraw()protected voidpreDraw()voidrender()protected abstract voidsetupPass(MeshRenderer renderer) protected abstract booleanvoidsubmitVertices(Runnable draw)
-
Field Details
-
pipeline
protected final com.mojang.blaze3d.pipeline.RenderPipeline pipeline -
framebuffer
public final net.minecraft.client.gl.Framebuffer framebuffer
-
-
Constructor Details
-
PostProcessShader
protected PostProcessShader(com.mojang.blaze3d.pipeline.RenderPipeline pipeline)
-
-
Method Details
-
shouldDraw
protected abstract boolean shouldDraw() -
preDraw
protected void preDraw() -
postDraw
protected void postDraw() -
setupPass
-
clearTexture
public void clearTexture() -
submitVertices
-
render
public void render() -
onResized
public void onResized(int width, int height) -
flipFrame
public static void flipFrame()
-