Class DepthBufferFilter
java.lang.Object
gaiasky.util.gdx.contrib.postprocess.filters.Filter<DepthBufferFilter>
gaiasky.util.gdx.contrib.postprocess.filters.DepthBufferFilter
public final class DepthBufferFilter extends Filter<DepthBufferFilter>
Debug filter, renders the contents of the depth texture attachment
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDepthBufferFilter.ParamNested 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 DepthBufferFilter() -
Method Summary
Modifier and Type Method Description protected voidonBeforeRender()This method will get called just before a rendering operation occurs.voidrebind()FIXME add commentvoidsetDepthTexture(com.badlogic.gdx.graphics.Texture tex)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, updateProgramMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DepthBufferFilter
public DepthBufferFilter()
-
-
Method Details
-
setDepthTexture
public void setDepthTexture(com.badlogic.gdx.graphics.Texture tex) -
rebind
public void rebind()Description copied from class:FilterFIXME add comment- Specified by:
rebindin classFilter<DepthBufferFilter>
-
onBeforeRender
protected void onBeforeRender()Description copied from class:FilterThis method will get called just before a rendering operation occurs.- Specified by:
onBeforeRenderin classFilter<DepthBufferFilter>
-