Revision d9c55dbe
Added by Leszek Koltunski almost 6 years ago
src/main/java/org/distorted/examples/effects3d/Effects3DEffect.java | ||
---|---|---|
96 | 96 |
private View mButton, mEffect, mCenter, mRegion; |
97 | 97 |
private long mId; |
98 | 98 |
|
99 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
100 |
// requires knowledge about effect nature |
|
101 |
|
|
102 |
static void enableAllEffects() |
|
103 |
{ |
|
104 |
VertexEffectDeform.enable(); |
|
105 |
VertexEffectDistort.enable(); |
|
106 |
VertexEffectPinch.enable(); |
|
107 |
VertexEffectSink.enable(); |
|
108 |
VertexEffectSwirl.enable(); |
|
109 |
VertexEffectWave.enable(); |
|
110 |
|
|
111 |
FragmentEffectAlpha.enable(); |
|
112 |
FragmentEffectBrightness.enable(); |
|
113 |
FragmentEffectChroma.enable(); |
|
114 |
FragmentEffectContrast.enable(); |
|
115 |
FragmentEffectSaturation.enable(); |
|
116 |
|
|
117 |
PostprocessEffectBlur.enable(); |
|
118 |
PostprocessEffectGlow.enable(); |
|
119 |
} |
|
120 |
|
|
99 | 121 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
100 | 122 |
// requires knowledge about effect nature |
101 | 123 |
|
Also available in: Unified diff
Progress with Effects3D app.