Class XBRZUpscale
java.lang.Object
gaiasky.util.gdx.contrib.postprocess.filters.Filter<XBRZUpscale>
gaiasky.util.gdx.contrib.postprocess.filters.XBRZUpscale
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
-
Nested Class Summary
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
ConstructorDescriptionXBRZUpscale
(com.badlogic.gdx.math.Vector2 inputSize, com.badlogic.gdx.math.Vector2 outputSize) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
This method will get called just before a rendering operation occurs.void
rebind()
void
setInputSize
(float width, float height) void
setOutputSize
(float width, float height) 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
-
XBRZUpscale
public XBRZUpscale() -
XBRZUpscale
public XBRZUpscale(com.badlogic.gdx.math.Vector2 inputSize, com.badlogic.gdx.math.Vector2 outputSize)
-
-
Method Details
-
setInputSize
public void setInputSize(float width, float height) -
setOutputSize
public void setOutputSize(float width, float height) -
rebind
public void rebind()- Specified by:
rebind
in classFilter<XBRZUpscale>
-
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<XBRZUpscale>
-