Package arc.fx.filters
Class HdrFilter
java.lang.Object
arc.fx.FxFilter
arc.fx.filters.HdrFilter
- All Implemented Interfaces:
Disposable
HDR filter.
-
Field Summary
Fields inherited from class arc.fx.FxFilter
autobind, disabled, inputTexture, outputBuffer, shader, time, u_texture0, u_texture1, u_texture2, u_texture3
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Concrete objects shall be responsible to recreate or rebind its own resources whenever its needed, usually when the OpenGL context is lost.Methods inherited from class arc.fx.FxFilter
compileShader, compileShader, dispose, isDisabled, onBeforeRender, rebind, render, render, resize, setDisabled, setInput, setInput, setOutput, update
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface arc.util.Disposable
isDisposed
-
Field Details
-
exposure
public float exposure -
gamma
public float gamma
-
-
Constructor Details
-
HdrFilter
public HdrFilter() -
HdrFilter
public HdrFilter(float exposure, float gamma)
-
-
Method Details
-
setParams
public void setParams()Description copied from class:FxFilter
Concrete objects shall be responsible to recreate or rebind its own resources whenever its needed, usually when the OpenGL context is lost. Eg., framebuffer textures should be updated and shader parameters should be reuploaded/rebound.
-