JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.util.texture.TextureSequence.TexSeqEventListener< T extends TextureSequence > Interface Template Reference

Event listener to notify users of updates regarding the TextureSequence. More...

Inheritance diagram for com.jogamp.opengl.util.texture.TextureSequence.TexSeqEventListener< T extends TextureSequence >:
Collaboration diagram for com.jogamp.opengl.util.texture.TextureSequence.TexSeqEventListener< T extends TextureSequence >:

Public Member Functions

void newFrameAvailable (T ts, TextureFrame newFrame, long when)
 Signaling listeners that a new TextureFrame is available. More...
 

Detailed Description

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:

Definition at line 155 of file TextureSequence.java.

Member Function Documentation

◆ newFrameAvailable()

void com.jogamp.opengl.util.texture.TextureSequence.TexSeqEventListener< T extends TextureSequence >.newFrameAvailable ( ts,
TextureFrame  newFrame,
long  when 
)

Signaling listeners that a new TextureFrame is available.

User shall utilize TextureSequence#getNextTexture(GL) to dequeue it to maintain a consistent queue.

Parameters
tsthe event source
newFramethe newly enqueued frame
whensystem time in msec.

The documentation for this interface was generated from the following file: