Class GlTextureInfo
- java.lang.Object
-
- com.google.android.exoplayer2.util.GlTextureInfo
-
@Deprecated public final class GlTextureInfo extends Object
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.AGlTextureInfo
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, orC.INDEX_UNSET
if not specified.int
getHeight()
Deprecated.The height of the texture, in pixels, orC.LENGTH_UNSET
if not specified.int
getRboId()
Deprecated.Identifier of a renderbuffer object attached with the framebuffer, orC.INDEX_UNSET
if not specified.int
getTexId()
Deprecated.The OpenGL texture identifier, orC.INDEX_UNSET
if not specified.int
getWidth()
Deprecated.The width of the texture, in pixels, orC.LENGTH_UNSET
if not specified.void
release()
Deprecated.
-
-
-
Field Detail
-
UNSET
public static final GlTextureInfo UNSET
Deprecated.AGlTextureInfo
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, orC.INDEX_UNSET
if not specified.fboId
- Identifier of a framebuffer object associated with the texture, orC.INDEX_UNSET
if not specified.rboId
- Identifier of a renderbuffer object associated with the texture, orC.INDEX_UNSET
if not specified.width
- The width of the texture, in pixels, orC.LENGTH_UNSET
if not specified.height
- The height of the texture, in pixels, orC.LENGTH_UNSET
if not specified.
-
-
Method Detail
-
getTexId
public int getTexId()
Deprecated.The OpenGL texture identifier, orC.INDEX_UNSET
if not specified.
-
getFboId
public int getFboId()
Deprecated.Identifier of a framebuffer object associated with the texture, orC.INDEX_UNSET
if not specified.
-
getRboId
public int getRboId()
Deprecated.Identifier of a renderbuffer object attached with the framebuffer, orC.INDEX_UNSET
if not specified.
-
getWidth
public int getWidth()
Deprecated.The width of the texture, in pixels, orC.LENGTH_UNSET
if not specified.
-
getHeight
public int getHeight()
Deprecated.The height of the texture, in pixels, orC.LENGTH_UNSET
if not specified.
-
release
public void release() throws GlUtil.GlException
Deprecated.- Throws:
GlUtil.GlException
-
-