# GlTextureFrameConsumer.GlTextureFrameProcessor

Artifact: [androidx.media3:media3-effect](https://developer.android.com/jetpack/androidx/releases/media3) [View Source](https://cs.android.com/search?q=file:androidx/media3/effect/GlTextureFrameConsumer.java+class:androidx.media3.effect.GlTextureFrameConsumer.GlTextureFrameProcessor)

*** ** * ** ***


```
public interface GlTextureFrameConsumer.GlTextureFrameProcessor extends GlTextureFrameConsumer
```

<br />

*** ** * ** ***

Allowing outputting `https://developer.android.com/reference/androidx/media3/effect/GlTextureFrame` from the `https://developer.android.com/reference/androidx/media3/effect/GlTextureFrameConsumer`.

## Summary

| ### Public methods |
|---|---|
| `abstract void` | `https://developer.android.com/reference/androidx/media3/effect/GlTextureFrameConsumer.GlTextureFrameProcessor#setOutput(androidx.media3.effect.GlTextureFrameConsumer)(https://developer.android.com/reference/androidx/media3/effect/GlTextureFrameConsumer downstream)` Sets the `https://developer.android.com/reference/androidx/media3/effect/GlTextureFrameConsumer` to which this processor outputs. |

### Inherited methods

From [java.lang.AutoCloseable](https://developer.android.com/reference/java/lang/AutoCloseable.html) `abstract void` `https://developer.android.com/reference/java/lang/AutoCloseable.html#close()()` From [androidx.media3.effect.GlTextureFrameConsumer](https://developer.android.com/reference/androidx/media3/effect/GlTextureFrameConsumer) `abstract void` `https://developer.android.com/reference/androidx/media3/effect/GlTextureFrameConsumer#close()()` `default boolean` `https://developer.android.com/reference/androidx/media3/effect/GlTextureFrameConsumer#isOutputFormatSupported(androidx.media3.common.Format)(https://developer.android.com/reference/androidx/media3/common/Format format)`

Returns whether this consumer supports the provided `https://developer.android.com/reference/androidx/media3/common/Format`.
`abstract boolean` `https://developer.android.com/reference/androidx/media3/effect/GlTextureFrameConsumer#queue(androidx.media3.effect.GlTextureFrame,java.util.concurrent.Executor,java.lang.Runnable)(
https://developer.android.com/reference/androidx/media3/effect/GlTextureFrame frame,
https://developer.android.com/reference/java/util/concurrent/Executor.html listenerExecutor,
https://developer.android.com/reference/java/lang/Runnable.html wakeupListener
)`

Attempts to queue a frame for processing.
`abstract void` `https://developer.android.com/reference/androidx/media3/effect/GlTextureFrameConsumer#signalEndOfStream()()`

Notifies the current stream has ended.

## Public methods

### setOutput

```
abstract void setOutput(GlTextureFrameConsumer downstream)
```

Sets the `https://developer.android.com/reference/androidx/media3/effect/GlTextureFrameConsumer` to which this processor outputs.