Class TextureInfo
- java.lang.Object
-
- com.google.android.exoplayer2.effect.TextureInfo
-
public final class TextureInfo extends Object
Contains information describing an OpenGL texture.
-
-
Field Summary
Fields Modifier and Type Field Description intfboIdIdentifier of a framebuffer object associated with the texture.intheightThe height of the texture, in pixels.inttexIdThe OpenGL texture identifier.static TextureInfoUNSETATextureInfoinstance with all fields unset.intwidthThe width of the texture, in pixels.
-
Constructor Summary
Constructors Constructor Description TextureInfo(int texId, int fboId, int width, int height)Creates a new instance.
-
-
-
Field Detail
-
UNSET
public static final TextureInfo UNSET
ATextureInfoinstance with all fields unset.
-
texId
public final int texId
The OpenGL texture identifier.
-
fboId
public final int fboId
Identifier of a framebuffer object associated with the texture.
-
width
public final int width
The width of the texture, in pixels.
-
height
public final int height
The height of the texture, in pixels.
-
-
Constructor Detail
-
TextureInfo
public TextureInfo(int texId, int fboId, int width, int height)Creates a new instance.- Parameters:
texId- The OpenGL texture identifier.fboId- Identifier of a framebuffer object associated with the texture.width- The width of the texture, in pixels.height- The height of the texture, in pixels.
-
-