Project

General

Profile

« Previous | Next » 

Revision a09ada4c

Added by Leszek Koltunski over 7 years ago

Preparation for change of the render API.

View differences:

src/main/java/org/distorted/library/Distorted.java
68 68
   */
69 69
  public static final int CLONE_POSTPROCESS= 0x10;
70 70
  /**
71
   * When creating an instance of a DistortedTree from another instance, clone the children Nodes.
71
   * When creating an instance of a DistortedNode from another instance, clone the children Nodes.
72 72
   * <p>
73 73
   * This is mainly useful for creating many similar sub-trees and rendering then at different places
74 74
   * on the screen with (optionally) different Effects.
......
121 121
    DistortedEffects.createProgram(resources);
122 122
    EffectQueuePostprocess.createProgram(resources);
123 123

  
124
    DistortedTree.reset();
124
    DistortedNode.reset();
125 125
    EffectMessageSender.startSending();
126 126

  
127 127
    mInitialized = true;
......
135 135
  public static void onDestroy()
136 136
    {
137 137
    DistortedSurface.onDestroy();
138
    DistortedTree.onDestroy();
138
    DistortedNode.onDestroy();
139 139
    EffectQueue.onDestroy();
140 140
    DistortedEffects.onDestroy();
141 141
    EffectMessageSender.stopSending();

Also available in: Unified diff