GlTextureFrame


@ExperimentalApi
class GlTextureFrame


A Frame implementation that wraps a GlTextureInfo.

Summary

Nested types

A builder for GlTextureFrame instances.

Public functions

Unit

Releases the frame and its underlying resources.

Public properties

Format!

The format of the frame.

GlTextureInfo!

The GlTextureInfo.

Frame.Metadata!
Long

The presentation time of the frame, in microseconds.

Consumer<GlTextureInfo!>!

The Consumer to call to release the texture.

Executor!

The Executor on which the releaseTextureCallback is called.

Long

The release time of the frame, in nanoseconds.

Public functions

release

fun release(): Unit

Releases the frame and its underlying resources.

Public properties

format

val formatFormat!

The format of the frame.

glTextureInfo

val glTextureInfoGlTextureInfo!

The GlTextureInfo.

metadata

val metadataFrame.Metadata!

presentationTimeUs

val presentationTimeUsLong

The presentation time of the frame, in microseconds.

releaseTextureCallback

val releaseTextureCallbackConsumer<GlTextureInfo!>!

The Consumer to call to release the texture.

releaseTextureExecutor

val releaseTextureExecutorExecutor!

The Executor on which the releaseTextureCallback is called.

releaseTimeNs

val releaseTimeNsLong

The release time of the frame, in nanoseconds.