Class Blur
java.lang.Object
gaiasky.util.gdx.contrib.postprocess.filters.MultipassFilter
gaiasky.util.gdx.contrib.postprocess.filters.Blur
public final class Blur extends MultipassFilter
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Blur.BlurType
-
Constructor Summary
Constructors Constructor Description Blur(int width, int height)
-
Method Summary
Modifier and Type Method Description void
dispose()
float
getAmount()
int
getPasses()
Blur.BlurType
getType()
void
rebind()
void
render(PingPongBuffer buffer)
void
setAmount(float amount)
void
setPasses(int passes)
void
setType(Blur.BlurType type)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Blur
public Blur(int width, int height)
-
-
Method Details
-
dispose
public void dispose() -
setPasses
public void setPasses(int passes) -
setType
-
setAmount
public void setAmount(float amount) -
getPasses
public int getPasses() -
getType
-
getAmount
public float getAmount() -
render
- Specified by:
render
in classMultipassFilter
-
rebind
public void rebind()- Specified by:
rebind
in classMultipassFilter
-