Class PseudoLensFlareFilter
java.lang.Object
gaiasky.render.postprocess.filters.Filter<PseudoLensFlareFilter>
gaiasky.render.postprocess.filters.PseudoLensFlareFilter
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class Filter
Filter.Parameter -
Field Summary
Fields inherited from class Filter
defines, fragmentShaderName, inputBuffer, inputTexture, outputBuffer, program, quad, u_texture0, u_texture1, u_texture2, u_texture3, vertexShaderName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintfloatprotected voidThis method will get called just before a rendering operation occurs.voidrebind()voidsetGhosts(int ghosts) voidsetHaloWidth(float haloWidth) voidsetLensColorTexture(com.badlogic.gdx.graphics.Texture tex) voidsetViewportSize(float width, float height) Methods inherited from class Filter
dispose, endParams, realRender, render, setInput, setInput, setOutput, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParams, setParams, setParams, setParams, setParams, setParams, setParams, setParams, setParamsv, setParamv, updateProgram, updateProgram
-
Constructor Details
-
PseudoLensFlareFilter
public PseudoLensFlareFilter(int width, int height)
-
-
Method Details
-
setViewportSize
public void setViewportSize(float width, float height) -
getGhosts
public int getGhosts() -
setGhosts
public void setGhosts(int ghosts) -
getHaloWidth
public float getHaloWidth() -
setHaloWidth
public void setHaloWidth(float haloWidth) -
setLensColorTexture
public void setLensColorTexture(com.badlogic.gdx.graphics.Texture tex) -
rebind
public void rebind()- Specified by:
rebindin classFilter<PseudoLensFlareFilter>
-
onBeforeRender
protected void onBeforeRender()Description copied from class:FilterThis method will get called just before a rendering operation occurs.- Specified by:
onBeforeRenderin classFilter<PseudoLensFlareFilter>
-