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/VertexEffect.java
29 29
 */
30 30
public abstract class VertexEffect extends Effect
31 31
  {
32
/**
33
 * 12: 5 per-effect interpolated values, 3-dimensional center, 4-dimensional Region
34
 */
35
  public static final int NUM_UNIFORMS = 12;
32
  /**
33
   * 12: 5 per-effect interpolated values, 3-dimensional center, 4-dimensional Region
34
   */
35
  public static final int NUM_FLOAT_UNIFORMS = 12;
36
  /**
37
   * 3: name, AND association, equ Association
38
   */
39
  public static final int NUM_INT_UNIFORMS = 3;
40

  
36 41
  static final int VALUES_OFFSET = 0;
37 42
  static final int CENTER_OFFSET = 5;
38 43
  static final int REGION_OFFSET = 8;

Also available in: Unified diff