GlTextureFrameConsumer.GlTextureFrameProcessor


interface GlTextureFrameConsumer.GlTextureFrameProcessor : GlTextureFrameConsumer


Allowing outputting GlTextureFrame from the GlTextureFrameConsumer.

Summary

Public functions

Unit

Sets the GlTextureFrameConsumer to which this processor outputs.

Inherited functions

From java.lang.AutoCloseable
From androidx.media3.effect.GlTextureFrameConsumer
Unit
Boolean
queue(
    frame: GlTextureFrame!,
    listenerExecutor: Executor!,
    wakeupListener: Runnable!
)

Attempts to queue a frame for processing.

Unit

Notifies the current stream has ended.

Public functions

setOutput

fun setOutput(downstream: GlTextureFrameConsumer!): Unit

Sets the GlTextureFrameConsumer to which this processor outputs.