Package arc.fx.filters
Class VignettingFilter
java.lang.Object
arc.fx.FxFilter
arc.fx.filters.VignettingFilter
- All Implemented Interfaces:
Disposable
-
Field Summary
Modifier and TypeFieldDescriptionfloat
float
float
boolean
int
int
float
float
float
float
float
boolean
float
float
float
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 TypeMethodDescriptionprotected void
This method gets called just before rendering.void
Sets the texture with which gradient mapping will be performed.void
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, 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
-
vignetteX
public float vignetteX -
vignetteY
public float vignetteY -
centerX
public float centerX -
centerY
public float centerY -
intensity
public float intensity -
saturation
public float saturation -
saturationMul
public float saturationMul -
saturationEnabled
public boolean saturationEnabled -
lutEnabled
public boolean lutEnabled -
lutIntensity
public float lutIntensity -
lutIndex1
public int lutIndex1 -
lutIndex2
public int lutIndex2 -
lutStep
public float lutStep -
lutStepOffset
public float lutStepOffset -
lutIndexOffset
public float lutIndexOffset
-
-
Constructor Details
-
VignettingFilter
public VignettingFilter(boolean controlSaturation)
-
-
Method Details
-
setLut
Sets the texture with which gradient mapping will be performed. -
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. -
onBeforeRender
protected void onBeforeRender()Description copied from class:FxFilter
This method gets called just before rendering.- Overrides:
onBeforeRender
in classFxFilter
-