|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.scenegraph.Texture2DCanvas.DrawCallback2D
public abstract static class Texture2DCanvas.DrawCallback2D
| Constructor Summary | |
|---|---|
Texture2DCanvas.DrawCallback2D()
|
|
| Method Summary | |
|---|---|
abstract void |
drawTexture(Texture2DCanvas texCanvas,
int texWidth,
int texHeight)
This callback is invoked, when the Texture needs to be redrawn. |
boolean |
needsRedraw(long nanoTime)
Checks, if this callback needs to be redrawn. |
void |
setDirty(boolean dirty)
Marks this draw callback dirty. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Texture2DCanvas.DrawCallback2D()
| Method Detail |
|---|
public void setDirty(boolean dirty)
drawTexture(Texture2DCanvas, int, int) method.
dirty - public boolean needsRedraw(long nanoTime)
nanoTime -
public abstract void drawTexture(Texture2DCanvas texCanvas,
int texWidth,
int texHeight)
texCanvas - the Texture2DCanvas to draw on.texWidth - the (original) width of the texturetexHeight - the (original) height of the texture
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||