yage.resource.lazyresource
Authors:
Eric Poggel
License:
LGPL v3
- class LazyResourceManager
;
- Deprecated:
Alternatively, the renderer itself should be lazy and only load
recources during rendering. This class manages a queue of
operations that can only be performed in the rendering thread. This
should eventually be replaced with a glContext that manages openGL
state and can allow synchronized OpenGL calls from any thread.
- static void processQueue
();
- Process the queues.
- static void addToQueue
(Closure c);
- Add an operation to perform in the rendering thread just
before rendering.
|