docs/doc/reference/com/google/android/exoplayer2/util/GlTextureInfo.html
Package com.google.android.exoplayer2.util
[@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.
Fields | Modifier and Type | Field | Description |
| --- | --- | --- |
| static GlTextureInfo | UNSET |
Deprecated.
A GlTextureInfo instance with all fields unset.
|
Constructors | Constructor | Description |
| --- | --- |
| GlTextureInfo(int texId, int fboId, int rboId, int width, int height) |
Deprecated.
Creates a new instance. |
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.
|
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public static final[GlTextureInfo](GlTextureInfo.html "class in com.google.android.exoplayer2.util")UNSET
Deprecated.
A GlTextureInfo instance with all fields unset.
-
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.
-
public int getTexId()
Deprecated.
The OpenGL texture identifier, or C.INDEX_UNSET if not specified.
-
public int getFboId()
Deprecated.
Identifier of a framebuffer object associated with the texture, or C.INDEX_UNSET if not specified.
-
public int getRboId()
Deprecated.
Identifier of a renderbuffer object attached with the framebuffer, or C.INDEX_UNSET if not specified.
-
public int getWidth()
Deprecated.
The width of the texture, in pixels, or C.LENGTH_UNSET if not specified.
-
public int getHeight()
Deprecated.
The height of the texture, in pixels, or C.LENGTH_UNSET if not specified.
-
public void release()
throws[GlUtil.GlException](GlUtil.GlException.html "class in com.google.android.exoplayer2.util")
Deprecated.
Throws:GlUtil.GlException