|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LazyLoadable
A LazyLoadable is a class that is able to be constructed and teared down asynchronously on demand. This interface is typically implemented by Nodes passed to a LODSwitch.
| Method Summary | |
|---|---|
void |
cleanUp()
This method will be called by the engine on a dedicated thread (not the rendering thread) to allow the background destruction of a Node. |
boolean |
isSetUp()
Returns whether this instance is already set up, so it can be used right away. |
void |
prepare()
This method will be called by the engine on a dedicated thread (not the rendering thread) to allow the background construction of a Node. |
void |
setUp()
This method will be called by the engine on the rendering thread to to allow thread safe attachment of the constructed content to the scenegraph. |
void |
tearDown()
This method will be called by the engine on the rendering thread to to allow thread safe detachment of the content from the scenegraph. |
| Method Detail |
|---|
boolean isSetUp()
void prepare()
void setUp()
void tearDown()
void cleanUp()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||