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 Details

    • baseVideoSurface

      protected final uk.co.caprica.vlcj.player.embedded.videosurface.CallbackVideoSurface baseVideoSurface
    • texture

      protected final BufferBackedTexture 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 class uk.co.caprica.vlcj.player.embedded.videosurface.VideoSurface
    • getTexture

      public BufferBackedTexture getTexture()
      Get the texture this surface uses.
      Returns:
      MC Texture