Package gaiasky.render
Class MainPostProcessor
java.lang.Object
gaiasky.render.MainPostProcessor
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
,IObserver
,IPostProcessor
Main post-processor of Gaia Sky, aggregating all post-processing effects for all render targets.
-
Nested Class Summary
Nested classes/interfaces inherited from interface gaiasky.render.api.IPostProcessor
IPostProcessor.PostProcessBean, IPostProcessor.RenderType
-
Field Summary
Fields inherited from interface gaiasky.render.api.IPostProcessor
DEFAULT_KEY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
void
doneLoading
(com.badlogic.gdx.assets.AssetManager manager) void
initialize
(com.badlogic.gdx.assets.AssetManager manager) void
boolean
isEnabled
(Class<? extends PostProcessorEffect> clazz) boolean
boolean
void
Event notification call.void
resize
(int width, int height, int targetWidth, int targetHeight) void
resizeImmediate
(int width, int height, int targetWidth, int targetHeight)
-
Constructor Details
-
MainPostProcessor
-
-
Method Details
-
initialize
public void initialize(com.badlogic.gdx.assets.AssetManager manager) - Specified by:
initialize
in interfaceIPostProcessor
-
doneLoading
public void doneLoading(com.badlogic.gdx.assets.AssetManager manager) - Specified by:
doneLoading
in interfaceIPostProcessor
-
initializeOffScreenPostProcessors
public void initializeOffScreenPostProcessors() -
getPostProcessBean
- Specified by:
getPostProcessBean
in interfaceIPostProcessor
-
resize
public void resize(int width, int height, int targetWidth, int targetHeight) - Specified by:
resize
in interfaceIPostProcessor
-
resizeImmediate
public void resizeImmediate(int width, int height, int targetWidth, int targetHeight) - Specified by:
resizeImmediate
in interfaceIPostProcessor
-
dispose
public void dispose()- Specified by:
dispose
in interfacecom.badlogic.gdx.utils.Disposable
-
notify
Description copied from interface:IObserver
Event notification call. -
isEnabled
- Specified by:
isEnabled
in interfaceIPostProcessor
-
isLightScatterEnabled
public boolean isLightScatterEnabled()- Specified by:
isLightScatterEnabled
in interfaceIPostProcessor
-
isLensFlareEnabled
public boolean isLensFlareEnabled()- Specified by:
isLensFlareEnabled
in interfaceIPostProcessor
-