summaryrefslogtreecommitdiff
path: root/java/tests/Refocus/src/com/android/rs/test/LayerInfo.java
blob: 0cfa1da4f988312f1c1decb6129e5b681de62a6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.android.rs.refocus;

/**
 * An object that defines a blending layer for refocus rendering, which groups
 * several consecutive depth levels.
 */
public class LayerInfo {
  public int frontDepth;
  public int backDepth;

  LayerInfo(int depth) {
    frontDepth = depth;
    backDepth = depth;
  }

  LayerInfo(int front, int back) {
    frontDepth = front;
    backDepth = back;
  }
}