Class PostChainMixin
java.lang.Object
de.luckymcdev.foundryengine.mixin.render.PostChainMixin
- All Implemented Interfaces:
EngineInterface<net.minecraft.client.renderer.PostChain>, EnginePostChain
Implements
EnginePostChain on PostChain for external target processing.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidaddToFrame(com.mojang.blaze3d.framegraph.FrameGraphBuilder frame, int screenWidth, int screenHeight, net.minecraft.client.renderer.PostChain.TargetBundle providedTargets) voidengine$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, waitMethods 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$processin interfaceEnginePostChain
-