Package foundry.veil.render.post
Interface PostPipeline
- All Superinterfaces:
AutoCloseable,org.lwjgl.system.NativeResource,UniformAccess
- All Known Implementing Classes:
BlitPostStage,CompositePostPipeline,CopyPostStage,FramebufferPostStage,MaskPostStage
A series of post-processing effects that can be run to change the current framebuffer state.
It can be fully run using PostProcessingManager.runPipeline(PostPipeline).
This class implements MutableShaderUniformAccess to allow changing uniforms in all shaders.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceContext for applying post pipelines. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(PostPipeline.Context context) Applies this post effect.default voidfree()Allows a post pipeline to dispose of any resources it takes up.getType()Methods inherited from interface org.lwjgl.system.NativeResource
closeMethods inherited from interface foundry.veil.render.shader.program.UniformAccess
setFloat, setFloats, setInt, setInts, setMatrix, setMatrix, setMatrix, setMatrix, setMatrix, setUniformBlock, setVector, setVector, setVector, setVector, setVector, setVector, setVectorI, setVectorI, setVectorI, setVectorI, setVectorI, setVectorI, setVectors, setVectors, setVectors, setVectors, setVectors, setVectors
-
Field Details
-
CODEC
-
-
Method Details
-
apply
Applies this post effect.PostProcessingManager.runPipeline(PostPipeline)should be called to run this pipeline.- Parameters:
context- The context to use when running this pipeline.
-
free
default void free()Allows a post pipeline to dispose of any resources it takes up.- Specified by:
freein interfaceorg.lwjgl.system.NativeResource
-
getType
PostPipelineStageRegistry.PipelineType<? extends PostPipeline> getType()- Returns:
- The type of post effect this is
-