public interface RenderPipeline extends com.badlogic.gdx.utils.Disposable, Resizeable
| Modifier and Type | Method and Description |
|---|---|
void |
addEffects(String existingSourceId,
PostProcessorEffect... effects)
Returns an registered render pipe
|
void |
moveAfter(String existingSourceId,
String existingTargetId)
Moves an existing layer right above another existing layer
|
void |
moveBefore(String existingSourceId,
String existingTargetId)
Moves an existing layer right beneath another existing layer
|
void |
put(String id,
RenderLayer layer,
PostProcessorEffect... effects)
Registers a new
RenderLayer to this pipeline |
void |
putAfter(String existingSourceId,
String id,
RenderLayer layer,
PostProcessorEffect... effects)
Registers a new
RenderLayer to this pipeline, placed above the existing layer |
void |
putBefore(String existingSourceId,
String id,
RenderLayer layer,
PostProcessorEffect... effects)
Registers a new
RenderLayer to this pipeline, placed beneath the existing layer |
void |
remove(String existingSourceId)
Removes an existing render layer from this pipeline.
|
void |
render(float delta) |
void |
setEffects(String existingSourceId,
PostProcessorEffect... effects)
Override all effects on a given layer
|
resizevoid put(String id, RenderLayer layer, PostProcessorEffect... effects)
RenderLayer to this pipelineid - a unique id of the layerlayer - the layer objecteffects - additional shader effects to apply to the given layervoid putAfter(String existingSourceId, String id, RenderLayer layer, PostProcessorEffect... effects)
RenderLayer to this pipeline, placed above the existing layerexistingSourceId - an existing layerid - a unique id of the layerlayer - the layer objecteffects - additional shader effects to apply to the given layervoid putBefore(String existingSourceId, String id, RenderLayer layer, PostProcessorEffect... effects)
RenderLayer to this pipeline, placed beneath the existing layerexistingSourceId - an existing layerid - a unique id of the layerlayer - the layer objecteffects - additional shader effects to apply to the given layervoid remove(String existingSourceId)
existingSourceId - an existing layer idvoid setEffects(String existingSourceId, PostProcessorEffect... effects)
existingSourceId - an existing layereffects - additional shader effects to apply to the given layervoid moveBefore(String existingSourceId, String existingTargetId)
existingSourceId - an existing layerexistingTargetId - an existing layervoid moveAfter(String existingSourceId, String existingTargetId)
existingSourceId - an existing layerexistingTargetId - an existing layervoid addEffects(String existingSourceId, PostProcessorEffect... effects)
existingSourceId - an existing layervoid render(float delta)
Copyright © 2020. All rights reserved.