Revision d04a4886
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/examples/effectqueue/EffectQueueRenderer.java | ||
---|---|---|
29 | 29 |
import android.opengl.GLES20; |
30 | 30 |
import android.opengl.GLSurfaceView; |
31 | 31 |
|
32 |
import org.distorted.library.DistortedEffects; |
|
32 | 33 |
import org.distorted.library.DistortedFramebuffer; |
33 | 34 |
import org.distorted.library.GridFlat; |
34 | 35 |
import org.distorted.library.DistortedTexture; |
35 |
import org.distorted.library.DistortedEffectQueues; |
|
36 | 36 |
import org.distorted.library.Distorted; |
37 | 37 |
import org.distorted.library.EffectNames; |
38 | 38 |
import org.distorted.library.EffectTypes; |
... | ... | |
54 | 54 |
|
55 | 55 |
private DistortedTexture mTexture; |
56 | 56 |
private GridFlat mGrid; |
57 |
private DistortedEffectQueues mEffects;
|
|
57 |
private DistortedEffects mEffects; |
|
58 | 58 |
private DistortedFramebuffer mScreen; |
59 | 59 |
|
60 | 60 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
... | ... | |
73 | 73 |
|
74 | 74 |
mGrid = new GridFlat(80,80*texHeight/texWidth); |
75 | 75 |
mTexture = new DistortedTexture(texWidth,texHeight); |
76 |
mEffects = new DistortedEffectQueues();
|
|
76 |
mEffects = new DistortedEffects(); |
|
77 | 77 |
|
78 | 78 |
mEffects.registerForMessages(this); |
79 | 79 |
|
... | ... | |
82 | 82 |
|
83 | 83 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
84 | 84 |
|
85 |
DistortedEffectQueues getQueues()
|
|
85 |
DistortedEffects getEffects()
|
|
86 | 86 |
{ |
87 | 87 |
return mEffects; |
88 | 88 |
} |
Also available in: Unified diff
Change of names.