Class GeometryWarpFilter
- java.lang.Object
-
- gaiasky.util.gdx.contrib.postprocess.filters.Filter<GeometryWarpFilter>
-
- gaiasky.util.gdx.contrib.postprocess.filters.GeometryWarpFilter
-
public final class GeometryWarpFilter extends Filter<GeometryWarpFilter>
This filter implements the geometry warp and blending defined in the MPCDI format.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GeometryWarpFilter.Param
-
Nested classes/interfaces inherited from class gaiasky.util.gdx.contrib.postprocess.filters.Filter
Filter.Parameter
-
-
Field Summary
-
Fields inherited from class gaiasky.util.gdx.contrib.postprocess.filters.Filter
inputBuffer, inputTexture, outputBuffer, program, quad, u_texture0, u_texture1, u_texture2, u_texture3
-
-
Constructor Summary
Constructors Constructor Description GeometryWarpFilter(PFMData warpData)
GeometryWarpFilter(PFMData warpData, com.badlogic.gdx.graphics.Texture blend)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
onBeforeRender()
This method will get called just before a rendering operation occurs.protected void
realRender()
void
rebind()
FIXME add commentvoid
setBlendTexture(com.badlogic.gdx.graphics.Texture tex)
-
Methods inherited from class gaiasky.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, updateProgram
-
-
-
-
Method Detail
-
setBlendTexture
public void setBlendTexture(com.badlogic.gdx.graphics.Texture tex)
-
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<GeometryWarpFilter>
-
rebind
public void rebind()
Description copied from class:Filter
FIXME add comment- Specified by:
rebind
in classFilter<GeometryWarpFilter>
-
realRender
protected void realRender()
- Overrides:
realRender
in classFilter<GeometryWarpFilter>
-
-