Filter.PassdefaultPass, enabled, material, postRenderPasses, processor| Constructor and Description |
|---|
GammaCorrectionFilter()
Deprecated.
|
GammaCorrectionFilter(float gamma)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
float |
getGamma()
Deprecated.
|
protected Material |
getMaterial()
Deprecated.
Must return the material used for this filter.
|
protected void |
initFilter(AssetManager manager,
RenderManager renderManager,
ViewPort vp,
int w,
int h)
Deprecated.
Initialization of sub classes filters
This method is called once when the filter is added to the FilterPostProcessor
It should contain Material initializations and extra passes initialization
|
void |
setGamma(float gamma)
Deprecated.
set to 0.0 to disable gamma correction
|
cleanup, cleanUpFilter, getDefaultPassDepthFormat, getDefaultPassTextureFormat, getName, getPostRenderPasses, getRenderedTexture, getRenderFrameBuffer, init, isEnabled, isRequiresBilinear, isRequiresDepthTexture, isRequiresSceneTexture, postFilter, postFrame, postQueue, preFrame, read, setDepthTexture, setEnabled, setName, setProcessor, setRenderedTexture, setRenderFrameBuffer, writepublic GammaCorrectionFilter()
public GammaCorrectionFilter(float gamma)
protected Material getMaterial()
FiltergetMaterial in class Filterprotected void initFilter(AssetManager manager, RenderManager renderManager, ViewPort vp, int w, int h)
FilterinitFilter in class Filtermanager - the assetManagerrenderManager - the renderManagervp - the viewPort where this filter is renderedw - the width of the filterh - the height of the filterpublic float getGamma()
public final void setGamma(float gamma)
gamma -