Class RadialDistortionFilter
java.lang.Object
gaiasky.render.postprocess.filters.Filter<RadialDistortionFilter>
gaiasky.render.postprocess.filters.RadialDistortionFilter
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class gaiasky.render.postprocess.filters.Filter
Filter.Parameter -
Field Summary
Fields inherited from class gaiasky.render.postprocess.filters.Filter
inputBuffer, inputTexture, outputBuffer, program, quad, u_texture0, u_texture1, u_texture2, u_texture3 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatfloatgetZoom()protected voidThis method will get called just before a rendering operation occurs.voidrebind()voidsetDistortion(float distortion) voidsetZoom(float zoom) Methods inherited from class gaiasky.render.postprocess.filters.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
-
Constructor Details
-
RadialDistortionFilter
public RadialDistortionFilter()
-
-
Method Details
-
getDistortion
public float getDistortion() -
setDistortion
public void setDistortion(float distortion) -
getZoom
public float getZoom() -
setZoom
public void setZoom(float zoom) -
onBeforeRender
protected void onBeforeRender()Description copied from class:FilterThis method will get called just before a rendering operation occurs.- Specified by:
onBeforeRenderin classFilter<RadialDistortionFilter>
-
rebind
public void rebind()- Specified by:
rebindin classFilter<RadialDistortionFilter>
-