Class RadialDistortion
java.lang.Object
gaiasky.util.gdx.contrib.postprocess.filters.Filter<RadialDistortion>
gaiasky.util.gdx.contrib.postprocess.filters.RadialDistortion
-
Nested Class Summary
Nested ClassesNested 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 -
Method Summary
Modifier and TypeMethodDescriptionfloat
float
getZoom()
protected void
This method will get called just before a rendering operation occurs.void
rebind()
void
setDistortion
(float distortion) void
setZoom
(float zoom) Methods inherited from class gaiasky.util.gdx.contrib.postprocess.filters.Filter
dispose, endParams, realRender, render, setInput, setInput, setOutput, setParam, setParam, setParam, setParam, setParam, setParam, setParams, setParams, setParams, setParams, setParams, setParams, setParamsv, setParamv, updateProgram
-
Constructor Details
-
RadialDistortion
public RadialDistortion()
-
-
Method Details
-
setDistortion
public void setDistortion(float distortion) -
setZoom
public void setZoom(float zoom) -
getDistortion
public float getDistortion() -
getZoom
public float getZoom() -
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<RadialDistortion>
-
rebind
public void rebind()- Specified by:
rebind
in classFilter<RadialDistortion>
-