net.minecraft.client.render.effect

public class PostEffectProcessor

implements AutoCloseable

net.minecraft.client.renderer.PostChain
net.minecraft.class_279
net.minecraft.client.render.effect.PostEffectProcessor

Field summary

Modifier and TypeField
public static final Identifier
MAIN_TARGET_ID
field_53104
MAIN
private final List<PostEffectPass>
passes
field_1497
passes
private final Map<Identifier, PostEffectPipeline$Targets>
internalTargets
field_53106
internalTargets
private final Set<Identifier>
externalTargets
field_53107
externalTargets
private final Map<Identifier, Framebuffer>
persistentTargets
field_60119
framebuffers
private final ProjectionMatrix3
projection
field_1_1781
projectionMatrix
private final ProjectionMatrixBuffer
projectionMatrixBuffer
field_60120
projectionBuffer

Constructor summary

ModifierConstructor
private (List<PostEffectPass> passes, Map<Identifier, PostEffectPipeline$Targets> internalTargets, Set<Identifier> externalTargets, ProjectionMatrix3 projectionMatrix, ProjectionMatrixBuffer projectionBuffer)

Method summary

Modifier and TypeMethod
public static PostEffectProcessor
load(PostChainConfig config, TextureManager textureManager, Set<Identifier> allowedExternalTargets, Identifier id, Projection projection, ProjectionMatrixBuffer projectionMatrixBuffer)
method_1256(class_9962 arg0, class_1060 arg1, Set<class_2960> arg2, class_2960 arg3, class_11279 arg4, class_11278 arg5)
parseEffect(PostEffectPipeline pipeline, TextureManager textureManager, Set<Identifier> availableExternalTargets, Identifier id, ProjectionMatrix3 projection, ProjectionMatrixBuffer projectionBuffer)
private static PostEffectPass
createPass(TextureManager textureManager, PostChainConfig$Pass config, Identifier id)
method_62233(class_1060 arg0, class_9962$class_9967 arg1, class_2960 arg2)
parsePass(TextureManager textureManager, PostEffectPipeline$Pass pass, Identifier id)
public void
addToFrame(FrameGraphBuilder frame, int screenWidth, int screenHeight, PostChain$TargetBundle providedTargets)
method_62234(class_9909 arg0, int arg1, int arg2, class_279$class_9961 arg3)
render(FrameGraphBuilder builder, int textureWidth, int textureHeight, PostEffectProcessor$FramebufferSet framebufferSet)
public void
process(RenderTarget mainTarget, GraphicsResourceAllocator resourceAllocator)
method_1258(class_276 arg0, class_9922 arg1)
render(Framebuffer framebuffer, ObjectAllocator objectAllocator)
private Framebuffer
getOrCreatePersistentTarget(Identifier id, RenderTargetDescriptor descriptor)
method_71124(class_2960 arg0, class_9923 arg1)
createFramebuffer(Identifier id, SimpleFramebufferFactory factory)
public void
close()
private static String
lambda$createPass$0(String arg0)
method_62239(String arg0)
method_62239(String name)
private static boolean
lambda$load$0(PostChainConfig arg0, Identifier arg1)
method_62238(class_9962 arg0, class_2960 arg1)
method_62238(PostEffectPipeline arg0, Identifier target)