Project

General

Profile

« Previous | Next » 

Revision 96e3b88a

Added by Leszek Koltunski over 3 years ago

Introducing UBO to Effect Queues: step 1.

View differences:

src/main/java/org/distorted/library/effect/FragmentEffect.java
27 27
 */
28 28
public abstract class FragmentEffect extends Effect
29 29
  {
30
/**
31
 * 12: 4-per effect interpolated values, 3 dimensional Center (+padding), 3 dimensional Region (+padding).
32
 */
33
  public static final int NUM_UNIFORMS = 12;
30
  /**
31
   * 12: 4-per effect interpolated values, 3 dimensional Center (+padding), 3 dimensional Region (+padding).
32
   */
33
  public static final int NUM_FLOAT_UNIFORMS = 12;
34
  /**
35
   * 1: the name
36
   */
37
  public static final int NUM_INT_UNIFORMS = 1;
38

  
34 39
  static final int VALUES_OFFSET = 0;
35 40
  static final int CENTER_OFFSET = 5;
36 41
  static final int REGION_OFFSET = 8;

Also available in: Unified diff