Project

General

Profile

« Previous | Next » 

Revision 78ff6ea9

Added by Leszek Koltunski over 3 years ago

Convert the Integer part (i.e. effect names and the two associations) of vertex and fragment shaders to Uniform Buffer Objects.
Next: convert the last part, i.e. the float effect parameters.

View differences:

src/main/java/org/distorted/library/mesh/UniformBlockCenter.java
31 31
  {
32 32
  private static final int BLOCK_SIZE = 16*MAX_EFFECT_COMPONENTS;
33 33

  
34
  private InternalBuffer mUBO;
35
  private float[] mCenter;
34
  private final InternalBuffer mUBO;
35
  private final float[] mCenter;
36 36

  
37 37
///////////////////////////////////////////////////////////////////////////////////////////////////
38 38

  

Also available in: Unified diff