Revision 86782a25
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/library/DistortedOutputSurface.java | ||
---|---|---|
103 | 103 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
104 | 104 |
// PUBLIC API |
105 | 105 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
106 |
|
|
106 |
/** |
|
107 |
* Draws all the attached children to this OutputSurface. |
|
108 |
* <p> |
|
109 |
* Must be called from a thread holding OpenGL Context. |
|
110 |
* |
|
111 |
* @param time Current time, in milliseconds. This will be passed to all the Effects stored in the children Nodes. |
|
112 |
* @return Number of objects rendered. |
|
113 |
*/ |
|
107 | 114 |
public int render(long time) |
108 | 115 |
{ |
109 | 116 |
DistortedAttachDaemon.toDo(); |
... | ... | |
129 | 136 |
} |
130 | 137 |
|
131 | 138 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
132 |
|
|
133 | 139 |
/** |
134 | 140 |
* Draws all the attached children to this OutputSurface. |
135 | 141 |
* <p> |
Also available in: Unified diff
Minor