Revision 02ab6f9d
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/library/DistortedOutputSurface.java | ||
---|---|---|
240 | 240 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
241 | 241 |
/** |
242 | 242 |
* Bind this Surface as a Framebuffer we can render to. |
243 |
* |
|
244 |
* @param time Present time, in milliseconds. The point: looking at this param the library can figure |
|
245 |
* out if this is the first time during present frame that this FBO is being set as output. |
|
246 |
* If so, the library, in addition to binding the Surface for output, also clears the |
|
247 |
* Surface's color and depth attachments. |
|
243 | 248 |
*/ |
244 | 249 |
public void setAsOutput(long time) |
245 | 250 |
{ |
src/main/java/org/distorted/library/DistortedScreen.java | ||
---|---|---|
27 | 27 |
*/ |
28 | 28 |
public class DistortedScreen extends DistortedOutputSurface |
29 | 29 |
{ |
30 |
DistortedFramebuffer mBuffer = null; |
|
30 |
private DistortedFramebuffer mBuffer = null;
|
|
31 | 31 |
|
32 | 32 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
33 | 33 |
// here we don't manage underlying OpenGL assets ourselves |
Also available in: Unified diff
Minor.