Project

General

Profile

« Previous | Next » 

Revision 27f42cd6

Added by Leszek Koltunski about 7 years ago

Actually implement proper postprocessing Buckets.

View differences:

src/main/java/org/distorted/library/DistortedNode.java
212 212
    return 0;
213 213
    }
214 214

  
215
///////////////////////////////////////////////////////////////////////////////////////////////////
216

  
217
  EffectQueuePostprocess getPostprocess()
218
    {
219
    return mPostprocess==null ? null : mPostprocess.getPostprocess();
220
    }
221

  
222 215
///////////////////////////////////////////////////////////////////////////////////////////////////
223 216
// return the total number of render calls issued
224 217

  
......
535 528
    // TODO: rearrange all the siblings so that all are sorted by the DistortedEffectsPostprocess' ID.
536 529
    }
537 530

  
531
///////////////////////////////////////////////////////////////////////////////////////////////////
532
/**
533
 * Returns the DistortedEffectsPostprocess object that's in the Node.
534
 *
535
 * @return The DistortedEffectsPostprocess contained in the Node.
536
 */
537
  public DistortedEffectsPostprocess getEffectsPostprocess()
538
    {
539
    return mPostprocess;
540
    }
541

  
538 542
///////////////////////////////////////////////////////////////////////////////////////////////////
539 543
/**
540 544
 * Returns the DistortedEffects object that's in the Node.

Also available in: Unified diff