Class MosaicFilter
java.lang.Object
gaiasky.render.postprocess.filters.Filter<MosaicFilter>
gaiasky.render.postprocess.filters.MosaicFilter
- 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 TypeMethodDescriptionprotected voidThis method will get called just before a rendering operation occurs.voidrebind()voidsetTiles(com.badlogic.gdx.graphics.glutils.FrameBuffer topLeft, com.badlogic.gdx.graphics.glutils.FrameBuffer bottomLeft, com.badlogic.gdx.graphics.glutils.FrameBuffer topRight, com.badlogic.gdx.graphics.glutils.FrameBuffer bottomRight) voidsetViewportSize(float width, float height) 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
-
MosaicFilter
public MosaicFilter(float w, float h)
-
-
Method Details
-
setTiles
public void setTiles(com.badlogic.gdx.graphics.glutils.FrameBuffer topLeft, com.badlogic.gdx.graphics.glutils.FrameBuffer bottomLeft, com.badlogic.gdx.graphics.glutils.FrameBuffer topRight, com.badlogic.gdx.graphics.glutils.FrameBuffer bottomRight) -
setViewportSize
public void setViewportSize(float width, float height) -
rebind
public void rebind()- Specified by:
rebindin classFilter<MosaicFilter>
-
onBeforeRender
protected void onBeforeRender()Description copied from class:FilterThis method will get called just before a rendering operation occurs.- Specified by:
onBeforeRenderin classFilter<MosaicFilter>
-