Package net.minecraft.client.renderer
Class PostChain
java.lang.Object
net.minecraft.client.renderer.PostChain
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Set<ResourceLocation> private final Map<ResourceLocation, PostChainConfig.InternalTarget> static final ResourceLocation -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatePostChain(List<PostPass> passes, Map<ResourceLocation, PostChainConfig.InternalTarget> internalTargets, Set<ResourceLocation> externalTargets) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToFrame(FrameGraphBuilder frameGraphBuilder, int width, int height, PostChain.TargetBundle targetBundle) private static PostPasscreatePass(TextureManager textureManager, ShaderManager shaderManager, PostChainConfig.Pass pass) static PostChainload(PostChainConfig config, TextureManager textureManager, ShaderManager shaderManager, Set<ResourceLocation> externalTargets) voidprocess(RenderTarget target, GraphicsResourceAllocator graphicsResourceAllocator) Deprecated.voidsetUniform(String name, float backgroundBlurriness)
-
Field Details
-
MAIN_TARGET_ID
-
passes
-
internalTargets
-
externalTargets
-
-
Constructor Details
-
PostChain
private PostChain(List<PostPass> passes, Map<ResourceLocation, PostChainConfig.InternalTarget> internalTargets, Set<ResourceLocation> externalTargets)
-
-
Method Details
-
load
public static PostChain load(PostChainConfig config, TextureManager textureManager, ShaderManager shaderManager, Set<ResourceLocation> externalTargets) throws ShaderManager.CompilationException -
createPass
private static PostPass createPass(TextureManager textureManager, ShaderManager shaderManager, PostChainConfig.Pass pass) throws ShaderManager.CompilationException -
addToFrame
public void addToFrame(FrameGraphBuilder frameGraphBuilder, int width, int height, PostChain.TargetBundle targetBundle) -
process
@Deprecated public void process(RenderTarget target, GraphicsResourceAllocator graphicsResourceAllocator) Deprecated. -
setUniform
-