Class 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.
    • 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.