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
ConstructorsModifierConstructorDescriptionprivate
PostChain
(List<PostPass> pPasses, Map<ResourceLocation, PostChainConfig.InternalTarget> pInternalTargets, Set<ResourceLocation> pExternalTargets) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addToFrame
(FrameGraphBuilder pFrameGraphBuilder, int pWidth, int pHeight, PostChain.TargetBundle pTargetBundle, Consumer<RenderPass> pUniformSetter) private static PostPass
createPass
(TextureManager pTextureManager, PostChainConfig.Pass pPass, ResourceLocation pLocation) static PostChain
load
(PostChainConfig pConfig, TextureManager pTextureManager, Set<ResourceLocation> pExternalTargets, ResourceLocation pName) void
process
(RenderTarget pRenderTarget, GraphicsResourceAllocator pAllocator, Consumer<RenderPass> pUniformSetter) Deprecated.
-
Field Details
-
MAIN_TARGET_ID
-
passes
-
internalTargets
-
externalTargets
-
-
Constructor Details
-
PostChain
private PostChain(List<PostPass> pPasses, Map<ResourceLocation, PostChainConfig.InternalTarget> pInternalTargets, Set<ResourceLocation> pExternalTargets)
-
-
Method Details
-
load
public static PostChain load(PostChainConfig pConfig, TextureManager pTextureManager, Set<ResourceLocation> pExternalTargets, ResourceLocation pName) throws ShaderManager.CompilationException -
createPass
private static PostPass createPass(TextureManager pTextureManager, PostChainConfig.Pass pPass, ResourceLocation pLocation) throws ShaderManager.CompilationException -
addToFrame
public void addToFrame(FrameGraphBuilder pFrameGraphBuilder, int pWidth, int pHeight, PostChain.TargetBundle pTargetBundle, @Nullable Consumer<RenderPass> pUniformSetter) -
process
@Deprecated public void process(RenderTarget pRenderTarget, GraphicsResourceAllocator pAllocator, @Nullable Consumer<RenderPass> pUniformSetter) Deprecated.
-