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> pPasses, Map<ResourceLocation, PostChainConfig.InternalTarget> pInternalTargets, Set<ResourceLocation> pExternalTargets) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToFrame(FrameGraphBuilder pFrameGraphBuilder, int pWidth, int pHeight, PostChain.TargetBundle pTargetBundle) private static PostPasscreatePass(TextureManager pTextureManager, ShaderManager pShaderManager, PostChainConfig.Pass pPass) static PostChainload(PostChainConfig pConfig, TextureManager pTextureManager, ShaderManager pShaderManager, Set<ResourceLocation> pExternalTargets) voidprocess(RenderTarget pTarget, GraphicsResourceAllocator pGraphicsResourceAllocator) Deprecated.voidsetUniform(String pName, float pBackgroundBlurriness)
-
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, ShaderManager pShaderManager, Set<ResourceLocation> pExternalTargets) throws ShaderManager.CompilationException -
createPass
private static PostPass createPass(TextureManager pTextureManager, ShaderManager pShaderManager, PostChainConfig.Pass pPass) throws ShaderManager.CompilationException -
addToFrame
public void addToFrame(FrameGraphBuilder pFrameGraphBuilder, int pWidth, int pHeight, PostChain.TargetBundle pTargetBundle) -
process
@Deprecated public void process(RenderTarget pTarget, GraphicsResourceAllocator pGraphicsResourceAllocator) Deprecated. -
setUniform
-