GlTextureProducer.Listener
Artifact: androidx.media3:media3-effect
public interface GlTextureProducer.Listener
Listener for texture output.
Summary
Public methods |
|
|---|---|
default void |
flush()Flushes the texture output listener. |
abstract void |
onTextureRendered(Called when a texture has been rendered to. |
Public methods
onTextureRendered
abstract void onTextureRendered(
GlTextureProducer textureProducer,
GlTextureInfo outputTexture,
long presentationTimeUs,
long syncObject
)
Called when a texture has been rendered to.
| Parameters | |
|---|---|
GlTextureProducer textureProducer |
The |
GlTextureInfo outputTexture |
The texture that has been rendered. |
long presentationTimeUs |
The presentation time of the texture. |
long syncObject |
A GL sync object that has been inserted into the GL command stream after the last write of the |