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/PostprocessEffect.java
36 36
public abstract class PostprocessEffect extends Effect implements InternalMaster.Slave
37 37
  {
38 38
  private static final int MIPMAP = 0;
39
/**
40
 * 5: 5 per-effect interpolated values.
41
 */
42
  public static final int NUM_UNIFORMS = 6;
39
  /**
40
   * 5 per-effect interpolated values.
41
   */
42
  public static final int NUM_FLOAT_UNIFORMS = 6;
43
  /**
44
   * 1: the name of the effect
45
   */
46
  public static final int NUM_INT_UNIFORMS = 1;
43 47

  
44 48
  static final int POS_DATA_SIZE= 2;
45 49
  static final int TEX_DATA_SIZE= 2;

Also available in: Unified diff