|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.jinx.video.DisplayList net.jinx.video.VisibleDisplayList
public class VisibleDisplayList
VisibleDisplayList provides the means to use OpenGL display lists to
accelerate rendering of Visible objects.
API Stability: Stable.
Constructor Summary | |
---|---|
VisibleDisplayList(Visible drawable)
Constructs a VisibleDisplayList to wrap the given Visible. |
Method Summary | |
---|---|
void |
deinit(Context opt)
Causes this DisplayList to delete it's OpenGL display list. |
Visible |
getVisible()
Provides the Visible object that this DisplayList is wrapping. |
void |
init(Context opt)
Causes this DisplayList to construct an OpenGL display list. |
protected void |
subDraw(Context opt)
This method draws the Visible object that is wrapped by this object. |
Methods inherited from class net.jinx.video.DisplayList |
---|
dispose, draw, isListed, list, refresh |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VisibleDisplayList(Visible drawable)
drawable
- the Visible to wrap.Method Detail |
---|
public void init(Context opt)
init
in interface Visible
init
in class DisplayList
opt
- describes the rendering options that are being used.public void deinit(Context opt)
deinit
in interface Visible
deinit
in class DisplayList
opt
- describes the rendering options that are being used.protected void subDraw(Context opt)
subDraw
in class DisplayList
opt
- the rendering options object.public Visible getVisible()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |