Project

General

Profile

« Previous | Next » 

Revision d218d64e

Added by Leszek Koltunski about 7 years ago

Major: change of API.

Split DFramebuffer into Framebuffer and Screen; introduce the 'DistortedInputSurface' and 'DistortedOutputSurface' interfaces.

View differences:

src/main/java/org/distorted/examples/multiblur/MultiblurRenderer.java
28 28
import org.distorted.library.Distorted;
29 29
import org.distorted.library.DistortedEffects;
30 30
import org.distorted.library.DistortedFramebuffer;
31
import org.distorted.library.DistortedScreen;
31 32
import org.distorted.library.DistortedTexture;
32 33
import org.distorted.library.EffectTypes;
33 34
import org.distorted.library.MeshCubes;
......
67 68
    private DistortedEffects[] mEffects;
68 69
    private Static3D[] mMoveVector;
69 70
    private MeshObject mMesh;
70
    private DistortedFramebuffer mScreen;
71
    private DistortedScreen mScreen;
71 72
    private DynamicQuat mQuatInt1, mQuatInt2;
72 73

  
73 74
    Static4D mQuat1, mQuat2;
......
101 102
      mQuatInt1.add(mQuat1);
102 103
      mQuatInt2.add(mQuat2);
103 104

  
104
      mScreen = new DistortedFramebuffer(0);
105
      mScreen = new DistortedScreen();
105 106
      }
106 107

  
107 108
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff