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 GlTextureInfoUNSETDeprecated.AGlTextureInfoinstance 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 intgetFboId()Deprecated.Identifier of a framebuffer object associated with the texture, orC.INDEX_UNSETif not specified.intgetHeight()Deprecated.The height of the texture, in pixels, orC.LENGTH_UNSETif not specified.intgetRboId()Deprecated.Identifier of a renderbuffer object attached with the framebuffer, orC.INDEX_UNSETif not specified.intgetTexId()Deprecated.The OpenGL texture identifier, orC.INDEX_UNSETif not specified.intgetWidth()Deprecated.The width of the texture, in pixels, orC.LENGTH_UNSETif not specified.voidrelease()Deprecated.
-
-
-
Field Detail
-
UNSET
public static final GlTextureInfo UNSET
Deprecated.AGlTextureInfoinstance 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_UNSETif not specified.fboId- Identifier of a framebuffer object associated with the texture, orC.INDEX_UNSETif not specified.rboId- Identifier of a renderbuffer object associated with the texture, orC.INDEX_UNSETif not specified.width- The width of the texture, in pixels, orC.LENGTH_UNSETif not specified.height- The height of the texture, in pixels, orC.LENGTH_UNSETif not specified.
-
-
Method Detail
-
getTexId
public int getTexId()
Deprecated.The OpenGL texture identifier, orC.INDEX_UNSETif not specified.
-
getFboId
public int getFboId()
Deprecated.Identifier of a framebuffer object associated with the texture, orC.INDEX_UNSETif not specified.
-
getRboId
public int getRboId()
Deprecated.Identifier of a renderbuffer object attached with the framebuffer, orC.INDEX_UNSETif not specified.
-
getWidth
public int getWidth()
Deprecated.The width of the texture, in pixels, orC.LENGTH_UNSETif not specified.
-
getHeight
public int getHeight()
Deprecated.The height of the texture, in pixels, orC.LENGTH_UNSETif not specified.
-
release
public void release() throws GlUtil.GlExceptionDeprecated.- Throws:
GlUtil.GlException
-
-