Filter.Pass
defaultPass, 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 filter subclasses.
|
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, write
public GammaCorrectionFilter()
public GammaCorrectionFilter(float gamma)
protected Material getMaterial()
Filter
getMaterial
in class Filter
protected void initFilter(AssetManager manager, RenderManager renderManager, ViewPort vp, int w, int h)
Filter
initFilter
in class Filter
manager
- 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
- the desired exponent (>0, default=2.2)