Project

General

Profile

« Previous | Next » 

Revision 9e771d06

Added by Leszek Koltunski almost 6 years ago

Progress with thr Glow effect - moving glow app looks ok now.

View differences:

src/main/java/org/distorted/library/effect/PostprocessEffectBlur.java
125 125
    }
126 126

  
127 127
///////////////////////////////////////////////////////////////////////////////////////////////////
128
/**
129
 * Only for use by the library itself.
130
 *
131
 * @y.exclude
132
 */
133
  public int getQuality()
134
   {
135
   return mQualityLevel;
136
   }
128
  /**
129
   * Only for use by the library itself.
130
   *
131
   * @y.exclude
132
   */
133
  public boolean getRender()
134
    {
135
    return false;
136
    }
137 137

  
138 138
///////////////////////////////////////////////////////////////////////////////////////////////////
139 139
/**
......
141 141
 *
142 142
 * @y.exclude
143 143
 */
144
  public int apply(float[] uniforms, int index, DistortedOutputSurface[] buffers)
144
  public int apply(float[] uniforms, int index, DistortedFramebuffer buffer)
145 145
    {
146 146
    if( mProgram1 ==null)
147 147
      {
......
158 158

  
159 159
    DistortedRenderState.useStencilMark();
160 160

  
161
    DistortedFramebuffer buffer = (DistortedFramebuffer)buffers[mQualityLevel];
162

  
163 161
    buffer.setAsOutput();
164 162

  
165 163
    float w= buffer.getWidth();

Also available in: Unified diff