Class Glow
- java.lang.Object
-
- gaia.cu9.ari.gaiaorbit.util.gdx.contrib.postprocess.filters.Filter<Glow>
-
- gaia.cu9.ari.gaiaorbit.util.gdx.contrib.postprocess.filters.Glow
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Glow.Param
-
Nested classes/interfaces inherited from class gaia.cu9.ari.gaiaorbit.util.gdx.contrib.postprocess.filters.Filter
Filter.Parameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
N
-
Fields inherited from class gaia.cu9.ari.gaiaorbit.util.gdx.contrib.postprocess.filters.Filter
inputBuffer, inputTexture, outputBuffer, program, quad, u_texture0, u_texture1, u_texture2, u_texture3
-
-
Constructor Summary
Constructors Constructor Description Glow(int width, int height)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.badlogic.gdx.graphics.Texture
getLightGlowTexture()
com.badlogic.gdx.graphics.Texture
getPrePassTexture()
protected void
onBeforeRender()
This method will get called just before a rendering operation occurs.void
rebind()
FIXME add commentvoid
setLightColors(float[] colors)
void
setLightGlowTexture(com.badlogic.gdx.graphics.Texture tex)
void
setLightPositions(int nLights, float[] vec)
void
setLightViewAngles(float[] ang)
void
setNSamples(int nSamples)
void
setOrientation(float o)
void
setPrePassTexture(com.badlogic.gdx.graphics.Texture tex)
void
setSpiralScale(float scl)
void
setTextureScale(float scl)
void
setViewportSize(float width, float height)
-
Methods inherited from class gaia.cu9.ari.gaiaorbit.util.gdx.contrib.postprocess.filters.Filter
dispose, endParams, render, setInput, setInput, setOutput, setParam, setParam, setParam, setParam, setParam, setParam, setParams, setParams, setParams, setParams, setParams, setParams, setParamsv, setParamv
-
-
-
-
Method Detail
-
setViewportSize
public void setViewportSize(float width, float height)
-
setLightPositions
public void setLightPositions(int nLights, float[] vec)
-
setLightViewAngles
public void setLightViewAngles(float[] ang)
-
setLightColors
public void setLightColors(float[] colors)
-
setNSamples
public void setNSamples(int nSamples)
-
setTextureScale
public void setTextureScale(float scl)
-
setSpiralScale
public void setSpiralScale(float scl)
-
setLightGlowTexture
public void setLightGlowTexture(com.badlogic.gdx.graphics.Texture tex)
-
getLightGlowTexture
public com.badlogic.gdx.graphics.Texture getLightGlowTexture()
-
setPrePassTexture
public void setPrePassTexture(com.badlogic.gdx.graphics.Texture tex)
-
getPrePassTexture
public com.badlogic.gdx.graphics.Texture getPrePassTexture()
-
setOrientation
public void setOrientation(float o)
-
rebind
public void rebind()
Description copied from class:Filter
FIXME add comment
-
onBeforeRender
protected void onBeforeRender()
Description copied from class:Filter
This method will get called just before a rendering operation occurs.- Specified by:
onBeforeRender
in classFilter<Glow>
-
-