Back to Exoplayer

GlTextureInfo (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/util/GlTextureInfo.html

latest4.9 KB
Original Source

Package com.google.android.exoplayer2.util

Class GlTextureInfo


[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classGlTextureInfoextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")

Deprecated. com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.

Contains information describing an OpenGL texture.

Field Summary

Fields | Modifier and Type | Field | Description | | --- | --- | --- | | static GlTextureInfo | UNSET | Deprecated.

A GlTextureInfo instance with all fields unset. |

Constructor Summary

Constructors | Constructor | Description | | --- | --- | | GlTextureInfo​(int texId, int fboId, int rboId, int width, int height) | Deprecated.

Creates a new instance. |

Method Summary

All Methods Instance Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description | | --- | --- | --- | | int | getFboId() | Deprecated.

Identifier of a framebuffer object associated with the texture, or C.INDEX_UNSET if not specified. | | int | getHeight() | Deprecated.

The height of the texture, in pixels, or C.LENGTH_UNSET if not specified. | | int | getRboId() | Deprecated.

Identifier of a renderbuffer object attached with the framebuffer, or C.INDEX_UNSET if not specified. | | int | getTexId() | Deprecated.

The OpenGL texture identifier, or C.INDEX_UNSET if not specified. | | int | getWidth() | Deprecated.

The width of the texture, in pixels, or C.LENGTH_UNSET if not specified. | | void | release() | Deprecated. |

- 

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

- 

UNSET

public static final[GlTextureInfo](GlTextureInfo.html "class in com.google.android.exoplayer2.util")UNSET

Deprecated.

A GlTextureInfo instance with all fields unset.

Constructor Detail

- 

GlTextureInfo

public GlTextureInfo​(int texId,
                     int fboId,
                     int rboId,
                     int width,
                     int height)

Deprecated.

Creates a new instance. Parameters:texId - The OpenGL texture identifier, or C.INDEX_UNSET if not specified.fboId - Identifier of a framebuffer object associated with the texture, or C.INDEX_UNSET if not specified.rboId - Identifier of a renderbuffer object associated with the texture, or C.INDEX_UNSET if not specified.width - The width of the texture, in pixels, or C.LENGTH_UNSET if not specified.height - The height of the texture, in pixels, or C.LENGTH_UNSET if not specified.

Method Detail

- 

getTexId

public int getTexId()

Deprecated.

The OpenGL texture identifier, or C.INDEX_UNSET if not specified.

- 

getFboId

public int getFboId()

Deprecated.

Identifier of a framebuffer object associated with the texture, or C.INDEX_UNSET if not specified.

- 

getRboId

public int getRboId()

Deprecated.

Identifier of a renderbuffer object attached with the framebuffer, or C.INDEX_UNSET if not specified.

- 

getWidth

public int getWidth()

Deprecated.

The width of the texture, in pixels, or C.LENGTH_UNSET if not specified.

- 

getHeight

public int getHeight()

Deprecated.

The height of the texture, in pixels, or C.LENGTH_UNSET if not specified.

- 

release

public void release()
             throws[GlUtil.GlException](GlUtil.GlException.html "class in com.google.android.exoplayer2.util")

Deprecated. Throws:GlUtil.GlException