Revision e0b6c593
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/library/DistortedFramebuffer.java | ||
---|---|---|
31 | 31 |
* <p> |
32 | 32 |
* User is able to create either Framebuffers from objects already constructed outside |
33 | 33 |
* of the library (the first constructor; primary use case: the screen) or an offscreen |
34 |
* FBOs (used by the DistortedTree, but also can be used by external users of the library)
|
|
34 |
* FBOs.
|
|
35 | 35 |
* <p> |
36 |
* Also, keep all objects created in a static LinkedList. The point: we need to be able to mark
|
|
36 |
* Keep all objects created in a static LinkedList. The point: we need to be able to mark
|
|
37 | 37 |
* Framebuffers for deletion, and delete all marked objects later at a convenient time (that's |
38 | 38 |
* because we can only delete from a thread that holds the OpenGL context so here we provide a |
39 | 39 |
* framework where one is able to mark for deletion at any time and actual deletion takes place |
Also available in: Unified diff
Javadoc