|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface TextureSequence.TexSeqEventListener<T extends TextureSequence>
Event listener to notify users of updates regarding the TextureSequence.
Implementations sending events down to all listeners, while not necessarily making the user's OpenGL context current.
Events may be sent from a 3rd-party thread, possibly holding another, maybe shared, OpenGL context current.
Hence a user shall not issue any OpenGL, time consuming
or TextureSequence operations directly.
Instead, the user shall:
TextureSequence commands on another thread, orGLRunnable objects via GLAutoDrawable.invoke(boolean, GLRunnable), orGLEventListener implementation.
| Method Summary | |
|---|---|
void |
newFrameAvailable(T ts,
TextureSequence.TextureFrame newFrame,
long when)
Signaling listeners that a new TextureSequence.TextureFrame is available. |
| Method Detail |
|---|
void newFrameAvailable(T ts,
TextureSequence.TextureFrame newFrame,
long when)
TextureSequence.TextureFrame is available.
User shall utilize TextureSequence.getNextTexture(GL) to dequeue it to maintain
a consistent queue.
ts - the event sourcenewFrame - the newly enqueued framewhen - system time in msec.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||