# 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)

*** ** * ** ***


```
interface GlTextureFrameConsumer.GlTextureFrameProcessor : GlTextureFrameConsumer
```

<br />

*** ** * ** ***

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

## Summary

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/effect/GlTextureFrameConsumer.GlTextureFrameProcessor#setOutput(androidx.media3.effect.GlTextureFrameConsumer)(downstream: https://developer.android.com/reference/kotlin/androidx/media3/effect/GlTextureFrameConsumer!)` Sets the `https://developer.android.com/reference/kotlin/androidx/media3/effect/GlTextureFrameConsumer` to which this processor outputs. |

### Inherited functions

From [java.lang.AutoCloseable](https://developer.android.com/reference/java/lang/AutoCloseable.html) `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/java/lang/AutoCloseable.html#close()()` From [androidx.media3.effect.GlTextureFrameConsumer](https://developer.android.com/reference/kotlin/androidx/media3/effect/GlTextureFrameConsumer) `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/kotlin/androidx/media3/effect/GlTextureFrameConsumer#close()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/kotlin/androidx/media3/effect/GlTextureFrameConsumer#isOutputFormatSupported(androidx.media3.common.Format)(format: https://developer.android.com/reference/kotlin/androidx/media3/common/Format!)`

Returns whether this consumer supports the provided `https://developer.android.com/reference/kotlin/androidx/media3/common/Format`.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/kotlin/androidx/media3/effect/GlTextureFrameConsumer#queue(androidx.media3.effect.GlTextureFrame,java.util.concurrent.Executor,java.lang.Runnable)(
frame: https://developer.android.com/reference/kotlin/androidx/media3/effect/GlTextureFrame!,
listenerExecutor: https://developer.android.com/reference/java/util/concurrent/Executor.html!,
wakeupListener: https://developer.android.com/reference/java/lang/Runnable.html!
)`

Attempts to queue a frame for processing.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/kotlin/androidx/media3/effect/GlTextureFrameConsumer#signalEndOfStream()()`

Notifies the current stream has ended.

## Public functions

### setOutput

```
fun setOutput(downstream: GlTextureFrameConsumer!): Unit
```

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