Revision da9b3f07
Added by Leszek Koltunski over 8 years ago
| src/main/java/org/distorted/library/effect/PostprocessEffectBlur.java | ||
|---|---|---|
| 27 | 27 |
|
| 28 | 28 |
public class PostprocessEffectBlur extends PostprocessEffect |
| 29 | 29 |
{
|
| 30 |
private static final String NAME = "BLUR"; |
|
| 31 |
private static final float[] UNITIES = new float[] {0.0f};
|
|
| 32 |
private static final int DIMENSION = 1; |
|
| 30 |
private static final float[] UNITIES = new float[] {0.0f};
|
|
| 31 |
private static final int DIMENSION = 1; |
|
| 33 | 32 |
private static final boolean SUPPORTS_CENTER = false; |
| 34 | 33 |
private static final boolean SUPPORTS_REGION = false; |
| 35 | 34 |
|
| ... | ... | |
| 42 | 41 |
*/ |
| 43 | 42 |
public PostprocessEffectBlur(Data1D radius) |
| 44 | 43 |
{
|
| 45 |
super(BLUR,UNITIES,DIMENSION,SUPPORTS_CENTER,SUPPORTS_REGION,NAME);
|
|
| 44 |
super(EffectName.BLUR,DIMENSION,SUPPORTS_CENTER,SUPPORTS_REGION,UNITIES);
|
|
| 46 | 45 |
|
| 47 | 46 |
if( radius instanceof Dynamic1D) |
| 48 | 47 |
{
|
Also available in: Unified diff
Progress with support for Effect classes.
The library compiles now!