Revision 7b8086eb
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/library/DistortedObjectTree.java | ||
---|---|---|
26 | 26 |
|
27 | 27 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
28 | 28 |
/** |
29 |
* Class which represents a Node in a Tree of DistortedObjects.
|
|
29 |
* Class which represents a Node in a Tree of (Texture,EffectQueue,Grid) set.
|
|
30 | 30 |
* |
31 |
* Having organized a set of DistortedObjects into a Tree, we can then render any Node to any Framebuffer. |
|
32 |
* That recursively renders the Object held in the Node and all its children, along with whatever effects |
|
33 |
* each one of them has. |
|
31 |
* Having organized such sets into a Tree, we can then render any Node to any Framebuffer. |
|
32 |
* That recursively renders the set held in the Node and all its children. |
|
34 | 33 |
*/ |
35 | 34 |
public class DistortedObjectTree |
36 | 35 |
{ |
... | ... | |
64 | 63 |
|
65 | 64 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
66 | 65 |
|
67 |
static void release()
|
|
66 |
static synchronized void onDestroy()
|
|
68 | 67 |
{ |
69 | 68 |
mNextNodeID = 0; |
70 | 69 |
mMapNodeID.clear(); |
Also available in: Unified diff
Minor.