Class Zoom
java.lang.Object
gaiasky.util.gdx.contrib.postprocess.filters.Filter<Zoom>
gaiasky.util.gdx.contrib.postprocess.filters.Zoom
public final class Zoom extends Filter<Zoom>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Zoom.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 Zoom()
-
Method Summary
Modifier and Type Method Description float
getOriginX()
float
getOriginY()
float
getZoom()
protected void
onBeforeRender()
This method will get called just before a rendering operation occurs.void
rebind()
FIXME add commentvoid
setOrigin(float x, float y)
Specify the zoom origin, in normalized screen coordinates.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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Zoom
public Zoom()
-
-
Method Details
-
setOrigin
public void setOrigin(float x, float y)Specify the zoom origin, in normalized screen coordinates. -
setZoom
public void setZoom(float zoom) -
getZoom
public float getZoom() -
getOriginX
public float getOriginX() -
getOriginY
public float getOriginY() -
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<Zoom>
-