Class IPostProcessor.PostProcessBean
java.lang.Object
gaiasky.render.api.IPostProcessor.PostProcessBean
- Enclosing interface:
IPostProcessor
-
Field Summary
FieldsModifier and TypeFieldDescriptionMap<Class<? extends PostProcessorEffect>, Map<String, PostProcessorEffect>> protected static Logger.Log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(PostProcessorEffect effect) Adds a new effect to the post processor with the default keyvoidadd(String key, PostProcessorEffect effect) Sets the given singleton effect to the post processor, with the given key.voidadd(String key, PostProcessorEffect effect, Class<? extends PostProcessorEffect> after) Sets the given singleton effect to the post processor, after an effect of the given type.booleancapture()booleancom.badlogic.gdx.graphics.glutils.FrameBufferbooleanbooleanbooleanbooleanvoiddispose()voiddispose(boolean cleanAllBuffers) get(Class<? extends PostProcessorEffect> clazz) Gets the effect of the given class with the default keyget(String key, Class<? extends PostProcessorEffect> clazz) Gets the effect of the given type with the given key.getAll(Class<? extends PostProcessorEffect> clazz) Gets all effects of the given typebooleanhas(String key, Class<? extends PostProcessorEffect> clazz) Checks whether the effect of the given type with the given key exists.voidremove(Class<? extends PostProcessorEffect> clazz) Removes all effects from the given classvoidremove(String key, Class<? extends PostProcessorEffect> clazz) Removes the keyed effect from the given classvoidrender()voidrender(com.badlogic.gdx.graphics.glutils.FrameBuffer destination)
-
Field Details
-
logger
-
pp
-
effects
-
-
Constructor Details
-
PostProcessBean
public PostProcessBean()
-
-
Method Details
-
add
Adds a new effect to the post processor with the default key- Parameters:
effect- The effect
-
get
Gets the effect of the given class with the default key- Parameters:
clazz- The class
-
add
Sets the given singleton effect to the post processor, with the given key.- Parameters:
key- The key.effect- The effect.
-
add
Sets the given singleton effect to the post processor, after an effect of the given type. This replaces any previous effect of the same type.- Parameters:
key- The key.effect- The effect.after- Type of the effect after which this must be added.
-
get
Gets the effect of the given type with the given key.- Parameters:
key- The key.clazz- The class.- Returns:
- The effect.
-
has
Checks whether the effect of the given type with the given key exists.- Parameters:
key- The key.clazz- The class.- Returns:
- True if it exists.
-
getAll
Gets all effects of the given type- Parameters:
clazz- The class- Returns:
- The map of effects
-
remove
Removes all effects from the given class- Parameters:
clazz- The class
-
remove
Removes the keyed effect from the given class- Parameters:
key- The keyclazz- The class
-
capture
public boolean capture() -
captureCubemap
public boolean captureCubemap() -
captureVR
public boolean captureVR() -
captureNoClear
public boolean captureNoClear() -
captureNoClearCubemap
public boolean captureNoClearCubemap() -
captureNoClearReprojection
public boolean captureNoClearReprojection() -
render
public void render() -
captureEnd
public com.badlogic.gdx.graphics.glutils.FrameBuffer captureEnd() -
render
public void render(com.badlogic.gdx.graphics.glutils.FrameBuffer destination) -
dispose
public void dispose(boolean cleanAllBuffers) -
dispose
public void dispose()
-