Revision 9e771d06
Added by Leszek Koltunski almost 6 years ago
src/main/java/org/distorted/library/effect/PostprocessEffect.java | ||
---|---|---|
19 | 19 |
|
20 | 20 |
package org.distorted.library.effect; |
21 | 21 |
|
22 |
import org.distorted.library.main.DistortedFramebuffer; |
|
22 | 23 |
import org.distorted.library.main.DistortedMaster; |
23 |
import org.distorted.library.main.DistortedOutputSurface; |
|
24 | 24 |
import org.distorted.library.program.DistortedProgram; |
25 | 25 |
|
26 | 26 |
import java.nio.ByteBuffer; |
... | ... | |
139 | 139 |
* |
140 | 140 |
* @y.exclude |
141 | 141 |
*/ |
142 |
public abstract int apply(float[] uniforms, int index, DistortedOutputSurface[] buffers);
|
|
142 |
public abstract int apply(float[] uniforms, int index, DistortedFramebuffer buffer);
|
|
143 | 143 |
|
144 | 144 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
145 |
/** |
|
146 |
* Only for use by the library itself. |
|
147 |
* |
|
148 |
* @y.exclude |
|
149 |
*/ |
|
150 |
public abstract int getQuality(); |
|
151 |
|
|
152 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
153 |
/** |
|
154 |
* Only for use by the library itself. |
|
155 |
* |
|
156 |
* @y.exclude |
|
157 |
*/ |
|
158 |
public int getInternalQuality() |
|
159 |
{ |
|
160 |
return mQualityLevel; |
|
161 |
} |
|
145 |
/** |
|
146 |
* Only for use by the library itself. |
|
147 |
* |
|
148 |
* @y.exclude |
|
149 |
*/ |
|
150 |
public abstract boolean getRender(); |
|
162 | 151 |
|
163 | 152 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
164 | 153 |
/** |
... | ... | |
166 | 155 |
* |
167 | 156 |
* @y.exclude |
168 | 157 |
*/ |
169 |
public int getWriteColor()
|
|
158 |
public int getQuality()
|
|
170 | 159 |
{ |
171 |
return 0;
|
|
160 |
return mQualityLevel;
|
|
172 | 161 |
} |
173 | 162 |
|
174 | 163 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Progress with thr Glow effect - moving glow app looks ok now.