Package com.igrium.videolib.vlc
Class OpenGLVideoSurface
java.lang.Object
uk.co.caprica.vlcj.player.embedded.videosurface.VideoSurface
com.igrium.videolib.vlc.OpenGLVideoSurface
public class OpenGLVideoSurface
extends uk.co.caprica.vlcj.player.embedded.videosurface.VideoSurface
A VLCJ video surface that draws to an OpenGL texture
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final uk.co.caprica.vlcj.player.embedded.videosurface.CallbackVideoSurface
protected final BufferBackedTexture
Fields inherited from class uk.co.caprica.vlcj.player.embedded.videosurface.VideoSurface
videoSurfaceAdapter
-
Constructor Summary
ConstructorsConstructorDescriptionOpenGLVideoSurface
(uk.co.caprica.vlcj.player.embedded.videosurface.VideoSurfaceAdapter videoSurfaceAdapter) -
Method Summary
Modifier and TypeMethodDescriptionvoid
attach
(uk.co.caprica.vlcj.player.base.MediaPlayer mediaPlayer) Get the texture this surface uses.
-
Field Details
-
baseVideoSurface
protected final uk.co.caprica.vlcj.player.embedded.videosurface.CallbackVideoSurface baseVideoSurface -
texture
-
-
Constructor Details
-
OpenGLVideoSurface
public OpenGLVideoSurface(uk.co.caprica.vlcj.player.embedded.videosurface.VideoSurfaceAdapter videoSurfaceAdapter) -
OpenGLVideoSurface
public OpenGLVideoSurface()
-
-
Method Details
-
attach
public void attach(uk.co.caprica.vlcj.player.base.MediaPlayer mediaPlayer) - Specified by:
attach
in classuk.co.caprica.vlcj.player.embedded.videosurface.VideoSurface
-
getTexture
Get the texture this surface uses.- Returns:
- MC Texture
-