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, Consumer<RenderPass> uniformSetter) private static PostPasscreatePass(TextureManager textureManager, PostChainConfig.Pass pass, ResourceLocation location) static PostChainload(PostChainConfig config, TextureManager textureManager, Set<ResourceLocation> externalTargets, ResourceLocation name) voidprocess(RenderTarget renderTarget, GraphicsResourceAllocator allocator, Consumer<RenderPass> uniformSetter) Deprecated.
-
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, Set<ResourceLocation> externalTargets, ResourceLocation name) throws ShaderManager.CompilationException -
createPass
private static PostPass createPass(TextureManager textureManager, PostChainConfig.Pass pass, ResourceLocation location) throws ShaderManager.CompilationException -
addToFrame
public void addToFrame(FrameGraphBuilder frameGraphBuilder, int width, int height, PostChain.TargetBundle targetBundle, @Nullable Consumer<RenderPass> uniformSetter) -
process
@Deprecated public void process(RenderTarget renderTarget, GraphicsResourceAllocator allocator, @Nullable Consumer<RenderPass> uniformSetter) Deprecated.
-