Class PostChainMixin

java.lang.Object
de.luckymcdev.foundryengine.mixin.render.PostChainMixin
All Implemented Interfaces:
EngineInterface<net.minecraft.client.renderer.PostChain>, EnginePostChain

public abstract class PostChainMixin extends Object implements EnginePostChain
Implements EnginePostChain on PostChain for external target processing.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract void
    addToFrame(com.mojang.blaze3d.framegraph.FrameGraphBuilder frame, int screenWidth, int screenHeight, net.minecraft.client.renderer.PostChain.TargetBundle providedTargets)
     
    void
    engine$process(Map<net.minecraft.resources.Identifier, com.mojang.blaze3d.pipeline.RenderTarget> externalTargets, com.mojang.blaze3d.resource.GraphicsResourceAllocator resourceAllocator)
    Processes the post chain with the given external render targets.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface EngineInterface

    engine$self
  • Constructor Details

    • PostChainMixin

      public PostChainMixin()
  • Method Details

    • addToFrame

      public abstract void addToFrame(com.mojang.blaze3d.framegraph.FrameGraphBuilder frame, int screenWidth, int screenHeight, net.minecraft.client.renderer.PostChain.TargetBundle providedTargets)
    • engine$process

      public void engine$process(Map<net.minecraft.resources.Identifier, com.mojang.blaze3d.pipeline.RenderTarget> externalTargets, com.mojang.blaze3d.resource.GraphicsResourceAllocator resourceAllocator)
      Processes the post chain with the given external render targets.
      Specified by:
      engine$process in interface EnginePostChain